Skip to main content

Module metrics

Module metrics 

Source
Expand description

Per-instance rolling telemetry metrics.

Prefer the global crate::telemetry::TOKEN_USAGE / TOOL_EXECUTIONS singletons for process-wide counts. Use Telemetry when you need a scoped collector whose lifetime is tied to a specific agent instance.

Structsยง

Telemetry
Per-instance telemetry tracker with an async-friendly rolling mean.
TelemetryMetrics
Snapshot-able metrics for an agent instance.