You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rules from Amazon Managed Service for Prometheus data source do not show up in Grafana alerting view, like they do for Prometheus core data source
#251
What happened:
When an Amazon Managed Service for Prometheus endpoint is configured as a data source using Prometheus core plugin, the rules/alerts defined in Amazon Managed Service for Prometheus ruler configuration are displayed in Grafana Alerting "Alert Rules" page. However, same rules/alerts do not show up when the data source is configured using the new Amazon Managed Service for Prometheus plugin.
What you expected to happen:
When "Manage alerts via Alerting UI" is toggled on, the rules/alerts from an Amazon Managed Service for Prometheus data source (using this plugin) are displayed in the Grafana alerting UI.
How to reproduce it (as minimally and precisely as possible):
Configure an Amazon Managed Service for Prometheus data source using Prometheus core plugin, toggle "Manage alerts via Alerting UI". Go to Alerting UI, and check for alerts/rules from this data source.
Configure an Amazon Managed Service for Prometheus data source using Amazon Managed Service for Prometheus plugin, toggle "Manage alerts via Alerting UI". Go to Alerting UI, and check for alerts/rules from this data source.
Alerts show up from 1 and not from 2.
Environment:
Grafana version: 11.2
Plugin version: 1.0.1
The text was updated successfully, but these errors were encountered:
Hi @VermaPriyanka, I was able to create an alerting rule using the Amazon Managed Service for Prometheus plugin with the "Manage alerts via Alerting UI" toggle enabled, and view it from the "Alert rules" page (see the screenshot below).
I ran a fresh copy of Grafana with docker using the command docker run --rm -p 3000:3000 -e GF_INSTALL_PLUGINS=grafana-amazonprometheus-datasource grafana/grafana-enterprise:11.2.0. Is there some other configuration that is being set?
The snapshot above shows a Grafana managed alert against an Amazon Managed Service for Prometheus data source configured with the Amazon Managed Service for Prometheus plugin. This issue is for data-source managed alerts, alert rules defined in Amazon Managed Service for Prometheus and viewable in Grafana. These are viewable with the Prometheus core plugin.
Using Prometheus core plugin:
Using Amazon Managed Service for Prometheus plugin:
What happened:
When an Amazon Managed Service for Prometheus endpoint is configured as a data source using Prometheus core plugin, the rules/alerts defined in Amazon Managed Service for Prometheus ruler configuration are displayed in Grafana Alerting "Alert Rules" page. However, same rules/alerts do not show up when the data source is configured using the new Amazon Managed Service for Prometheus plugin.
What you expected to happen:
When "Manage alerts via Alerting UI" is toggled on, the rules/alerts from an Amazon Managed Service for Prometheus data source (using this plugin) are displayed in the Grafana alerting UI.
How to reproduce it (as minimally and precisely as possible):
Environment:
The text was updated successfully, but these errors were encountered: