Available on crate feature
notify only.Expand description
Config types for the notifications: block (#280).
One NotificationSpec is a rule: which EventKinds it fires on, a
severity floor, an optional leading-edge coalesce window, and a single
delivery ChannelSpec. The channel uses the project-wide adjacently
tagged { type, config } shape (matching connectors / shared auth /
lineage transports).
Everything here is pure data + validation. Dispatch lives in
crate::notify::dispatch; rendering in crate::notify::render.
Structs§
- Notification
Spec - A single notification rule.
- Pagerduty
Config - PagerDuty Events API v2 config.
- Slack
Config - Slack incoming-webhook config.
- Webhook
Config - Generic signed-webhook config.
Enums§
- Channel
Spec - A delivery channel. Adjacently tagged
{ type, config }to match the project-wide connector / auth / lineage-transport shape. - Event
Kind - The lifecycle / health events a rule can subscribe to.
- Severity
- Event severity — ordered so
min_severitycan gate with>=. A rule with nomin_severitydefaults to the lowest floor (info), so it delivers everything it subscribes to.
Constants§
- RESERVED_
BODY_ KEYS - Top-level keys faucet emits in the webhook body.
extra_fieldsmay not shadow any of them (seeWebhookConfig::extra_fields).
Functions§
- validate_
all - Validate a whole
notifications:list (unique names + per-rule validation).