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 c7724bd commit 01bb384Copy full SHA for 01bb384
packages/tracing/src/transaction.ts
@@ -245,8 +245,7 @@ export class Transaction extends SpanClass implements TransactionInterface {
245
const { environment, release } = client.getOptions() || {};
246
const { publicKey: public_key } = client.getDsn() || {};
247
248
- const rate = this.metadata && this.metadata.transactionSampling && this.metadata.transactionSampling.rate;
249
- const sample_rate = rate !== undefined ? JSON.stringify(rate) : undefined;
+ const sample_rate = this.metadata && this.metadata.transactionSampling && this.metadata.transactionSampling.rate;
250
251
const scope = hub.getScope();
252
const { segment: user_segment } = (scope && scope.getUser()) || {};
0 commit comments