Skip to main content

Module backoff

Module backoff 

Source
Expand description

Retry policy + full-jitter + tokens-per-window circuit breaker.

Transport-agnostic reliability primitives shared by the blocking and async exporters. Retry policy, jitter, and a tokens-per-window circuit breaker for the OTLP exporter.

These primitives are transport-agnostic: the blocking exporter in lib.rs and the async one in async_http.rs share them, so the reliability logic lives in one place.

Structsยง

CircuitBreaker
Tokens-per-window circuit breaker.
RetryPolicy
Retry configuration. Governs the exponential-backoff schedule and the jitter distribution applied to each retry delay.