pass threshold breaches on rather than reconsructing
This commit is contained in:
1 parent
21fb320f3a
commit
91de9e7fb7
4 files changed
+39
-88
No files matched your search
@@ -320,6 +320,7 @@ export class WorkerPipeline implements IWorkerPipeline {
|
||||
decision.incidentReason = "status_down";
|
||||
decision.notificationReason = "status_change";
|
||||
} else if (monitor.status === "breached") {
|
||||
decision.thresholdBreaches = statusChange.thresholdBreaches;
|
||||
decision.shouldCreateIncident = true;
|
||||
decision.shouldSendNotification = true;
|
||||
decision.incidentReason = "threshold_breach";
|
||||
|
||||
Reference in new issue
Block a user