From dbef9c45073a7338d00f47ea3d9243b3f25a0408 Mon Sep 17 00:00:00 2001 From: Richard Roggenkemper Date: Wed, 12 Nov 2025 14:55:37 -0500 Subject: [PATCH 1/2] fix transaction row --- .../performance/spanEvidenceKeyValueList.tsx | 40 ++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx b/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx index 425a150b18f8ed..8c60cccbad22f4 100644 --- a/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx +++ b/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx @@ -354,10 +354,48 @@ function AIDetectedSpanEvidence({ projectSlug, }: SpanEvidenceKeyValueListProps) { const evidenceData = event?.occurrence?.evidenceData ?? {}; + // LLM detected issues create synthetic events, not real transaction events. + // event.title contains the issue title (e.g., "Unhandled Exception in API Call"), + // so we must use evidenceData.transaction for the actual transaction name. + const transactionName = evidenceData.transaction ?? event.title; + + const transactionSummaryLocation = transactionSummaryRouteWithQuery({ + organization, + projectID: event.projectID, + transaction: transactionName, + query: {}, + }); + + const traceSlug = event.contexts?.trace?.trace_id ?? ''; + + const eventDetailsLocation = generateLinkToEventInTraceView({ + traceSlug, + eventId: event.eventID, + timestamp: event.endTimestamp ?? '', + location, + organization, + }); + + const actionButton = projectSlug ? ( + + {t('View Full Trace')} + + ) : undefined; + + const transactionRow = makeRow( + t('Transaction'), +
+      
+        {transactionName}
+      
+    
, + actionButton + ); + return ( Date: Wed, 12 Nov 2025 14:57:14 -0500 Subject: [PATCH 2/2] rm comment --- .../events/interfaces/performance/spanEvidenceKeyValueList.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx b/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx index 8c60cccbad22f4..a0b242f18320d6 100644 --- a/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx +++ b/static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.tsx @@ -354,9 +354,6 @@ function AIDetectedSpanEvidence({ projectSlug, }: SpanEvidenceKeyValueListProps) { const evidenceData = event?.occurrence?.evidenceData ?? {}; - // LLM detected issues create synthetic events, not real transaction events. - // event.title contains the issue title (e.g., "Unhandled Exception in API Call"), - // so we must use evidenceData.transaction for the actual transaction name. const transactionName = evidenceData.transaction ?? event.title; const transactionSummaryLocation = transactionSummaryRouteWithQuery({