option 1: filter them out in alertmanager, with an extra routing rule that matches on the 'job' label and delivers to a null receiver. option 1b: create a long-lived silence in alertmanager that matches on the 'job' label
option 2: drop them in alert_relabel_configs <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs> But it may be clearer in the long term to modify the alerting expressions: if you change foo to foo{job!="bar"}, then the intention is obvious. On Tuesday 12 March 2024 at 12:51:22 UTC mel wrote: > How do I disable all alerts for a job without having to modify each alert > rule and excluding the job? > -- 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/5935cc12-9f7a-49ee-aa7b-2d88ddbe1492n%40googlegroups.com.

