From 37639549380907ded522c31347b4cfc7716eb32d Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 17 Jan 2024 13:13:30 -0500 Subject: [PATCH] feat(crons): Add support for new monitor config thresholds --- packages/types/src/checkin.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/types/src/checkin.ts b/packages/types/src/checkin.ts index 992c1781164e..9a1f9ee935e7 100644 --- a/packages/types/src/checkin.ts +++ b/packages/types/src/checkin.ts @@ -83,4 +83,8 @@ export interface MonitorConfig { // A tz database string representing the timezone which the monitor's execution schedule is in. // See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones timezone?: SerializedMonitorConfig['timezone']; + // How many consecutive failed check-ins it takes to create an issue. + failure_issue_threshold?: number; + // How many consecutive OK check-ins it takes to resolve an issue. + recovery_threshold?: number; }