litellm-rs 0.4.16

A high-performance AI Gateway written in Rust, providing OpenAI-compatible APIs with intelligent routing, load balancing, and enterprise features
Documentation
//! Advanced observability and monitoring system
//!
//! This module provides comprehensive monitoring, logging, and alerting capabilities.

mod destinations;
mod histogram;
mod logging;
mod metrics;
mod redaction;
mod tracing;
mod types;

#[cfg(test)]
mod tests;

// Re-export all public types
pub use destinations::{AlertChannel, AlertRule, LogDestination, TraceExporter};
pub use histogram::{BoundedHistogram, HISTOGRAM_MAX_SAMPLES};
pub use logging::LogAggregator;
pub use metrics::{DataDogClient, MetricsCollector, OtelExporter, PrometheusMetrics};
pub use redaction::{RedactionConfig, redact_headers, redact_json_value, redact_value};
pub use tracing::PerformanceTracer;
pub use types::{
    AlertCondition, AlertSeverity, AlertState, ErrorDetails, LogEntry, LogLevel, MetricValue,
    ObservabilityLogRecord, SpanLog, TokenUsage, TraceSpan,
};