@@ -30,7 +30,7 @@ var LogLevelIdToName = map[string]string{
3030 "50" : "fatal" ,
3131}
3232
33- // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L66
33+ // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L67
3434var IssueGroupCategories = []string {
3535 "Error" ,
3636 "Performance" ,
@@ -42,31 +42,33 @@ var IssueGroupCategories = []string{
4242 "Metric_Alert" ,
4343 "Test_Notification" ,
4444 "Outage" ,
45- "Performance_Regression" ,
46- "User_Experience" ,
47- "Responsiveness" ,
48- "Performance_Best_Practice" ,
45+ "Metric" ,
46+ "Db_Query" ,
47+ "Http_Client" ,
48+ "Frontend" ,
49+ "Mobile" ,
4950}
5051
51- // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L66
52+ // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L67
5253var IssueGroupCategoryNameToId = map [string ]string {
53- "Error" : "1" ,
54- "Performance" : "2" ,
55- "Profile" : "3" ,
56- "Cron" : "4" ,
57- "Replay" : "5" ,
58- "Feedback" : "6" ,
59- "Uptime" : "7" ,
60- "Metric_Alert" : "8" ,
61- "Test_Notification" : "9" ,
62- "Outage" : "10" ,
63- "Performance_Regression" : "11" ,
64- "User_Experience" : "12" ,
65- "Responsiveness" : "13" ,
66- "Performance_Best_Practice" : "14" ,
54+ "Error" : "1" ,
55+ "Performance" : "2" ,
56+ "Profile" : "3" ,
57+ "Cron" : "4" ,
58+ "Replay" : "5" ,
59+ "Feedback" : "6" ,
60+ "Uptime" : "7" ,
61+ "Metric_Alert" : "8" ,
62+ "Test_Notification" : "9" ,
63+ "Outage" : "10" ,
64+ "Metric" : "11" ,
65+ "Db_Query" : "12" ,
66+ "Http_Client" : "13" ,
67+ "Frontend" : "14" ,
68+ "Mobile" : "15" ,
6769}
6870
69- // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L66
71+ // https://github.com/getsentry/sentry/blob/master/src/sentry/issues/grouptype.py#L30-L67
7072var IssueGroupCategoryIdToName = map [string ]string {
7173 "1" : "Error" ,
7274 "2" : "Performance" ,
@@ -78,10 +80,11 @@ var IssueGroupCategoryIdToName = map[string]string{
7880 "8" : "Metric_Alert" ,
7981 "9" : "Test_Notification" ,
8082 "10" : "Outage" ,
81- "11" : "Performance_Regression" ,
82- "12" : "User_Experience" ,
83- "13" : "Responsiveness" ,
84- "14" : "Performance_Best_Practice" ,
83+ "11" : "Metric" ,
84+ "12" : "Db_Query" ,
85+ "13" : "Http_Client" ,
86+ "14" : "Frontend" ,
87+ "15" : "Mobile" ,
8588}
8689
8790// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/conditions/event_attribute.py#L41-L72
@@ -185,17 +188,18 @@ var LevelMatchTypes = []string{
185188 "LESS_OR_EQUAL" ,
186189}
187190
188- // https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L50-L79
191+ // https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L49-L83
189192var DashboardWidgetTypes = []string {
190193 "discover" ,
191194 "issue" ,
192195 "metrics" ,
193196 "error-events" ,
194197 "transaction-like" ,
195198 "spans" ,
199+ "logs" ,
196200}
197201
198- // https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L129-L146
202+ // https://github.com/getsentry/sentry/blob/master/src/sentry/models/dashboard_widget.py#L133-L150
199203var DashboardWidgetDisplayTypes = []string {
200204 "line" ,
201205 "area" ,
@@ -206,7 +210,7 @@ var DashboardWidgetDisplayTypes = []string{
206210 "top_n" ,
207211}
208212
209- // https://github.com/getsentry/sentry/blob/master/src/sentry/models/project.py#L63-L168
213+ // https://github.com/getsentry/sentry/blob/master/src/sentry/models/project.py#L62-L167
210214var Platforms = []string {
211215 "other" ,
212216 "android" ,
0 commit comments