Skip to main content

Module push_outcome

Module push_outcome 

Source
Expand description

Outcome labels passed to Metrics::on_push_delivery.

In a file of its own since 0.16.0, when throttled and expired took metrics/mod.rs past 500 lines.

Constants§

DELIVERED
The webhook accepted the delivery.
DROPPED
A delivery dropped before it started: its task’s push lane was full.
EXPIRED
A delivery dropped by the push outbox because it was older than HandlerLimits::push_outbox_max_age when it was next due (ADR 0037).
FAILED
The webhook was reached and refused it, or the sender errored.
GONE
The webhook answered 410 Gone and its config was removed.
RESERVATION_SETTLED
The outbox worker settled a push reservation that a replica left behind.
SKIPPED
No longer reported.
SUSPENDED
A delivery not attempted, because its webhook is suspended.
THROTTLED
A delivery not attempted: it waited for a slot in the push gate for all of push_delivery_timeout.
TIMEOUT
The delivery did not complete within the configured timeout.
TIMEOUT_TRUNCATED
The delivery was cut short by push_delivery_timeout while the sender’s own schedule still had attempts left.