Skip to content
Merged
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
18 changes: 18 additions & 0 deletions static/app/utils/fields/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export enum FieldKey {
OS_BUILD = 'os.build',
OS_KERNEL_VERSION = 'os.kernel_version',
OS_NAME = 'os.name',
OS_DISTRIBUTION_NAME = 'os.distribution_name',
OS_DISTRIBUTION_VERSION = 'os.distribution_version',
PLATFORM = 'platform',
PLATFORM_NAME = 'platform.name',
PROFILE_ID = 'profile.id',
Expand Down Expand Up @@ -1523,6 +1525,16 @@ const EVENT_FIELD_DEFINITIONS: Record<AllEventFieldKeys, FieldDefinition> = {
kind: FieldKind.FIELD,
valueType: FieldValueType.STRING,
},
[FieldKey.OS_DISTRIBUTION_NAME]: {
desc: t('Distribution name'),
kind: FieldKind.FIELD,
valueType: FieldValueType.STRING,
},
[FieldKey.OS_DISTRIBUTION_VERSION]: {
desc: t('Distribution version number'),
kind: FieldKind.FIELD,
valueType: FieldValueType.STRING,
},
[FieldKey.PLATFORM]: {
desc: t('Name of the platform'),
kind: FieldKind.FIELD,
Expand Down Expand Up @@ -1837,6 +1849,8 @@ export const ISSUE_EVENT_PROPERTY_FIELDS: FieldKey[] = [
FieldKey.MESSAGE,
FieldKey.OS_BUILD,
FieldKey.OS_KERNEL_VERSION,
FieldKey.OS_DISTRIBUTION_NAME,
FieldKey.OS_DISTRIBUTION_VERSION,
FieldKey.PLATFORM_NAME,
FieldKey.RELEASE_BUILD,
FieldKey.RELEASE_PACKAGE,
Expand Down Expand Up @@ -1905,6 +1919,8 @@ export const ISSUE_EVENT_FIELDS_THAT_MAY_CONFLICT_WITH_TAGS: Set<FieldKey> = new
FieldKey.MESSAGE,
FieldKey.OS_BUILD,
FieldKey.OS_KERNEL_VERSION,
FieldKey.OS_DISTRIBUTION_NAME,
FieldKey.OS_DISTRIBUTION_VERSION,
Comment on lines +1922 to +1923
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if they conflict with tags, but put them in here as well since the OS_KERNEL_VERSION is here too.

FieldKey.PLATFORM_NAME,
FieldKey.RELEASE_BUILD,
FieldKey.RELEASE_PACKAGE,
Expand Down Expand Up @@ -1967,6 +1983,8 @@ export const DISCOVER_FIELDS = [
FieldKey.HTTP_URL,
FieldKey.OS_BUILD,
FieldKey.OS_KERNEL_VERSION,
FieldKey.OS_DISTRIBUTION_NAME,
FieldKey.OS_DISTRIBUTION_VERSION,
FieldKey.DEVICE_NAME,
FieldKey.DEVICE_BRAND,
FieldKey.DEVICE_LOCALE,
Expand Down
Loading