$value
and $labels.LABEL, and the equivalent Go template form such as {{ .Value }} and
{{ .Labels.LABEL }}. Use {{ .CommonLabels.LABEL }} to reference a monitor label,
and {{ .Labels.LABEL }} to reference a label from the alerting metric. Replace
LABEL with the label name.
Labels referenced in a variable must be present in the alerting time series. If a
label is absent, the variable renders as empty in notifications.
Use shorthand syntax to reference label names that contain dots, such as
label.name.
You can also use the humanize template function to format numeric values. For
example, {{ $value | humanize }} renders 1500000 as 1.5M.
For a reference list of alerting variables and templating functions, see the
Alertmanager documentation.
Annotation values support Markdown formatting, including bold text
(**text**), inline code (`code`), named links ([label](url)), and
plain HTTP URLs.
Annotation values can also span multiple lines using the multiline annotation
input. Each paragraph break renders as a new line in the monitor details view.
Add annotations to a monitor
- Web
- Chronoctl
- Terraform
To add annotations to a monitor:
- Create a monitor.
-
In the Annotations section, add a description for your annotation in the
Key field, and text or links in the Value field. For example, you might
add the following key/value pairs as annotations:
With Markdown formatting enabled, annotation values support richer formatting. For example, a
descriptionvalue might look like:

