What are silences and how do you create them?
BeginnerConceptAlertmanager & Alerting
Answer
A silence mutes alerts matching a set of matchers for a fixed time window. Created in the UI or with amtool:
amtool silence add alertname=NodeDown instance=~"db-0[12].*" \
--duration=2h --comment="kernel patching CHG-1234" \
--alertmanager.url=http://alertmanager:9093
amtool silence query
amtool silence expire <id>
Silences differ from inhibition: silences are manual and time-bound; inhibition is automatic and rule-based. Alerts still show in the UI as suppressed.
More on Alertmanager & Alerting
What does Alertmanager do that Prometheus does not?BeginnerExplain the Alertmanager routing tree.IntermediateWhat do `group_by`, `group_wait`, `group_interval` and `repeat_interval` control?IntermediateWhat is inhibition? Give an example.IntermediateWhat are mute time intervals and active time intervals?IntermediateHow does Alertmanager clustering work?Advanced