grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.06k stars 516 forks source link

[ruler] add possibility for alert_relabeling config #7295

Open ToonTijtgat2 opened 8 months ago

ToonTijtgat2 commented 8 months ago

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

oferziss-armis commented 1 month ago

+1

fahdessmaki commented 2 weeks ago

Please could you merge this PR ? Thank you 🙏