Available on crate feature
notify only.Expand description
HTTP delivery for each channel (#280).
Thin I/O shims: take a rendered JSON body + the channel config, POST it, and
map the HTTP outcome to Result<(), String> (the Err string is logged,
never surfaced to the pipeline). All retry / timeout / dedupe policy lives in
crate::notify::dispatch; these functions do exactly one request each.
Constants§
- PAGERDUTY_
ENDPOINT - Default PagerDuty Events API v2 endpoint (global).
Functions§
- send_
pagerduty - Deliver a PagerDuty trigger or resolve.
- send_
slack - Deliver a Slack message.
- send_
webhook - Deliver a generic webhook, optionally HMAC-signed.