Open ToonTijtgat2 opened 10 months ago
+1
Please could you merge this PR ? Thank you 🙏
We need to pick up that PR, adding some tests and fixing nits. This can be done by origin author or someone else who is willing to contribute.
@ying-jeanne Since the difference is that big between loke and mimir ruler, I have to be honest that my knowledge of the code is not good enough to fix this good. I hope someone is able to help.
this is a key feature we really need this +1
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