We have integrated alertmanager with pagerduty to generate alerts. In the pagerduty alert, there is a field called "Source:" which links to the prometheus query that triggered the alert.
Something like this: Source: http%3A%2F%2Fprometheus-k8s-0%3A9090%2Fgraph%3Fg0.expr%3D100%20-%20(sum(rate(errors%5B30m%5D)%20or%20on%20()%20vector(0))%20%2F%20sum(rate(errors%5B30m%5D))%20*%20100)%20%3C%2099.9%26g0.tab%3D1 Ideally, we have a link to our grafana UI for someone to view the event query, instead of having to port-forward the prometheus pod. Is it possible to parse the query that is generated in this Source URL, and paste it in another field to link to the grafana explore UI with this query prepopulated? -- 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/393c73ff-c98b-4823-8031-0b7505fc959cn%40googlegroups.com.

