File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments