Grafana Alerts Metrics isn't returning expected value

Hello everyone
I’m trying to create a canvas panel with a rectangle that will be green when there are no alerts and red when there is one alert from a set of alert rules that are all under the same folder and evaluation group.
To achieve that I’m trying to query one of the metrics that Grafana is sending to Prometheus. Problem is I cant find a metric that gives me an alert rule status and a way to identify or differentiate it from the others.
I have tried using the following metrics but with no success:

  • grafana_alerting_alertmanager_alerts

  • grafana_alerting_alerts

  • grafana_alerting_rule_group_rules

The issues I’m seeing are either the state or the value of the metric isn’t changing when it should, or it does change but the available labels for the metric doesn’t let me filter for the alert rule or group I need.
I am running the OSS version of Grafana, Loki and Tempo and Prometheus on a docker environment.
This is a screenshot of my grafana.ini file

Any help would be appreciated, thanks :grin:

bumping up