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

* Add documentation about comments

Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
This commit is contained in:
Tobias Guggenmos 2019-10-25 12:01:59 +02:00 committed by Brian Brazil
parent 8cf054849f
commit fbcf41c90b
1 changed files with 6 additions and 0 deletions

View File

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