jsstuball
jsstuball

Reputation: 4911

How to display Prometheus labels with Grafana alert

I am using Grafana alerts with a Prometheus data source.

Everything works fine but I receive notifications like this:

[Alerting] Disk Usage % $instance
Message: Disk usage warning $instance

(Note my failed attempt to resolve a Prometheus label value in the alert name and message.)

To find out which instance has the memory problem I have to go into Grafana. I'm hoping there is a way to resolve Prometheus labels in Grafana alert notification names/messages. I'm aware I can perform alerting in Prometheus with bells and whistles, but I'd rather configure my alerts using the Grafana's dashboard, which seems adequate apart for this one desirable feature.

Upvotes: 7

Views: 2628

Answers (1)

Vitalii Diravka
Vitalii Diravka

Reputation: 855

Looks like current Grafana version v7.1.5 doesn't support it: https://github.com/grafana/grafana/issues/5848

Upvotes: 1

Related Questions