diff --git a/static/app/utils/fields/index.ts b/static/app/utils/fields/index.ts index ed2108f6bbd32d..f132702b693703 100644 --- a/static/app/utils/fields/index.ts +++ b/static/app/utils/fields/index.ts @@ -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', @@ -1523,6 +1525,16 @@ const EVENT_FIELD_DEFINITIONS: Record = { 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, @@ -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, @@ -1905,6 +1919,8 @@ export const ISSUE_EVENT_FIELDS_THAT_MAY_CONFLICT_WITH_TAGS: Set = new 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, @@ -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,