You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platforms/common/performance/index.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Automatic instrumentation for monitoring the performance of your application is
76
76
77
77
## Configure the Sample Rate
78
78
79
-
Sampling for transactions must also be configured before tracing is be enabled in your app. Set the sample rate for your transactions by either:
79
+
Sampling for transactions must also be configured before tracing is enabled in your app. Set the sample rate for your transactions by either:
80
80
81
81
1. Setting a uniform sample rate for all transactions using the <PlatformIdentifiername="traces-sample-rate" /> option in your SDK config to a number between `0` and `1`. (For example, to send 20% of transactions, set <PlatformIdentifiername="traces-sample-rate" /> to `0.2`.)
82
82
2. Controlling the sample rate based on the transaction itself and the context in which it's captured, by providing a function to the <PlatformIdentifiername="traces-sampler" /> config option.
0 commit comments