Skip to content

Commit da8a13a

Browse files
committed
update main JS page
1 parent e6fa5c5 commit da8a13a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/javascript/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ Sentry.init({
124124
});
125125
```
126126

127-
Performance data is transmitted using a new event type called “transactions”, which you can learn about in [Distributed Tracing](/product/performance/distributed-tracing/). To capture transactions, install the performance package and configure your SDK to set the `tracesSampleRate` configuration to a nonzero value. The example configuration above will transmit 100% of captured transactions; lower this value in production to avoid consuming your quota too quickly.
127+
Performance data is transmitted using a new event type called “transactions,” which you can learn about in [Distributed Tracing](/product/performance/distributed-tracing/). To begin capturing transactions, install the tracing package and set either `tracesSampleRate` or `tracesSampler` in your [SDK configuration](/platforms/javascript/configuration/options/#common-options). These determine what percentage of potential transactions get sent to Sentry; we recommend capturing only a sample to avoid consuming your quota too quickly.
128128

129-
Learn more about sampling in [Filtering Events Reported to Sentry](configuration/filtering).
129+
Learn more about `tracesSampleRate` and `tracesSampler` in [Sampling Transactions](/performance/sampling).
130130

131131
## Next Steps
132132

0 commit comments

Comments
 (0)