Skip to content

Commit aa9d35c

Browse files
committed
fix(dynamic-sampling): working in feedback on distinction of sampling types
1 parent a872516 commit aa9d35c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/organization/dynamic-sampling/index.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ High-volume projects that generate many events can quickly consume a large porti
1010

1111
With high-volume projects, you'll often see many similar events, which can be redundant and less helpful for debugging. But with Dynamic Sampling, you can maximize your quota by adjusting sample rates based on each project’s event volume. The sample rate is a percentage from 0% (no events passed) to 100% (all events passed), that can be tailored to each project’s needs.
1212

13-
When you use Dynamic Sampling, projects in your organization are sampled based on their recent event volumes. High-volume projects are sampled at lower rates while lower-volume projects are sampled at higher rates or not sampled at all, based on your recent event data. This makes it possible for each project to retain a meaningful set of key events, improving visibility into all projects regardless of their size.
13+
When you use Dynamic Sampling, projects in your organization are sampled based on their recent event volumes. High-volume projects are sampled at lower rates while lower-volume projects are sampled at higher rates or even at 100%, based on the number of events in the last time window. This makes it possible for each project to retain a meaningful set of key events, improving visibility into all projects regardless of their size.
1414

1515
The sample rate is dynamically (re-)calibrated in regular intervals to ensure that the sample rate is always optimized generated traffic, hence the name Dynamic Sampling.
1616

@@ -38,9 +38,15 @@ Please note that these Dynamic Sampling modes are only available for customers o
3838

3939
## Differences to Sampling in the Sentry SDKs
4040

41-
Dynamic Sampling is different from the sampling that you can configure in the Sentry SDKs. The SDK sampling rate is applied before events are sent to Sentry, while Dynamic Sampling is applied after events are received by Sentry. This means that Dynamic Sampling can be used to adjust the sample rate for events that have already been sent to Sentry and only take into account the volume of events that have been received by Sentry.
41+
Sampling in the SDKs is a way to reduce the number of events sent to Sentry by only sending a percentage of events. Dynamic Sampling, on the other hand, is a way to adjust the sample rate for events that have already been sent to Sentry based on the volume of events that have been received by Sentry.
4242

43-
Also in contrast to the Dynamic Sampling, the SDK sample rate is never dynamically adjusted.
43+
So using sampling in the SDKs may be necessary for very high volumes of events and may be necessary to reduce instrumentation overheads.
44+
45+
The sample rate used in the SDK can usually only be changed by a rollout of a new version of the application using the SDK, unless a custom mechanism is implemented to change the sample rate dynamically.
46+
47+
With Dynamic Sampling, however, it is possible to configure the sampling rate for each project in your organization dynamically, without requiring any changes to the applications themselves.
48+
49+
Addiontally, with the automatic mode, Dynamic Sampling continuously monitors the traffic for each project and adjusts the sample rate of each project to prioritize the most relevant data.
4450

4551
### When to Use Dynamic Sampling vs. SDK Sampling
4652

0 commit comments

Comments
 (0)