Skip to main content

obs_core/
lib.rs

1pub mod aggregator;
2pub mod alert;
3pub mod bus;
4pub mod exporter;
5pub mod gauge;
6pub mod watcher;
7
8pub use aggregator::{ComponentHealth, HealthReport, MetricsAggregator};
9pub use alert::{Alert, AlertSeverity};
10pub use bus::{AlertBus, AlertHandler};
11pub use exporter::{export_otel_json, export_otel_json_value, export_prometheus_text};
12pub use gauge::{MetricTimeSeries, ThresholdGauge};
13pub use watcher::HealthWatcher;
14
15// Re-export core-types observability types for convenience.
16pub use core_types::{HealthStatus, MetricsProvider, MetricsSnapshot};