mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
docs: clarify that lookback_delta query parameter takes either a duration or number of seconds
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
ac12e30f99
commit
24bc6d27ac
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ URL query parameters:
|
|||
- `timeout=<duration>`: Evaluation timeout. Optional. Defaults to and
|
||||
is capped by the value of the `-query.timeout` flag.
|
||||
- `limit=<number>`: Maximum number of returned series. Doesn't affect scalars or strings but truncates the number of series for matrices and vectors. Optional. 0 means disabled.
|
||||
- `lookback_delta=<number>`: Override the the [lookback period](#staleness) just for this query. Optional.
|
||||
- `lookback_delta=<duration | float>`: Override the the [lookback period](#staleness) just for this query in `duration` format or float number of seconds. Optional.
|
||||
- `stats=<string>`: Include query statistics in the response. If set to `all`, includes detailed statistics. Optional.
|
||||
|
||||
The current server time is used if the `time` parameter is omitted.
|
||||
|
|
@ -175,7 +175,7 @@ URL query parameters:
|
|||
- `timeout=<duration>`: Evaluation timeout. Optional. Defaults to and
|
||||
is capped by the value of the `-query.timeout` flag.
|
||||
- `limit=<number>`: Maximum number of returned series. Optional. 0 means disabled.
|
||||
- `lookback_delta=<number>`: Override the the [lookback period](#staleness) just for this query. Optional.
|
||||
- `lookback_delta=<duration | float>`: Override the the [lookback period](#staleness) just for this query in `duration` format or float number of seconds. Optional.
|
||||
- `stats=<string>`: Include query statistics in the response. If set to `all`, includes detailed statistics. Optional.
|
||||
|
||||
You can URL-encode these parameters directly in the request body by using the `POST` method and
|
||||
|
|
|
|||
Loading…
Reference in a new issue