File tree 1 file changed +6
-5
lines changed
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 {
103
103
// At this point if `sampled !== true` we want to discard the transaction.
104
104
IS_DEBUG_BUILD && logger . log ( '[Tracing] Discarding transaction because its trace was not chosen to be sampled.' ) ;
105
105
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
+ // }
111
112
return undefined ;
112
113
}
113
114
You can’t perform that action at this time.
0 commit comments