grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.62k stars 299 forks source link

OnCall: Support for Amazon Managed Service for Prometheus as a data source #5419

Open jphelpsqred opened 3 weeks ago

jphelpsqred commented 3 weeks ago

Background

The OnCall "Insights" dashboard does not recognize Amazon Managed Prometheus as a valid data source, only Prometheus. https://github.com/grafana/oncall/blob/2a87bea6ed686b88e3aecb8d51d8b56b8eb276a8/grafana-plugin/src/pages/insights/variables.ts#L24

Use case

As an Amazon Managed Prometheus user, I can't use the built in Insights dashboard because the dashboard doesn't accept anything besides "type": "prometheus". The dashboard should be configurable to accept "type": "grafana-amazonprometheus-datasource". as a valid prometheus datasource.

Contribution