We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49dafd commit 8e2187aCopy full SHA for 8e2187a
packages/spotlight/src/ui/telemetry/store/utils/traceProcessor.ts
@@ -144,6 +144,8 @@ export function updateTraceMetadata(trace: Trace): void {
144
`[Spotlight] Orphan trace detected (trace_id: ${trace.trace_id}). ` +
145
`Using first transaction "${trace.transactions[0].transaction}" as fallback.`,
146
);
147
+ // use the first transcation for orphan traces
148
+ trace.rootTransaction = trace.transactions[0];
149
trace.rootTransactionName = trace.transactions[0].transaction || "(orphan transaction)";
150
} else {
151
trace.rootTransactionName = "(missing root transaction)";
0 commit comments