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:
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
|
Prometheus supports several functions to operate on data. These are described
|
||||||
in detail in the [expression language functions](functions.md) page.
|
in detail in the [expression language functions](functions.md) page.
|
||||||
|
|
||||||
|
## Comments
|
||||||
|
|
||||||
|
PromQL supports line comments that start with `#`. Example:
|
||||||
|
|
||||||
|
# This is a comment
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
|
|
||||||
### Staleness
|
### Staleness
|
||||||
|
|
Loading…
Reference in New Issue