Grafana alerts metrics

Hello,

We are migrating our alerting from external alertmanager to grafana alerts. Atm we are at the grafana ver. 8.5.0. So far things are going fine.
Now, we have overview of our systems in one dashboard. Part of it are metrics related to the alerts. Like number of critical, warnings and silences. Critical and warnings are values we are setting in alert’s label named severity.
Getting values from external alertmanager with alertmanager datasource is easy. Now question is how to get it from grafana alerting. I can see metrics mentioned here: Alerting on numeric data | Grafana documentation

In short:

  • How I can see aggregated value of alerts with some label from grafana alerting?
  • How I can see number of silences?

Thanks…

should be able to return active alerts: