mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
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
|
||||
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…
Reference in New Issue
Block a user