Module alerting

Module alerting 

Source
Expand description

Alert Rules and Routing

Defines alert rules for kernel health and performance monitoring.

§Features

  • Alert rule definition with conditions
  • Severity levels and routing
  • SLO violation alerts
  • Integration with external alerting systems

§Example

use rustkernel_core::observability::alerting::{AlertRule, AlertSeverity, AlertConfig};

let config = AlertConfig::default()
    .add_rule(
        AlertRule::new("high_latency")
            .condition("avg_latency_ms > 100")
            .severity(AlertSeverity::Warning)
            .for_duration(Duration::from_secs(60))
    );

Structs§

Alert
An active alert instance
AlertConfig
Alert configuration
AlertReceiver
Alert receiver
AlertRoute
Alert route
AlertRouting
Alert routing configuration
AlertRule
Alert rule definition

Enums§

AlertSeverity
Alert severity levels
AlertState
Alert state
ReceiverType
Receiver type