Docs: Add docs abooout time range URL query params (#20215)

pull/20227/head
Dominik Prokop 6 years ago committed by Torkel Ödegaard
parent eaba50283e
commit 1c774df823
  1. 7
      docs/sources/reference/timerange.md

@ -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.
**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

Loading…
Cancel
Save