Alerting: Fix the table markdown docs (#36901)

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
pull/36576/head^2
Ganesh Vernekar 4 years ago committed by GitHub
parent c7c776c642
commit 5806c66825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/sources/alerting/unified-alerting/alerting-rules/create-grafana-managed-rule.md

@ -107,10 +107,10 @@ Labels are key value pairs that categorize or identify an alert. Labels are use
The following template variables are available when expanding annotations and labels. The following template variables are available when expanding annotations and labels.
/ Name / Description / | Name | Description |
/ ------- / --------------- / | ------- | --------------- |
/ $labels / Labels contains the labels from the query or condition. For example, `{{ $labels.instance }}` and `{{ $labels.job }}`. / | $labels | Labels contains the labels from the query or condition. For example, `{{ $labels.instance }}` and `{{ $labels.job }}`. |
/ $values / Values contains the values of all reduce and math expressions that were evaluated for this alert rule. For example, `{{ $values.A }}`, `{{ $values.A.Labels }}` and `{{ $values.A.Value }}` where `A` is the `refID` of the expression. / | $values | Values contains the values of all reduce and math expressions that were evaluated for this alert rule. For example, `{{ $values.A }}`, `{{ $values.A.Labels }}` and `{{ $values.A.Value }}` where `A` is the `refID` of the expression. |
## Preview alerts ## Preview alerts

Loading…
Cancel
Save