Skip to main content

Crate orbit_metrics

Crate orbit_metrics 

Source
Expand description

Metrics snapshot families over orbit-rs rings.

Metrics are not cache entries. They are periodic, worker-local snapshots where readers want the latest value per node and can discard stale samples. This crate keeps that semantic layer out of orbit-rs while staying independent of any application runtime.

Structs§

OrbitMetricCollector
Read-side handle for one metrics family. Usually lives in the master/aggregator path.
OrbitMetricFamily
Ring-backed metrics family.
OrbitMetricPublisher
Write-side handle for one metrics family. Usually lives in the worker/background publisher task.
OrbitMetricSample
One decoded metrics sample plus the Orbit id that carried it.

Traits§

OrbitMetricKeyedSnapshot
Optional key projection for row-like metric families.
OrbitMetricSnapshot
A periodic metrics snapshot carried by an Orbit ring.
OrbitTyped
Marker for a type that has a stable wire identity across the fleet.