Is it possible to trigger a Grafana Notification Policy from a Prometheus alert JUST using Labels.
Scenario…
-Grafana configured with a Notification Policy with a label (team=devops)
-AKS with Prometheus configured with some alerts that have the same label (team=devops)
-The Grafana and AKS/Prom are NOT on the same environments They are on separate AKS/VMs.
I want to connect the Grafana Data source to the AKS Prometheus, and WITHOUT EXTRA CONFIG pickup the alert when fired and trigger the notification policy because the labels match.
I want the Prometheus to be agnostic, and just raise its alerts.
I want the Grafana to agnostic and just listen for any Prometheus alerts and send email.
If a new AKS/Prom (with same alerts and labels) is connected to the Grafana, it just picks up the alert and sends email.
If a new Grafana is deployed (with same policy settings), connecting it to the existing AKS/Prom will be enough to pick up alerts and trigger notification policies.
I have some Grafana alerts working off the Prom data source metrics, triggering the policy, and sending emails. But I want to see if I can get the Prometheus Alerts sending emails within Grafana
I’ve have the Prometheus alerts sending the same labels and some Grafana alerts, but the policies are not being triggered.
Using Grafana 11.1.3
T.I.A.