#![warn(missing_docs)]
#![allow(clippy::unwrap_used, clippy::expect_used)]
#![allow(clippy::panic)]
pub mod alerting;
pub mod anomaly;
pub mod config;
pub mod correlation;
pub mod dashboard;
pub mod dashboards;
pub mod error;
pub mod exporters;
pub mod health;
pub mod integration;
pub mod metrics;
pub mod profiling;
pub mod reporting;
pub mod slo;
pub mod telemetry;
pub mod tracing;
pub use error::{ObservabilityError, Result};
pub use health::{HealthCheckManager, HealthStatus};
pub use profiling::{ProfileStats, Profiler};
pub use telemetry::{TelemetryConfig, TelemetryProvider};
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_telemetry_config() {
let config = TelemetryConfig::new("test-service")
.with_service_version("1.0.0")
.with_sampling_rate(0.5);
assert_eq!(config.service_name, "test-service");
assert_eq!(config.service_version, "1.0.0");
assert_eq!(config.sampling_rate, 0.5);
}
}