Skip to content

Commit 62e0af6

Browse files
committed
tracing transport fix
1 parent acad6d4 commit 62e0af6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/tracing/src/transaction.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,12 @@ export class Transaction extends SpanClass implements TransactionInterface {
103103
// At this point if `sampled !== true` we want to discard the transaction.
104104
IS_DEBUG_BUILD && logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');
105105

106-
const client = this._hub.getClient();
107-
const transport = client && client.getTransport && client.getTransport();
108-
if (transport && transport.recordLostEvent) {
109-
transport.recordLostEvent('sample_rate', 'transaction');
110-
}
106+
// TODO(v7): Add back client reports functionality
107+
// const client = this._hub.getClient();
108+
// const transport = client && client.getTransport && client.getTransport();
109+
// if (transport && transport.recordLostEvent) {
110+
// transport.recordLostEvent('sample_rate', 'transaction');
111+
// }
111112
return undefined;
112113
}
113114

0 commit comments

Comments
 (0)