Skip to content

Commit 6db6af2

Browse files
Update Sentry data (#634)
Co-authored-by: jianyuan <103584+jianyuan@users.noreply.github.com>
1 parent 9808f38 commit 6db6af2

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

internal/sentrydata/sentrydata.go

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package sentrydata
22

3-
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L223-L230
3+
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L222-L229
44
var LogLevels = []string{
55
"sample",
66
"debug",
@@ -10,7 +10,7 @@ var LogLevels = []string{
1010
"fatal",
1111
}
1212

13-
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L223-L230
13+
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L222-L229
1414
var LogLevelNameToId = map[string]string{
1515
"sample": "0",
1616
"debug": "10",
@@ -20,7 +20,7 @@ var LogLevelNameToId = map[string]string{
2020
"fatal": "50",
2121
}
2222

23-
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L223-L230
23+
// https://github.com/getsentry/sentry/blob/master/src/sentry/constants.py#L222-L229
2424
var LogLevelIdToName = map[string]string{
2525
"0": "sample",
2626
"10": "debug",
@@ -59,11 +59,11 @@ var IssueGroupCategoryNameToId = map[string]string{
5959
"Uptime": "7",
6060
"Metric_Alert": "8",
6161
"Test_Notification": "9",
62-
"Outage": "9",
63-
"Performance_Regression": "10",
64-
"User_Experience": "11",
65-
"Responsiveness": "12",
66-
"Performance_Best_Practice": "13",
62+
"Outage": "10",
63+
"Performance_Regression": "11",
64+
"User_Experience": "12",
65+
"Responsiveness": "13",
66+
"Performance_Best_Practice": "14",
6767
}
6868

6969
// https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L66
@@ -76,11 +76,12 @@ var IssueGroupCategoryIdToName = map[string]string{
7676
"6": "Feedback",
7777
"7": "Uptime",
7878
"8": "Metric_Alert",
79-
"9": "Outage",
80-
"10": "Performance_Regression",
81-
"11": "User_Experience",
82-
"12": "Responsiveness",
83-
"13": "Performance_Best_Practice",
79+
"9": "Test_Notification",
80+
"10": "Outage",
81+
"11": "Performance_Regression",
82+
"12": "User_Experience",
83+
"13": "Responsiveness",
84+
"14": "Performance_Best_Practice",
8485
}
8586

8687
// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/conditions/event_attribute.py#L41-L69
@@ -181,7 +182,7 @@ var LevelMatchTypes = []string{
181182
"LESS_OR_EQUAL",
182183
}
183184

184-
// https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L49-L78
185+
// https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L50-L79
185186
var DashboardWidgetTypes = []string{
186187
"discover",
187188
"issue",
@@ -191,7 +192,7 @@ var DashboardWidgetTypes = []string{
191192
"spans",
192193
}
193194

194-
// https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L128-L145
195+
// https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L129-L146
195196
var DashboardWidgetDisplayTypes = []string{
196197
"line",
197198
"area",

0 commit comments

Comments
 (0)