create_silence
Create a time-boxed Alertmanager silence to mute matching alerts for a set number of minutes, with optional dry-run preview and reason comment.
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 |