grafana/mimir

[ruler] add possibility for alert_relabeling config

Open

#7,295 opened on Feb 5, 2024

View on GitHub
 (7 comments) (11 reactions) (0 assignees)Go (808 forks)auto 404
component/rulerenhancementhelp wanted

Repository metrics

Stars
 (5,181 stars)
PR merge metrics
 (PR metrics pending)

Description

Is your feature request related to a problem? Please describe.

We'd like to move our alerting from prometheus to mimir ruler and alertmanager to have all the alerts in one place. But there is no possibility to relabel before sending the alert to alertmanager.

Describe the solution you'd like

We would be in need to be able to do relabeling for alert. https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs This is possible in the ruler of loki, but not for mimir. https://github.com/grafana/loki/blob/c350641a64b041228616c84c69e6fe834b5bd581/docs/sources/configure/_index.md?plain=1#L1019

Contributor guide