Updated
On this page
HealthMonitor tracks per-event-type sliding windows of postcheck failures, repetitions, and tool errors, flagging a run as degraded once any rate exceeds a configurable threshold.
#overseer.src.orxtra.overseer._health
#overseer.src.orxtra.overseer._health
#HealthMetrics
| Field | Type | Default |
|---|---|---|
postcheck_failures | int | 0 |
repetitions | int | 0 |
tool_errors | int | 0 |
total_events | int | 0 |
#HealthMonitor
#record_event
python
def record_event(self, event_type: str, success: bool, is_repetition: bool=False) -> None#is_degraded
python
def is_degraded(self, event_type: str) -> bool#get_metrics
python
def get_metrics(self, event_type: str) -> HealthMetrics