Skip to content

Commit bb08c3d

Browse files
author
Shannon Anahata
committed
fixing nits
1 parent 1d20e2b commit bb08c3d

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

develop-docs/application-architecture/dynamic-sampling/extrapolation.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For high-volume organizations, sampling is a way to control costs and reduce vol
1616

1717
- **Combining different sample rates**: When your endpoints don't have the same sample rate, how are you supposed to know the true p90 when one of your endpoints is sampled at 1% and another at 100%, but all you get is the aggregate of the samples? Extrapolation calculates the true p90 by combining the data from all endpoints, weighted by the sample rate.
1818

19-
**Note:** When a sample rate is too low, there may be a low confidence in the extrapolated data. When this is the case, you should consider increasing the sample rate, widening your time range or filter, or turning off extrapolation.
19+
**Note:** When a sample rate is too low, there may be a low confidence in the extrapolated data. When this is the case, you should consider increasing the sample rate, widening your time range or filter, or turning off extrapolation.
2020

2121
## How Does Extrapolation Work?
2222
![extrapolation =1000x](./images/extrapolated_data_chart.png)
@@ -66,10 +66,7 @@ In new product surfaces, the question of whether to use extrapolated vs. non-ext
6666
- 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.
6767

6868
### When to Turn Off Extrapolation
69-
Sampled data is designed to help you investigate specific events. Here are two common scenarios where it makes the most sense to turn off extrapolation:
70-
71-
1. **When both sample rate and event volume are low**: Extrapolation becomes less reliable in these cases. You can increase your sample rate, widen your time range or filter to improve accuracy, or turn off extrapolation to examine the actual events.
72-
2. **When you have a high sample rate but still see low event volumes**: In this case, increasing the sample rate won't help capture more data. You could widen your time range or filter to capture more data, or turn off extrapolation.
69+
While extrapolation is usually helpful, if you are exclusively looking to confirm your sampling usage or look exclusively at sampled data, you can turn off extrapolation.
7370

7471
You can always increase your sample rate to 100% to examine all events if traffic is too low to be otherwise useful via extrapolation or sampling.
7572

docs/concepts/key-terms/extrapolation.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ Extreme values like `min` and `max` aren't extrapolated because they're less sta
6767

6868
## When to Turn Off Extrapolation
6969

70-
While extrapolation is usually helpful, there are times when you'll want to look at the raw sampled data instead:
71-
72-
**Low sample rate and low event volume**: When both are low, extrapolation becomes less reliable. Sentry will show a warning when confidence is low. You can increase your sample rate, widen your time range, or turn off extrapolation to examine actual captured events.
73-
74-
**Debugging specific events**: If you need to investigate a particular user's experience or trace through actual spans, turn off extrapolation to see exactly what was captured.
70+
While extrapolation is usually helpful, if you are exclusively looking to confirm your sampling usage or look exclusively at sampled data, you can turn off extrapolation.
7571

7672
You can disable extrapolation using the settings icon above charts in tools like Trace Explorer. Note that with extrapolation off, your metrics will only reflect the sampled data, not your full traffic.
7773

docs/product/explore/trace-explorer/index.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,11 @@ If your sampling rate is **too low** for an accurate extrapolation (for example,
206206
Even if you sample your spans, **Trace Explorer's extrapolation gives you reasonably accurate answers** for counts, averages, and percentiles -- without you needing to do anything extra.
207207

208208
### When to Turn Off Extrapolation
209-
While extrapolation is usually helpful, there are times when you'll want to look at the raw sampled data instead:
210-
211-
**Low sample rate and low event volume**: When both are low, extrapolation becomes less reliable. Sentry will show a warning when confidence is low. You can increase your sample rate, widen your time range, or turn off extrapolation to examine actual captured events.
212-
213-
**Debugging specific events**: If you need to investigate a particular user's experience or trace through actual spans, turn off extrapolation to see exactly what was captured.
209+
While extrapolation is usually helpful, if you are exclusively looking to confirm your sampling usage or look exclusively at sampled data, you can turn off extrapolation.
214210

215211
You can disable extrapolation using the settings icon above charts in tools like Trace Explorer.
216212

217-
### Controlling Sampling with tracesSampler
213+
### How to Tweak Client Side Sampling to Fine More Samples
218214

219215
While you can set a uniform sampling rate with `tracesSampleRate`, the `tracesSampler` function gives you fine-grained control over sampling decisions. With `tracesSampler`, you can:
220216

0 commit comments

Comments
 (0)