Skip to content

Commit 3c1c788

Browse files
roggenkemperandrewshie-sentry
authored andcommitted
chore(detectors): Remove pattern span ids from evidence section (#97631)
#97523 removes it from the backend
1 parent 1aac7d6 commit 3c1c788

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.spec.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ describe('SpanEvidenceKeyValueList', () => {
204204
...event.occurrence,
205205
evidenceData: {
206206
patternSize: 2,
207-
patternSpanIds: ['aaa', 'bbb'],
208207
},
209208
} as EventTransaction['occurrence'];
210209

@@ -252,10 +251,6 @@ describe('SpanEvidenceKeyValueList', () => {
252251
expect(
253252
screen.getByTestId('span-evidence-key-value-list.pattern-size')
254253
).toHaveTextContent('2');
255-
expect(screen.getByRole('cell', {name: 'Pattern Span IDs'})).toBeInTheDocument();
256-
expect(
257-
screen.getByTestId('span-evidence-key-value-list.pattern-span-i-ds')
258-
).toHaveTextContent('aaa, bbb');
259254
});
260255
});
261256

static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ function NPlusOneDBQueriesSpanEvidence({
184184
);
185185
const evidenceData = event?.occurrence?.evidenceData ?? {};
186186
const patternSize = evidenceData.patternSize ?? 0;
187-
const patternSpanIds = (evidenceData.patternSpanIds ?? []).join(', ');
188187

189188
return (
190189
<PresortedKeyValueList
@@ -197,9 +196,6 @@ function NPlusOneDBQueriesSpanEvidence({
197196
: null,
198197
...repeatingSpanRows,
199198
patternSize > 0 ? makeRow(t('Pattern Size'), patternSize) : null,
200-
patternSpanIds.length > 0
201-
? makeRow(t('Pattern Span IDs'), patternSpanIds)
202-
: null,
203199
].filter(Boolean) as KeyValueListData
204200
}
205201
/>

0 commit comments

Comments
 (0)