Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
shellmayr committed Nov 28, 2024
1 parent 465e781 commit 3537506
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ In new product surfaces, the question of whether to use extrapolated vs. non-ext
- Some scenarios, like visualizing metrics over time, are based on aggregates, whereas a case of debugging a specific user's problem hinges on actually seeing the specific events. The best mode depends on the intended usage of the product.

### Switching to Sample Mode
Sample mode is generally to be preferred when the users are investigating specific events. There are primarily two cases when we should nudge users towards sample mode:
Sample mode is best for investigating specific events. Consider switching to it in two cases:

1. When the sample rate and the sample size are low, the extrapolation will be inaccurate and should not be used to draw conclusions. In this case, we should educate users that they can increase the value they can get out of the product by increasing the sample rate. We should also inform users that if they want to investigate individual events, they can switch to sample mode.
2. When the sample rate is high and sample size is low, the user cannot significantly increase the number of samples by increasing the sample rate, so nudging them in this direction will not help. We should refrain from littering the UI with banners. Here all we can do is to provide guidance about sample mode being more useful in this case.
1. When sample rate and size are low: Extrapolation becomes inaccurate here. We recommend either increasing the sample rate or switching to sample mode to examine individual events.
2. When sample rate is high but size remains low: Increasing the sample rate won't help get more data. In this case, sample mode may be the better choice for analysis.

### Opting Out of Extrapolation
Users may want to opt out of extrapolation for different reasons. It is always possible to set the sample rate for specific events to 100% and therefore send all data to Sentry, implicitly opting out of extrapolation and behaving in the same way as sample mode. Depending on their configuration, users may need to change Dynamic Sampling settings or their SDK's traces sampler callback for this.
Expand Down

0 comments on commit 3537506

Please sign in to comment.