Alerting¶
channels ¶
Alert channel implementations for real-time notification delivery.
AlertChannel ¶
Bases: Protocol
Protocol for alert delivery channels.
Source code in safeai/alerting/channels.py
FileChannel ¶
Append alerts as JSON lines to a file.
Source code in safeai/alerting/channels.py
WebhookChannel ¶
POST alerts as JSON to an HTTP endpoint.
Source code in safeai/alerting/channels.py
SlackChannel ¶
POST alerts to a Slack incoming webhook.
Source code in safeai/alerting/channels.py
dispatch_alert ¶
Dispatch an alert to multiple channels. Returns per-channel success map.