PagerDuty Backend

PagerDuty alerts can be enabled by simply turning the following flag on:

dalet_flex_metrics_alerting_pagerduty_enabled: true

Define the PagerDuty Events API v2 API key to be used to send alerts to.

Refer to PagerDuty's documentation on how to create one for a given service.

dalet_flex_metrics_alerting_pagerduty_events_api_key: "PAGERDUTY_SERVICE_API_KEY"

Last but not least, select the alerts severity threshold to trigger email notifications.

Eligible severity levels are: critical, error, warning and info (in decreasing severity order).

Multiple severity levels can comnbined through a pipe.

dalet_flex_metrics_alerting_pagerduty_severity: "critical|error"

Once set, don't forget to update the monitoring server instance:

$ opsctl deploy -p dalet.flex.monitoring_server