aprender-cbtop 0.65.2

Compute Block Top - Real-time load testing and hardware monitoring TUI
Documentation
//! Prometheus Metrics Exporter (PMAT-041)
//!
//! Native Prometheus `/metrics` endpoint for monitoring integration.
//!
//! # Features
//!
//! - Gauge, Counter, and Histogram metric types
//! - Label support with cardinality limits
//! - Prometheus text format (v0.0.4) compliance
//! - HTTP endpoint export
//!
//! # Falsification Criteria (F1331-F1340)
//!
//! See `tests/prometheus_f1331.rs` for falsification tests.

mod registry;
mod types;

pub use registry::MetricsRegistry;
pub use types::{
    escape_label_value, validate_metric_name, CounterValue, GaugeValue, HistogramBuckets,
    HistogramValue, Labels, MetricDef, MetricType, DEFAULT_BUCKETS, DEFAULT_MAX_LABELS,
};

#[cfg(test)]
mod tests;