Skip to content

alerts

View as Markdown

Alert rules.

  • Type: list of object
  • Since: manifest v1
alerts:
- name: api-errors
when: logs(service=api, level=error) > 20/min
notify:
- email:ops@example.co.uk

An alert rule.

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