create_silence
Create a time-boxed Alertmanager silence for alerts matching specified labels. Set duration and reason, preview with dry-run, and manage alert noise.
Instructions
[WRITE][risk=medium] Create a time-boxed Alertmanager silence. Inverse: expire_silence.
Args: matchers: List of {name, value, isRegex?} to match alerts to silence. minutes: Silence duration in minutes (must be > 0; silences are time-boxed). comment: Reason recorded on the silence. dry_run: If True, preview without creating. target: Prometheus target (its Alertmanager); omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| comment | No | silenced via observability-aiops | |
| dry_run | No | ||
| minutes | No | ||
| matchers | Yes |