I am looking for a solution to get all the alerts from Grafana which where in an alerting state for at least 2 hours or more. (for like the last year or so).
I tried the API, but can’t find an option to only query 2 hours (the API shows only alerts at this moment).