Query Grafana itself

Is it possible to collect metrics about Grafana itself?

Is there a way to query all open alerts? Get a count?

sure can. what is your grafana backend? sqlite or mysql or ?

Hello,

yes it is possible. There is 2 community dashboards that you may find useful.

Alerting: Grafana Alert Dashboard | Grafana Labs
Internals: Grafana Internals | Grafana Labs

Thanks, much appreciated.

Just notice the /metrics endpoint has a lot of data.

I have a ServiceMonitor scraping that data into Prometheus.

MySQL but it seems I don’t need to do database introspection because the /metrics endpoint in Grafana offers some decent metrics.

1 Like

That is the recommended route, not to touch the backend You can also push the logs to a logs aggregation endpoint