Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 25 additions & 11 deletions docs/organization/dynamic-sampling/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
---
title: Dynamic Sampling
sidebar_order: 30
redirect_from:
- /product/sentry-basics/metrics/
- /product/sentry-basics/sampling/
- /product/data-management-settings/server-side-sampling/
- /product/data-management-settings/server-side-sampling/getting-started/
- /product/data-management-settings/server-side-sampling/current-limitations/
- /product/data-management-settings/server-side-sampling/sampling-configurations/
- /product/data-management-settings/dynamic-sampling/current-limitations/
- /product/data-management-settings/dynamic-sampling/sampling-configurations/
- /product/data-management-settings/dynamic-sampling/
- /product/performance/performance-at-scale/
- /product/performance/performance-at-scale/getting-started/
- /product/performance/performance-at-scale/benefits-performance-at-scale/
description: "Learn how to prioritize important events and increase visibility in lower-volume projects with Dynamic Sampling."
---

Expand All @@ -10,15 +23,12 @@ Projects that generate large event volume can quickly consume your billing quota

Dynamic Sampling employs advanced sampling techniques to retain a representative sample of the data you send to Sentry. Its algorithms are designed to prioritize keeping samples that are valuable for debugging and analysis, while reducing the retention of common or redundant data.

This process is applied directly on Sentry's servers, which allows you to configure and adjust sampling rates for stored spans right from the UI without needing to modify your SDK. This makes it possible for you to make instant updates without waiting for code freezes, app store approvals, or redeployments.
There are two available flavors of dynamic sampling, depending on the plan type of your organization:
- **Dynamic Sampling with Sampling Priorities** - available on selected Team, Business & Enterprise plans\
By analyzing incoming traffic patterns, Dynamic Sampling is able to automatically tailor its sample rate to both the actual traffic volume and the content of accepted transactions. For more details, check out the [Dynamic Sampling Priorities](#dynamic-sampling-priorities) section.
- **Dynamic Sampling with Sampling Priorities & Custom Sample Rates** - available on selected Enterprise plans\
Configure and adjust sample rates for stored spans right from the UI without needing to modify your SDK. This makes it possible for you to make instant updates without waiting for code freezes, app store approvals, or redeployments. In addition, by analyzing incoming traffic patterns, Dynamic Sampling is able to prioritize data based on the content of accepted spans. For more details, check out the [Configuration of Custom Sample Rates](#configuration-of-custom-sample-rates) section.

By analyzing incoming traffic patterns, Dynamic Sampling is able to tailor its decisions to both the actual traffic volume as well as the content of accepted spans. For more details, check out the [Dynamic Sampling Priorities](#dynamic-sampling-priorities) section.

<Alert>
Dynamic Sampling including Sampling Priorities has been available on paid
plans since November 2022. Configuration of custom sample rates has been
available on our latest Enterprise plans since June 2024.
</Alert>

## Prerequisites

Expand All @@ -38,8 +48,10 @@ By analyzing incoming traffic patterns, Dynamic Sampling is able to tailor its d
- .NET: 3.22.0 or later
- Go: 0.16.0 or later

## Configuration

## Configuration of Custom Sample Rates
<Alert>
Configuration of custom sample rates has been available on selected Enterprise plans since June 2024.
</Alert>
In this section, you'll learn how to use Dynamic Sampling in your organization. Dynamic Sampling offers two modes based on the desired sampling control:

- **Default mode** allows you to set an organization level target sample rate and automatically adjusts project level sampling to match the organization level sample rate.
Expand Down Expand Up @@ -126,7 +138,9 @@ To give Sentry the fullest, most accurate picture of your application’s health
You can use both Dynamic and SDK Sampling together to further optimize your event volume for your specific use case. For example, you can set a low SDK sample rate to ensure that only a certain percentage of events are sent to Sentry, and then use Dynamic Sampling to adjust the sample rate based on the event volume received by Sentry.

## Dynamic Sampling Priorities

<Alert>
Dynamic Sampling including Sampling Priorities has been available on selected paid plans since November 2022.
</Alert>
Below is a list of the strategies Dynamic Sampling employs to prioritize and deprioritize data. They are enabled by default, but can be updated on a per-project basis to better fit your organization's needs. To customize this behavior, go to Project Settings > Performance.

### How to Change Dynamic Sampling Priorities
Expand Down
3 changes: 3 additions & 0 deletions docs/product/insights/overview/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ Your quota is consumed by events or traces, not issues. Performance issues are g

If your application is configured for Insights and Tracing, Sentry will detect common performance problems, and group them into issues just like it does with errors. Performance issues help to surface performance problems in your application and provide a workflow for resolving them. Learn more about [performance issues](/product/issues/issue-details/performance-issues/).

## Dynamic Sampling
Depending on your plan, the data ingested into Sentry may be affect by [Dynamic Sampling](/organization/dynamic-sampling/).

## Learn More

<PageGrid />
136 changes: 0 additions & 136 deletions docs/product/insights/retention-priorities.mdx

This file was deleted.

4 changes: 4 additions & 0 deletions redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,10 @@ const userDocsRedirects = [
source: '/product/insights/llm-monitoring/getting-started/the-dashboard/',
destination: '/product/insights/ai/llm-monitoring/getting-started/the-dashboard/',
},
{
source: '/product/insights/retention-priorities/',
destination: '/organization/dynamic-sampling/',
},
// End of Insights reduirects.
{
source: '/platforms/javascript/guides/astro/manual-setup/',
Expand Down
Loading