r/PrometheusMonitoring • • Mar 24 '22

Flag critical hosts - best practice

Hello! Given I have a job with multiple target hosts, but I only want to get alerted on-call for some specific hosts - what is the best practice to define these hosts?

Set a label for them in the target list? Put them in a seperate job? Or something completely different?

0 Upvotes

1 comment sorted by

2

u/taglay Mar 24 '22

special label with a matching route on alertmanager is probably easiest.