Skip to content

Commit 26a32b2

Browse files
committed
drop transaction part
1 parent 90aa8cd commit 26a32b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/opentelemetry/src/spanExporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class SentrySpanExporter {
195195
if (root.parentNode && this._sentSpans.has(root.parentNode.id)) {
196196
const traceData = transactionEvent.contexts?.trace?.data;
197197
if (traceData) {
198-
traceData['sentry.transaction.parent_span_already_sent'] = true;
198+
traceData['sentry.parent_span_already_sent'] = true;
199199
}
200200
}
201201

packages/opentelemetry/test/integration/transactions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ describe('Integration | Transactions', () => {
621621

622622
expect(transactions[1]?.transaction).toBe('inner span 2');
623623
expect(transactions[1]?.contexts?.trace?.data).toEqual({
624-
'sentry.transaction.parent_span_already_sent': true,
624+
'sentry.parent_span_already_sent': true,
625625
'sentry.origin': 'manual',
626626
'sentry.source': 'custom',
627627
});

0 commit comments

Comments
 (0)