alerts
Alert rules.
- Type: list of object
- Since: manifest v1
Example
Section titled “Example”alerts: - name: api-errors when: logs(service=api, level=error) > 20/min notify: - email:ops@example.co.ukEach entry
Section titled “Each entry”An alert rule.
Fields
Section titled “Fields”| Field | Type | What it does |
|---|---|---|
name * |
name | Rule name. |
when * |
string | Condition, e.g. |
environment |
name | Environment the rule applies to. |
notify * |
list of string | Where to send notifications. |
* required