Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.08 KB

File metadata and controls

51 lines (37 loc) · 1.08 KB

Notifications

Notifications are optional and failures do not stop a data quality run.

Mailtrap

EMAIL_NOTIFICATIONS_ENABLED=true
MAILTRAP_API_TOKEN=your_token
ALERT_RECIPIENTS=receiver@example.com

Slack

SLACK_NOTIFICATIONS_ENABLED=true
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...

Microsoft Teams

TEAMS_NOTIFICATIONS_ENABLED=true
TEAMS_WEBHOOK_URL=https://...

Keep webhook URLs and tokens out of source control.

Alert Escalation

Escalation rules live in config/alert_ownership.yaml:

escalation:
  CRITICAL:
    after_hours: 4
    escalation_level: 1
    notify_team: Data Platform
  HIGH:
    after_hours: 24
    escalation_level: 1
    notify_team: Data Governance

Run escalation manually:

python cli.py escalate-alerts

The workflow escalates unresolved CRITICAL and HIGH alerts after their SLA window, sets escalation_status, escalation_level, and escalated_at, logs ALERT_ESCALATED, and attempts Slack, Teams, and email notifications when those channels are enabled.