Skip to content

Commit 362a603

Browse files
Update Sentry data (#635)
Co-authored-by: jianyuan <[email protected]>
1 parent eb3125c commit 362a603

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/resources/issue_alert.md

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

910910
Required:
911911

912-
- `attribute` (String) Valid values are: `message`, `platform`, `environment`, `type`, `error.handled`, `error.unhandled`, `error.main_thread`, `exception.type`, `exception.value`, `user.id`, `user.email`, `user.username`, `user.ip_address`, `http.method`, `http.url`, `http.status_code`, `sdk.name`, `stacktrace.code`, `stacktrace.module`, `stacktrace.filename`, `stacktrace.abs_path`, `stacktrace.package`, `unreal.crash_type`, `app.in_foreground`, `os.distribution_name`, `os.distribution_version`, and `symbolicated_in_app`.
912+
- `attribute` (String) Valid values are: `message`, `platform`, `environment`, `type`, `error.handled`, `error.unhandled`, `error.main_thread`, `exception.type`, `exception.value`, `user.id`, `user.email`, `user.username`, `user.ip_address`, `http.method`, `http.url`, `http.status_code`, `sdk.name`, `stacktrace.code`, `stacktrace.module`, `stacktrace.filename`, `stacktrace.abs_path`, `stacktrace.package`, `unreal.crash_type`, `app.in_foreground`, `os.distribution_name`, `os.distribution_version`, `symbolicated_in_app`, `ota_updates.channel`, `ota_updates.runtime_version`, and `ota_updates.update_id`.
913913
- `match` (String) The comparison operator. Valid values are: `CONTAINS`, `ENDS_WITH`, `EQUAL`, `GREATER_OR_EQUAL`, `GREATER`, `IS_SET`, `IS_IN`, `LESS_OR_EQUAL`, `LESS`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUAL`, `NOT_SET`, `NOT_STARTS_WITH`, `NOT_IN`, and `STARTS_WITH`.
914914

915915
Optional:

internal/sentrydata/sentrydata.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var IssueGroupCategoryIdToName = map[string]string{
8484
"14": "Performance_Best_Practice",
8585
}
8686

87-
// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/conditions/event_attribute.py#L41-L69
87+
// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/conditions/event_attribute.py#L41-L72
8888
var EventAttributes = []string{
8989
"message",
9090
"platform",
@@ -113,6 +113,9 @@ var EventAttributes = []string{
113113
"os.distribution_name",
114114
"os.distribution_version",
115115
"symbolicated_in_app",
116+
"ota_updates.channel",
117+
"ota_updates.runtime_version",
118+
"ota_updates.update_id",
116119
}
117120

118121
// https://github.com/getsentry/sentry/blob/master/src/sentry/rules/match.py#L6-L22

0 commit comments

Comments
 (0)