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§
- Alert
Result - Result of evaluating a single alert rule against the event stream.
- Alert
Rule - A named alerting rule definition.
- Health
Summary - Aggregated health for a specific domain.
- Sink
Status - External sink status for inclusion in health summaries.
Enums§
- Alert
Condition - How an alert rule evaluates the event stream.
- Alert
Metric - What aspect of the event stream to measure.
- Alert
Scope - Scope of events an alert rule monitors.
- Comparison
Op - Comparison operator for alert condition evaluation.
- Health
Domain - Domain for which health is being summarized.
- Health
Status - 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.