Expand description
Observability: metrics collection and (optional) Prometheus export.
MetricsCollector is always available and dependency-free. When the
metrics feature is enabled, prometheus::PrometheusExporter renders
snapshots in Prometheus text format.
Re-exports§
pub use collector::MetricsCollector;pub use collector::MetricsSnapshot;
Modules§
- collector
- Lightweight, dependency-free metrics collection.
- prometheus
metrics - Prometheus exposition for collected metrics.