grafana / timestream-datasource

Amazon Timestream in Grafana
https://grafana.com/grafana/plugins/grafana-timestream-datasource
Apache License 2.0
23 stars 19 forks source link

Migrate legacy alerting to unified alerting #281

Closed kevinwcyu closed 4 months ago

kevinwcyu commented 4 months ago

Background context

Grafana 11 will remove legacy alerting completely and any legacy alerts will need to be migrated to be compatible with unified alerting. What this means is that any queries that were used to create legacy alert rules will need to be either rewritten or returned as a wide time series format.

We already have a documented method for writing unified alerting compatible queries in the README. This uses the CREATE_TIME_SERIES function in Timestream. However, it can be difficult rewrite a query to use this function just to make it work with unified alerting.

Goal

Ideally, Timestream users should be able to continue to use their existing legacy alerting queries once they have migrated to unified alerting. They should also have an easy way to create new unified alerting queries.

Dev

kevinwcyu commented 4 months ago

Will do https://github.com/grafana/timestream-datasource/issues/280 instead of automatically returning a wide format time series for alert queries.