1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Monitoring, metrics, and observability for MCP servers
//!
//! This module provides comprehensive monitoring capabilities for MCP servers including:
//! - Real-time metrics collection and reporting
//! - Health checks and system monitoring
//! - Performance profiling and optimization insights
//!
//! # Quick Start
//!
//! ```rust,ignore
//! use pulseengine_mcp_server::observability::{MetricsCollector, MonitoringConfig};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let config = MonitoringConfig::default();
//! let collector = MetricsCollector::new(config);
//!
//! // Get current metrics
//! let metrics = collector.get_current_metrics().await;
//! println!("Total requests: {}", metrics.requests_total);
//!
//! Ok(())
//! }
//! ```
pub use ;
pub use MonitoringConfig;
pub use ;
/// Default monitoring configuration