alert_alert_define
Define named alert rules with conditions like gt/lte/contains and severity levels to monitor metrics and trigger notifications.
Instructions
[alert] Define a named alert rule. Conditions: gt/gte/lt/lte/eq/ne/between/outside/contains/not_contains/is_empty/is_truthy. Severity: info/warning/error/critical.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| condition | Yes | ||
| threshold | No | ||
| threshold_high | No | ||
| severity | No | ||
| message | No | ||
| metric | No | ||
| cooldown_s | No |