Skip to content

Commit a56f6ce

Browse files
authored
feat(issues): Add new replay issue type (#50148)
Adds the new slow click replay issue type. Related: #48259
1 parent fb08fc3 commit a56f6ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sentry/issues/grouptype.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class GroupCategory(Enum):
1919
PERFORMANCE = 2
2020
PROFILE = 3
2121
MONITOR = 4
22+
REPLAY = 5
2223

2324

2425
GROUP_CATEGORIES_CUSTOM_EMAIL = (GroupCategory.ERROR, GroupCategory.PERFORMANCE)
@@ -364,6 +365,14 @@ class MonitorCheckInMissed(GroupType):
364365
released = True
365366

366367

368+
@dataclass(frozen=True)
369+
class ReplayDeadClickType(GroupType):
370+
type_id = 5001
371+
slug = "replay_click_dead"
372+
description = "Dead Click Detected"
373+
category = GroupCategory.REPLAY.value
374+
375+
367376
@metrics.wraps("noise_reduction.should_create_group", sample_rate=1.0)
368377
def should_create_group(
369378
grouptype: Type[GroupType],

0 commit comments

Comments
 (0)