mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-22 03:02:35 +00:00
Fixes #484 When users increase alert thresholds (either global defaults or resource-specific overrides), active alerts are now automatically re-evaluated and resolved if the current metric value is below the new threshold. Previously, alerts would remain active even after increasing the threshold above the current value, requiring manual resolution or waiting for the metric to drop below the original threshold and then rise again. Changes: - Add reevaluateActiveAlertsLocked() method to check all active alerts against updated thresholds - Call re-evaluation automatically in UpdateConfig() - Resolve alerts when current value is below new trigger/clear threshold - Handle all resource types: guests (qemu/lxc), nodes, PBS, storage - Add comprehensive unit tests for threshold update scenarios |
||
|---|---|---|
| .. | ||
| adapters | ||
| alerts | ||
| api | ||
| auth | ||
| config | ||
| crypto | ||
| discovery | ||
| errors | ||
| interfaces | ||
| mock | ||
| models | ||
| monitoring | ||
| notifications | ||
| types | ||
| updates | ||
| utils | ||
| websocket | ||