Skip to content

Commit d821fbe

Browse files
DominikB2014billyvg
authored andcommitted
feat(explore): add span.system as searchable field (#93611)
add span category and span system as searchable fields in explore. Makes it so when we link from insights to explore, these fields aren't red
1 parent 3ab67c0 commit d821fbe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

static/app/views/explore/constants.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export const SENTRY_SPAN_STRING_TAGS: string[] = [
5555
SpanIndexedField.NORMALIZED_DESCRIPTION,
5656
SpanIndexedField.RELEASE, // temporary as orgs with >1k keys still want releases
5757
SpanFields.PROJECT_ID,
58+
SpanFields.SPAN_SYSTEM,
59+
SpanFields.SPAN_CATEGORY,
5860
];
5961

6062
export const SENTRY_SPAN_NUMBER_TAGS: string[] = [...SENTRY_SEARCHABLE_SPAN_NUMBER_TAGS];

static/app/views/insights/types.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export enum SpanFields {
9393
PROJECT_ID = 'project.id',
9494
RESPONSE_CODE = 'span.status_code',
9595
DEVICE_CLASS = 'device.class',
96+
SPAN_SYSTEM = 'span.system',
97+
SPAN_CATEGORY = 'span.category',
9698
}
9799

98100
type WebVitalsMeasurements =

0 commit comments

Comments
 (0)