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
38
39
40
41
//! Alerting engine for Renacer observability platform
//!
//! Sprint 57: Alerting + Visualization
//!
//! Provides threshold-based and anomaly-based alerting with:
//! - Alert rule DSL in renacer.toml
//! - State machine: Pending → Firing → Resolved
//! - Notification routing
//!
//! # Peer-Reviewed Foundations
//! - Borgmon (Google 2003): Alert rule evaluation
//! - Prometheus Alertmanager: Alert state machine
//!
//! # Example
//! ```ignore
//! use renacer::alerting::{AlertEngine, AlertRule};
//!
//! let engine = AlertEngine::new(registry);
//! engine.add_rule(AlertRule::threshold(
//! "high_latency",
//! "syscall_duration_seconds_p99 > 0.1",
//! Duration::from_secs(60),
//! Severity::Warning,
//! ));
//! engine.run();
//! ```
pub use AlertEngine;
pub use ;
pub use ;
// Compile-time thread-safety verification (Sprint 59)
assert_impl_all!;
assert_impl_all!;
assert_impl_all!;
assert_impl_all!;
assert_impl_all!;