How can display how many alerts are been triggered using a single stat panel?

  • What Grafana version and what operating system are you using?
    Latest Grafana version and Windows 10

  • What are you trying to achieve?
    I have created some alerts on my line graph and have used telegram to notify me. This is working perfectly fine. Now I want to display the count of the alerts. I want to display how many alerts have been triggered until now using a single stat panel.

  • How are you trying to achieve it?
    I have no idea how to do it.

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

There is a question that another user has asked the same as me, but he’s using Prometheus and I am using MYSQL database.

this might not work for you and I believe it only interfaces with the API for legacy alerting, but it might be worth exploring: