Skip to main content

Module alerting

Module alerting 

Source
Expand description

Alerting and health summary model for the canonical event stream.

This module generalizes alerting beyond storage-specific metrics, operating on RazeriEvent data with deterministic, pure evaluation functions. Alert rules support threshold, windowed, and absence conditions with optional deduplication.

Health summaries aggregate event streams into operator-friendly status indicators for workflows, categories, sources, entities, plugins, and sinks.

Structs§

AlertResult
Result of evaluating a single alert rule against the event stream.
AlertRule
A named alerting rule definition.
HealthSummary
Aggregated health for a specific domain.
SinkStatus
External sink status for inclusion in health summaries.

Enums§

AlertCondition
How an alert rule evaluates the event stream.
AlertMetric
What aspect of the event stream to measure.
AlertScope
Scope of events an alert rule monitors.
ComparisonOp
Comparison operator for alert condition evaluation.
HealthDomain
Domain for which health is being summarized.
HealthStatus
Overall health status indicator.

Functions§

discover_health
Auto-discover health domains from the event stream and produce summaries.
evaluate_rules
Evaluate alert rules against a canonical event stream.
health_for_domain
Compute a health summary for a specific domain from the event stream.