doc: Add documentation about comments in PromQL (#6198)

* Add documentation about comments

Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
pull/6224/head
Tobias Guggenmos 5 years ago committed by Brian Brazil
parent 8cf054849f
commit fbcf41c90b

@ -188,6 +188,12 @@ in detail in the [expression language operators](operators.md) page.
Prometheus supports several functions to operate on data. These are described
in detail in the [expression language functions](functions.md) page.
## Comments
PromQL supports line comments that start with `#`. Example:
# This is a comment
## Gotchas
### Staleness

Loading…
Cancel
Save