I use Grafana, Prometheus and .Net core API.
In the API i have one method who randomly generate the number between 0.000 to 0.9999.
And in Grafana i set the query like when the timeline Graph is up to 0.60124 so there are send error in Gmail notifications in every 3 minuets.
So i have one Notification error from the email in 3 minutes because the graph was up to 0.60124.
But i want when graph is below 0.60124 there are notify me for the error was solved.
My Grafana Contact Points like this :
My Grafana Notification Policy like this :
My Grafana Alert Rules like this :
And when the Graph is up to 0.60124 there are get this type of email error Notifications like this :