grafana/pkg/services/ngalert
gotjosh 6572017ec7
Alerting: Allow more characters in label names so notifications are sent (#38629)
Remove validation for labels to be accepted in the Alertmanager, This helps with datasources that produce non-compatible labels.

Adds an "object_matchers" to alert manager routers so we can support labels names with extended characters beyond prometheus/openmetrics. It only does this for the internal Grafana managed Alert Manager.

This requires a change to alert manager, so for now we use grafana/alertmanager which is a slight fork, with the intention of going back to upstream.

The frontend handles the migration of "matchers" -> "object_matchers" when the route is edited and saved. Once this is done, downgrades will not work old versions will not recognize the "object_matchers".

Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Nathan Rodman <nathanrodman@gmail.com>
2021-10-04 15:06:40 +02:00
..
api Alerting: Allow more characters in label names so notifications are sent (#38629) 2021-10-04 15:06:40 +02:00
eval Alerting: tune rule evaluation via configuration (#35623) 2021-09-28 13:00:16 +03:00
logging Alerting: Allow the notifier to log (#34232) 2021-05-17 18:06:47 +01:00
metrics Alerting: Metrics should have the label org instead of user (#39353) 2021-09-17 17:17:26 +01:00
models Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
notifier Alerting: Allow more characters in label names so notifications are sent (#38629) 2021-10-04 15:06:40 +02:00
schedule Alerting: rule evaluation loop to not access multiorg Alertmanager if no alerts to add (#39872) 2021-09-30 15:07:56 -04:00
sender Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
state Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
store Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
tests Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
ngalert_test.go Alerting: tune rule evaluation via configuration (#35623) 2021-09-28 13:00:16 +03:00
ngalert.go Alerting: Parse App URL only once (#39855) 2021-09-30 12:51:20 -04:00