QuestionQ8

Alerting & Dashboarding

How would you insert text from the instance label into the alert’s description for the following alert?

Question Image

Explanation

Grafana alert-rule annotations support Go templates. The $labels variable contains query labels, so {{ $labels.instance }} evaluates to and inserts the instance label’s value in the description.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!