Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/sentry/incidents/grouptype.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ def construct_title(
)


# Example GroupType and detector handler for metric alerts. We don't create these issues yet, but we'll use something
# like these when we're sending issues as alerts
@dataclass(frozen=True)
class MetricIssue(GroupType):
type_id = 8001
Expand All @@ -339,7 +337,7 @@ class MetricIssue(GroupType):
validator=MetricIssueDetectorValidator,
config_schema={
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A representation of a metric alert firing",
"description": "A representation of a metric detector config dict",
"type": "object",
"required": ["detection_type"],
"properties": {
Expand Down
14 changes: 0 additions & 14 deletions src/sentry/issues/grouptype.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,20 +672,6 @@ class FeedbackGroup(GroupType):
enable_escalation_detection = False


@dataclass(frozen=True)
class MetricIssuePOC(GroupType):
# DEPRECATED, use metric_issue (8001) instead
type_id = 8002
slug = "metric_issue_poc"
description = "DEPRECATED Metric Issue POC"
category = GroupCategory.METRIC_ALERT.value
category_v2 = GroupCategory.METRIC.value
default_priority = PriorityLevel.HIGH
enable_auto_resolve = False
enable_escalation_detection = False
enable_status_change_workflow_notifications = False


@dataclass(frozen=True)
class WebVitalsGroup(GroupType): # TODO: Rename to WebVitalsGroupType
type_id = 10001
Expand Down
Loading