mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-09 08:32:26 -04: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
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue