Expand description
Collects task, runtime, and request metrics.
Runtime instrumentation is enabled when the required Tokio facilities are available. Snapshot helpers expose interval data to diagnostics and telemetry.
Re-exportsยง
use std::sync::Arc;๐use std::sync::Mutex;๐use std::sync::atomic::AtomicU32;๐use std::sync::atomic::AtomicU64;๐use tokio::runtime;๐use tokio_metrics::TaskMetrics;๐use tokio_metrics::TaskMonitor;๐
Modulesยง
- dump
- Exit-time dumps of runtime metrics and resource usage.
Structsยง
- Metrics
- Owns process-wide runtime, task, and request measurements.