AlertConfigΒΆ

Defined in dccd.daemon.config

class AlertConfig(*, webhook_url=None, max_consecutive_errors=3)[source]

Bases: BaseModel

Optional alerting configuration.

Parameters:
webhook_urlstr or None

Slack/Discord webhook URL for error notifications. None disables alerts.

max_consecutive_errorsint

Number of consecutive job failures before sending an alert, default 3.