mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Updated docs
Signed-off-by: Levi Harrison <git@leviharrison.dev>
This commit is contained in:
parent
26274527df
commit
51e4e2a526
|
@ -90,9 +90,9 @@ parameterize templates, and have a few other differences.
|
|||
|
||||
### Alert field templates
|
||||
|
||||
`.Value`, `.Labels`, and `.ExternalLabels` contain the alert value, the alert
|
||||
labels, and the globally configured external labels, respectively. They are
|
||||
also exposed as the `$value`, `$labels`, and `$externalLabels` variables for
|
||||
`.Value`, `.Labels`, `.ExternalLabels`, and `.ExternalURL` contain the alert value, the alert
|
||||
labels, the globally configured external labels, and the external URL (configured with `--web.external-url`) respectively. They are
|
||||
also exposed as the `$value`, `$labels`, `$externalLabels`, and `$externalURL` variables for
|
||||
convenience.
|
||||
|
||||
### Console templates
|
||||
|
|
|
@ -59,6 +59,10 @@ promql_expr_test:
|
|||
# External labels accessible to the alert template.
|
||||
external_labels:
|
||||
[ <labelname>: <string> ... ]
|
||||
|
||||
# External URL accessible to the alert template.
|
||||
# Usually set using --web.external-url.
|
||||
[ external_url: <string> ]
|
||||
```
|
||||
|
||||
### `<series>`
|
||||
|
|
Loading…
Reference in a new issue