Hi All,

We have configured multiple Prometheus alerts with one single template in 
Alertmanager configuration and every alert is triggered with Runbook and 
Grafana link.
Now the problem is,  All my alerts are referring to different Grafana 
dashboards. Currently whenever we receive any alert, its always showing one 
Grafana dashboard which is not correct. We have hardcoded the Grafana link 
in the template. We want something like below.
So is there a solution to achieve this problem. If yes, where exactly I 
need to make the changes, alertmanager or at alerts?.

Eg:     *ALERT1    >>>   GRAFANA1 DASHBOARD LINK *
*          ALERT2     >>>   GRAFANA2 **DASHBOARD **LINK*

Current sample templating:

{{ define "pagerduty.default.description_runbooklink" }} *Runbook:* 
https://dev.runbook.com/confluence/promalerts {{ end }} {{ define 
"pagerduty.default.description_datacenter" }} *Datacenter:* us-india-1 {{ end 
}} {{ define "pagerduty.default.description_grafanalink" }} *Grafana 
Dashboard:* https://grafana.dev.com/services-dashboard {{ end }}  



Thanks & Regards,
Chaitanya

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/d3c57270-d26f-4cc2-a25c-64e7a9b4b6aen%40googlegroups.com.

Reply via email to