aws / amazon-managed-service-for-prometheus-roadmap

Amazon Managed Service for Prometheus Public Roadmap
Other
39 stars 3 forks source link

Alert Manager integration with Grafana Unified Alerting #3

Closed mhausenblas closed 1 year ago

mhausenblas commented 2 years ago

Customers have highlighted that they want to be able to use the same Grafana UI they use build dashboards to:

With this feature, we consider enhancements around the integration of Amazon Managed Service for Prometheus’s Alertmanager with Grafana’s Alert Management.

Initially, we plan enabling customers to view, list and silence alarms. Further, we consider to work towards enabling create, update, and delete workflows through the Grafana UI.

maulikpandey commented 2 years ago

It would be great if the expr and for fields from alert rules are provided in the output of alert manager. Currently, users like us have to create two new annotations (expr, for) in addition to actual expr and for fields in all alert rules. We build Grafana URL using these annotations but it would be ideal if alert manager automatically provides them out of the box.

ampabhi-aws commented 2 years ago

Splitting out your comment @maulikpandey into another feature request around having better dashboard/explore tab url hooks for the AMP Alert Manager. Tracked in this issue: https://github.com/aws/amazon-managed-service-for-prometheus-roadmap/issues/8

ampabhi-aws commented 2 years ago

We have submitted a PR (that has been merged) to Grafana open source to enable sigv4 authentication on the Alertmanager data source. This allows you to connect the Alertmanager datasource to AMP's alert manager APIs, and allows you to integrate Grafana Unified Alerting with AMP. Here is the Grafana PR: https://github.com/grafana/grafana/pull/49718. It's currently slated to be included in the 9.1.0 release of Grafana.

hussain-ujjaini commented 1 year ago

@ampabhi-aws @wbrowne Can we please release it, it's open from more than 6 months now

elasticdotventures commented 1 year ago

fwiw @mhausenblas @ampabhi-aws
this doesn't seem to work on the AWS Managed Prometheus version of cortex with release 9.1.1

https://github.com/grafana/grafana/pull/49718#issuecomment-1219197253

Any guidance as to how to get this working? getting "Health check failed"

elasticdotventures commented 1 year ago

@mhausenblas

You can probably close this. I've been able to get SigV4 Alert manager as a datasource. I saw that Amazon Managed Grafana recently announced that it supports AlertManager as well:

https://aws.amazon.com/blogs/mt/announcing-prometheus-alertmanager-rules-in-amazon-managed-grafana/