Skip to main content

Module http

Module http 

Source
Expand description

OTLP/HTTP JSON exporter with batching, a bounded queue and retries.

export never blocks: spans go into a bounded channel and are dropped (and counted) when it is full. A background tokio task batches spans by size and interval, POSTs them to .../v1/traces, retries 429/502/503/504 and network errors with backoff (honoring Retry-After), and periodically pushes metrics.

Structs§

ExportSettings
Tuning knobs.
OtlpHttpExporter
OTLP/HTTP JSON span (and metric) exporter.

Enums§

ExportError
Exporter construction error.