Skip to main content

Crate obs_core

Crate obs_core 

Source

Re-exports§

pub use aggregator::ComponentHealth;
pub use aggregator::HealthReport;
pub use aggregator::MetricsAggregator;
pub use alert::Alert;
pub use alert::AlertSeverity;
pub use bus::AlertBus;
pub use bus::AlertHandler;
pub use exporter::export_otel_json;
pub use exporter::export_otel_json_value;
pub use exporter::export_prometheus_text;
pub use gauge::MetricTimeSeries;
pub use gauge::ThresholdGauge;
pub use watcher::HealthWatcher;

Modules§

aggregator
alert
bus
exporter
gauge
watcher

Structs§

MetricsSnapshot
A single named metric reading.

Enums§

HealthStatus
Health condition reported by a MetricsProvider.

Traits§

MetricsProvider
Implemented by any component that can expose runtime metrics and health.