Skip to content

Commit fca991d

Browse files
authored
feat(crons): Change crons groupcategory name (#52037)
Changes crons groupcateogry to `CRON` from `MONITOR`.
1 parent d221cdb commit fca991d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sentry/issues/grouptype.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GroupCategory(Enum):
1818
ERROR = 1
1919
PERFORMANCE = 2
2020
PROFILE = 3 # deprecated, merging with PERFORMANCE
21-
MONITOR = 4
21+
CRON = 4
2222
REPLAY = 5
2323

2424

@@ -350,7 +350,7 @@ class MonitorCheckInFailure(GroupType):
350350
type_id = 4001
351351
slug = "monitor_check_in_failure"
352352
description = "Monitor Check In Failed"
353-
category = GroupCategory.MONITOR.value
353+
category = GroupCategory.CRON.value
354354
released = True
355355

356356

@@ -359,7 +359,7 @@ class MonitorCheckInTimeout(GroupType):
359359
type_id = 4002
360360
slug = "monitor_check_in_timeout"
361361
description = "Monitor Check In Timeout"
362-
category = GroupCategory.MONITOR.value
362+
category = GroupCategory.CRON.value
363363
released = True
364364

365365

@@ -368,7 +368,7 @@ class MonitorCheckInMissed(GroupType):
368368
type_id = 4003
369369
slug = "monitor_check_in_missed"
370370
description = "Monitor Check In Missed"
371-
category = GroupCategory.MONITOR.value
371+
category = GroupCategory.CRON.value
372372
released = True
373373

374374

0 commit comments

Comments
 (0)