amtool silence add alertname=HighCPU -d 1h -c 'scheduled maintenance' -a alice

Category: Monitoring & Observability

amtool silence add alertname=HighCPU -d 1h -c 'scheduled maintenance' -a alice

Silence alerts matching a label matcher

Short-form silence creation: match alerts with alertname=HighCPU and mute them for one hour (-d). -c sets the comment and -a the author, both shown in the Alertmanager web UI. The flag is -d/--duration, not the --expires form older documentation shows.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.