Skip to content

Commit 3d19f5d

Browse files
authored
fix(quota): Remove sampleRate section in transaction quota guide (#5815)
This removes the SDK Sample Rate section from the guide on transaction quota management, because `sampleRate` doesn't apply to transactions, and `tracesSampleRate` is covered by the next heading, SDK Tracing options.
1 parent e1cba57 commit 3d19f5d

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/docs/product/accounts/quotas/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ If an inbound filter is applied for a type of error, transaction, or attachment,
8686

8787
### 6. SDK Sample Rate
8888

89-
If a sample rate is defined for the SDK, the SDK evaluates whether this event should be sent as a representative fraction of events, effectively limiting the number of errors and transactions you send to Sentry. Setting a sample rate is documented [for each SDK](/platform-redirect/?next=/configuration/sampling/), but you can also learn more in [Manage Your Error Quota](/product/accounts/quotas/manage-event-stream-guide/#6-sdk-sample-rate) and [Manage Your Transaction Quota](/product/accounts/quotas/manage-transaction-quota/#3-sdk-sample-rate).
89+
If a sample rate is defined for the SDK, the SDK evaluates whether this event should be sent as a representative fraction of events, effectively limiting the number of errors and transactions you send to Sentry. Setting a sample rate is documented [for each SDK](/platform-redirect/?next=/configuration/sampling/), but you can also learn more in [Manage Your Error Quota](/product/accounts/quotas/manage-event-stream-guide/#6-sdk-sample-rate) and [Manage Your Transaction Quota](/product/accounts/quotas/manage-transaction-quota/#2-sdk-configuration-tracing-options).
9090

9191
### 7. SDK Filtering: `beforeSend`
9292

src/docs/product/accounts/quotas/manage-transaction-quota.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@ If you have a rogue client, Sentry supports blocking an IP from sending data. Na
138138

139139
If you discover a problematic release causing excessive noise, Sentry supports ignoring all events and attachments from that release. Navigate to **[Project] > Settings > Inbound Filters**, then add the release to the "Releases" field.
140140

141-
## 3. SDK Sample Rate
141+
## 3. SDK Configuration: Tracing Options {#2-sdk-configuration-tracing-options}
142142

143-
If a sample rate is defined for the SDK, the SDK evaluates whether this event should be sent as a representative fraction of events. Setting a sample rate is [documented for each SDK](/platform-redirect/?next=/configuration/sampling/).
144-
145-
The SDK sample rate is not dynamic; changing it requires re-deployment. Also, keep in mind that setting an SDK sample rate limits visibility into the source of events. Setting a rate limit for your project may better suit your needs.
146-
147-
## 4. SDK Configuration: Tracing Options {#2-sdk-configuration-tracing-options}
148-
149-
When you configure your the SDK, you can control the number of transactions that are sent to Sentry by setting the [tracing options](/platform-redirect/?next=/configuration/options/%23tracing-options). You can also set up [custom instrumentation](/platform-redirect/?next=/performance/instrumentation/custom-instrumentation/) for performance monitoring to capture certain types of transactions.
143+
When you configure your the SDK, you can control the number of transactions that are sent to Sentry by setting the [tracing options](/platform-redirect/?next=/configuration/options/%23tracing-options), including either setting a sample rate or providing a function for sampling. You can also set up [custom instrumentation](/platform-redirect/?next=/performance/instrumentation/custom-instrumentation/) for performance monitoring to capture certain types of transactions.

0 commit comments

Comments
 (0)