Skip to content

Commit 42bba5d

Browse files
Update Sentry data (#720)
Co-authored-by: jianyuan <[email protected]>
1 parent 1249c54 commit 42bba5d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/resources/issue_alert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ Read-Only:
926926

927927
Required:
928928

929-
- `value` (String) Valid values are: `Error`, `Performance`, `Profile`, `Cron`, `Replay`, `Feedback`, `Uptime`, `Metric_Alert`, `Test_Notification`, `Outage`, `Metric`, `Db_Query`, `Http_Client`, `Frontend`, and `Mobile`.
929+
- `value` (String) Valid values are: `Error`, `Performance`, `Profile`, `Cron`, `Replay`, `Feedback`, `Uptime`, `Metric_Alert`, `Test_Notification`, `Outage`, `Metric`, `Db_Query`, `Http_Client`, `Frontend`, `Mobile`, and `Ai_Detected`.
930930

931931
Read-Only:
932932

internal/sentrydata/sentrydata.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ var IssueGroupCategories = []string{
4747
"Http_Client",
4848
"Frontend",
4949
"Mobile",
50+
"Ai_Detected",
5051
}
5152

5253
// https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py
@@ -66,6 +67,7 @@ var IssueGroupCategoryNameToId = map[string]string{
6667
"Http_Client": "13",
6768
"Frontend": "14",
6869
"Mobile": "15",
70+
"Ai_Detected": "16",
6971
}
7072

7173
// https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py
@@ -85,6 +87,7 @@ var IssueGroupCategoryIdToName = map[string]string{
8587
"13": "Http_Client",
8688
"14": "Frontend",
8789
"15": "Mobile",
90+
"16": "Ai_Detected",
8891
}
8992

9093
// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/conditions/event_attribute.py

0 commit comments

Comments
 (0)