Open a prometheus alert query on grafana explore

On alertmanager config, you can add a link to the prometheus query that caused the alert to fire, e.g.:

- type: button
  text: ':prometheus: See on Prometheus'
  url: '{{ with index .Alerts 0 }}{{ .GeneratorURL }}{{ end }}'

is it possible to have something similar, but to open on Grafana Explore instead?

1 Like