Expand description
Prometheus metrics exporter
This module provides integration with Prometheus for production monitoring. It exports storage metrics in Prometheus text format for scraping.
§Example
use ipfrs_storage::{PrometheusExporter, StorageMetrics};
let metrics = StorageMetrics::default();
let exporter = PrometheusExporter::new("ipfrs_storage".to_string());
let prometheus_text = exporter.export(&metrics);
println!("{}", prometheus_text);Structs§
- Prometheus
Exporter - Prometheus metrics exporter
- Prometheus
Exporter Builder - Builder for creating a Prometheus exporter with multiple configurations