Note: The alerts are only changed when sent to alertmanager. They are not changed in the Prometheus UI.
On 17 Jun 01:00, Dmitry Kundo wrote: > Hi all, > > I generate alerts from EC2 instances using metrics reported by node > exporter. > For some EC2 instances, which are tagged with "low_priority_alerts: 1" > tag, I'd like reduce the alert severity. > To achieve this I'm trying to make use of the 'alert_relabel_configs', > like this: > > alert_relabel_configs: > - source_labels: [ low_priority_alerts ] > regex: 1 > target_label: severity > replacement: info > > But it seems to have no effect, and the alerts are still reported with the > original severity of 'error'. > Am I using it right? > Is there another possibility to achieve what I want? > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/cbf49574-0f81-46af-a0aa-1fa003492c6fn%40googlegroups.com. -- Julien Pivotto @roidelapluie -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/20210618180357.GA971467%40oxygen.

