Skip to main content

Module metrics

Module metrics 

Source
Expand description

Closed-vocabulary operational observations, independent of any exporter SDK.

The existing tracing dispatch carries these events to optional adapters. They are not logs, spans, durable accounting, or execution authority. Exporters must aggregate without doing I/O in the observation path.

Structs§

MetricGuard
Own alongside the actual semaphore permit, including retained cleanup work.
MetricTimer
Records cancellation when a future is dropped before an explicit finish. Captures the original dispatch so task migration/drop cannot split a series.

Enums§

Metric
MetricKind
MetricOutcome

Constants§

METRIC_TARGET