How can I display the number of times an alert has been triggered in Grafana?

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

  • What are you trying to achieve?
    I have set up an alert and now I want to display how many times has it been triggered. I just want to show the number maybe using a single stat panel. I am using MySQL database. I just want to show the number.

  • How are you trying to achieve 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?

Hi @mayurvidhwani7387

Are you using the legacy alerting system or the new Unified Alerting system, which is still behind a feature toggle?

Yes. Now that I checked it, I am using the legacy alerts.