mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Add docs abooout time range URL query params (#20215)
This commit is contained in:
committed by
Torkel Ödegaard
parent
eaba50283e
commit
1c774df823
@@ -70,3 +70,10 @@ The `Hide time override info` option allows you to hide the override info text t
|
|||||||
upper right of a panel when overridden time range options.
|
upper right of a panel when overridden time range options.
|
||||||
|
|
||||||
**Note:** You can only override the dashboard time with relative time ranges. Absolute time ranges are not available.
|
**Note:** You can only override the dashboard time with relative time ranges. Absolute time ranges are not available.
|
||||||
|
|
||||||
|
## Controlling time range using URL
|
||||||
|
Time range of a dashboard can be controlled by providing following query parameters in dashboard URL:
|
||||||
|
|
||||||
|
- `from` - defines lower limit of the time range, specified in ms epoch
|
||||||
|
- `to` - defines upper limit of the time range, specified in ms epoch
|
||||||
|
- `time` and `time.window` - defines a time range from `time-time.window/2` to `time+time.window/2`. Both params should be specified in ms. For example `?time=1500000000000&time.window=10000` will result in 10s time range from 1499999995000 to 1500000005000
|
||||||
|
|||||||
Reference in New Issue
Block a user