fix(suites): Load persisted triggered alerts for suite endpoints on start (#1347)

This commit is contained in:
TwiN authored and GitHub committed 2025-10-20 13:31:58 -04:00
1 parent 91931e48b4
commit 70d7d0c54c
3 files changed
+29 -3

No files matched your search

-1
View File
@@ -64,7 +64,6 @@ func executeEndpoint(ep *endpoint.Endpoint, cfg *config.Config, extraLabels []st
}
}
if !cfg.Maintenance.IsUnderMaintenance() && !inEndpointMaintenanceWindow {
// TODO: Consider moving this after the monitoring lock is unlocked? I mean, how much noise can a single alerting provider cause...
HandleAlerting(ep, result, cfg.Alerting)
} else {
logr.Debug("[watchdog.executeEndpoint] Not handling alerting because currently in the maintenance window")