metrics-lib 0.8.3

Lock-free, high-performance metrics for Rust: counters, gauges, timers, rate meters, async timing, adaptive sampling, and system health.
Documentation
1
2
3
4
5
fn main() {
    // Allow using `#[cfg(tarpaulin)]` in code without triggering unexpected cfg warnings.
    // This keeps CI logs clean when tarpaulin isn't present and preserves MSRV 1.70.0.
    println!("cargo:rustc-check-cfg=cfg(tarpaulin)");
}