Document "<bool>" placeholder in API (#4465)

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2018-08-04 21:30:53 +02:00 committed by GitHub
parent f1db699dff
commit 0c54cf489b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ selectors](basics.md#time-series-selectors) like `http_requests_total` or
`<duration>` placeholders refer to Prometheus duration strings of the form
`[0-9]+[smhdwy]`. For example, `5m` refers to a duration of 5 minutes.
`<bool>` placeholders refer to boolean values (strings `true` and `false`).
## Expression queries
Query language expressions may be evaluated at a single instant or over a range