For a library for collecting Rust application metrics, the strongest matches are open-telemetry/opentelemetry-rust (This is the official Rust implementation of the OpenTelemetry), metrics-rs/metrics (This library provides a high-performance, asynchronous-ready framework for instrumenting) and tokio-rs/tracing (This is a comprehensive instrumentation and telemetry framework that). tikv/rust-prometheus is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.
نحن نختار بعناية مستودعات GitHub مفتوحة المصدر التي تطابق “best rust metrics libraries”. النتائج مرتبة حسب صلتها ببحثك — استخدم الفلاتر أدناه للتضييق، أو قم بتحسين البحث باستخدام الذكاء الاصطناعي.
The Rust OpenTelemetry implementation
This is the official Rust implementation of the OpenTelemetry standard, providing a comprehensive framework for instrumenting, collecting, and exporting metrics with full support for asynchronous runtimes and Prometheus exposition.
This project is a unified observability framework for Rust applications, designed to capture, aggregate, and report performance telemetry. It provides a comprehensive toolkit for instrumenting code to track counters, gauges, and histograms, enabling developers to monitor application health and operational performance through a standardized interface. The library distinguishes itself by decoupling instrumentation sites from specific backend implementations through a global registry and trait-based abstractions. This architecture allows developers to swap telemetry exporters at runtime without
This library provides a high-performance, asynchronous-ready framework for instrumenting Rust applications with multi-dimensional metrics and supports Prometheus exposition through dedicated exporter crates.
This project is a structured tracing framework for Rust that serves as an async-aware instrumentation library and telemetry data collector. It provides a structured logging facade and the tools necessary to record, filter, and route event-based diagnostic data from both standard applications and embedded systems. The framework distinguishes itself through a core implementation that supports bare-metal and no-standard-library environments without requiring a dynamic memory allocator. It specifically handles the complexities of asynchronous workflows by propagating diagnostic contexts across fu
This is a comprehensive instrumentation and telemetry framework that provides the necessary infrastructure for collecting and routing diagnostic data in asynchronous Rust applications, though it requires additional exporter crates to specifically handle Prometheus exposition.
This library is an instrumentation framework for Rust applications designed to record and expose performance metrics compatible with the Prometheus monitoring system. It provides tools for tracking custom application state and host-level system resource usage, such as CPU and memory consumption, to ensure operational visibility. The framework is built for high-throughput environments, utilizing thread-local storage and atomic operations to minimize synchronization overhead during data collection. It leverages compile-time metric definitions and static typing to eliminate dynamic lookups, ensu
This library provides a comprehensive set of tools for instrumenting Rust applications with Prometheus-compatible metrics, including support for multi-dimensional labels and standard metric types.