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

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

Expose additional Cortex API on Managed Prometheus to alert manager integration using Cortex type in Grafana #31

Open rsheldon-ansira opened 1 year ago

rsheldon-ansira commented 1 year ago

I want to integration AMP with Managed Grafana to manage (create/edit/delete) alerts. However, in order to do this the AlertManager datasource must be created with type=Cortex. Unfortunately, AWS support has indicated that despite being based on Cortex, AMP does not expose all the cortex APIs to allow this currently.

This is a usability issue.

  1. While we have support for creating rules on the backend via Terraform, this makes it harder for average developers to create alerts. Yes, they could use legacy Grafana alerts, but this seems to be a less-than-recommended direction.
  2. The UI still suggests that you can create alerts, and it's not until you get a bit further on that you realize you can't (Grafana issue really).

Please expose the AMP API to allow this fuller integration with Grafana Alert Manager datasource.

VermaPriyanka commented 4 months ago

@rsheldon-ansira This feature-request addresses the same ask: https://github.com/grafana/grafana/issues/82127 and explains why AMP doesn't expose Cortex APIs. Do you see this as a viable solution instead?