Skip to content

Commit 024869d

Browse files
ref(replay): add count_traces to search (#89768)
follow up to #89640 <img width="317" alt="SCR-20250416-jbvd" src="https://github.com/user-attachments/assets/b6d10f03-34ec-48bd-8f5b-92c788ffe882" /> <img width="1149" alt="SCR-20250416-jcff" src="https://github.com/user-attachments/assets/1a5076f9-57b4-4044-a783-44a306eb7dc1" />
1 parent 25c51ba commit 024869d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

static/app/utils/fields/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,7 @@ export enum ReplayFieldKey {
21312131
COUNT_RAGE_CLICKS = 'count_rage_clicks',
21322132
COUNT_ERRORS = 'count_errors',
21332133
COUNT_SEGMENTS = 'count_segments',
2134+
COUNT_TRACES = 'count_traces',
21342135
COUNT_URLS = 'count_urls',
21352136
DURATION = 'duration',
21362137
ERROR_IDS = 'error_ids',
@@ -2176,6 +2177,7 @@ export const REPLAY_FIELDS = [
21762177
ReplayFieldKey.COUNT_ERRORS,
21772178
ReplayFieldKey.COUNT_SEGMENTS,
21782179
ReplayFieldKey.COUNT_URLS,
2180+
ReplayFieldKey.COUNT_TRACES,
21792181
FieldKey.DEVICE_BRAND,
21802182
FieldKey.DEVICE_FAMILY,
21812183
FieldKey.DEVICE_MODEL_ID,
@@ -2238,6 +2240,11 @@ const REPLAY_FIELD_DEFINITIONS: Record<ReplayFieldKey, FieldDefinition> = {
22382240
kind: FieldKind.FIELD,
22392241
valueType: FieldValueType.INTEGER,
22402242
},
2243+
[ReplayFieldKey.COUNT_TRACES]: {
2244+
desc: t('Number of traces in the replay'),
2245+
kind: FieldKind.FIELD,
2246+
valueType: FieldValueType.INTEGER,
2247+
},
22412248
[ReplayFieldKey.COUNT_URLS]: {
22422249
desc: t('Number of urls visited within the replay'),
22432250
kind: FieldKind.FIELD,

0 commit comments

Comments
 (0)