Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Cold-path snapshot of the observability state.

Reads every hot-path atomic with Ordering::Relaxed and exposes the values in a Clone-able plain struct suitable for FFI, logging, and debugging. Per-leg breakdown is preserved so consumers can compute their own slices.

In step 3 of the rollout this struct does NOT carry the security signal counters or histogram (those are added with the OTel instruments in later steps). It provides at least the same totals as the legacy transport::metrics::MetricsSnapshot so call sites can migrate.

Structs§

MetricsSnapshot
Immutable cold-path snapshot of the hot-path atomics.