Skip to content

Commit 8a79824

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Re-instate missing page
1 parent 2fdb4c4 commit 8a79824

File tree

1 file changed

+123
-0
lines changed

1 file changed

+123
-0
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: Retention Priorities
3+
sidebar_order: 100
4+
redirect_from:
5+
- /product/sentry-basics/metrics/
6+
- /product/sentry-basics/sampling/
7+
- /product/data-management-settings/server-side-sampling/
8+
- /product/data-management-settings/server-side-sampling/getting-started/
9+
- /product/data-management-settings/server-side-sampling/current-limitations/
10+
- /product/data-management-settings/server-side-sampling/sampling-configurations/
11+
- /product/data-management-settings/dynamic-sampling/current-limitations/
12+
- /product/data-management-settings/dynamic-sampling/sampling-configurations/
13+
- /product/data-management-settings/dynamic-sampling/
14+
- /product/performance/performance-at-scale/
15+
- /product/performance/performance-at-scale/getting-started/
16+
- /product/performance/performance-at-scale/benefits-performance-at-scale/
17+
description: "Learn how Sentry determines retention priorities and how to update them."
18+
---
19+
20+
<Note>
21+
22+
Retention priorities are only available on the latest version of our plans, starting from 1M reserved transactions. Anyone in your org with owner or billing-level permissions can update your plan by going to Settings > Subscription, and clicking the "Manage Subscription" button.
23+
24+
</Note>
25+
26+
While storing all your data makes sense at relatively low volumes, as your application scales, storing a raw copy of all your data has diminishing returns. When data reaches high volumes, Sentry begins to automatically prioritize retaining certain transactions over others with server-side data retention strategies called retention priorities.
27+
28+
It's important to note that even when we begin to only store the most valuable data based on retention priorities, the [performance metrics](/product/performance/metrics/) you see are still based on **all** the events you send to Sentry. This ensures that you get a full and complete view of your application's health.
29+
30+
## Prerequisites
31+
32+
- Admin-level permissions.
33+
- Latest version of one of the below SDKs:
34+
- Python: 1.7.2 or later
35+
- JavaScript: 7.6.0 or later
36+
- Apple: 7.23.0 or later
37+
- Android: 6.5.0 or later
38+
- React Native: 4.3.0 or later
39+
- Dart and Flutter: 6.11.0 or later
40+
- PHP: 3.9.0 or later
41+
- Laravel: 3.0.0 or later
42+
- Symfony: 4.4.0 or later
43+
- Ruby: 5.5.0 or later
44+
- Java: 6.5.0 or later
45+
- .NET: 3.22.0 or later
46+
- Go: 0.16.0 or later
47+
48+
## Retention Priorities
49+
50+
Below is a list of the transactions we prioritize and deprioritize. They are enabled by default, but can be updated on a per-project basis to better fit your organization's needs.
51+
52+
### Prioritized Transactions
53+
54+
Sentry automatically prioritizes and retains the following types of transactions:
55+
56+
#### Latest Release
57+
58+
Latest releases are a retention priority because when you create a new release, we assume you'll want to have more visibility during the early adoption phase, which improves your ability to catch new issues as your release is gaining traction.
59+
Because you may want to deploy the same release in different environments, we'll also take your environment into account and prioritize those transactions.
60+
61+
#### Dev Environments
62+
63+
Since dev environments usually generate a small number of transactions as compared to prod environments, we prioritize them during your testing phase so you can get meaningful insights.
64+
65+
#### Low Volume Projects
66+
67+
<Note>
68+
69+
You won't be able to disable the Low Volume Projects retention priority because it's set on an organization-wide level, not on a per-project basis.
70+
71+
</Note>
72+
73+
Some projects within your organization are very high volume compared to others. This means that low-volume projects might get drowned out if we treat all projects equally. To ensure that you have enough samples regardless of project scale, we prioritize low-volume projects.
74+
75+
#### Low Volume Transactions
76+
77+
Transactions can be logically grouped by their name within a project. This means that transactions with the same name most likely indicate the same operation or code path, while transactions with different names usually indicate different operations.
78+
We prioritize low-volume transactions for the same reason we prioritize low-volume projects – so they don't get drowned out by high-volume transactions. We want to make sure that transactions representing low-volume code paths are sampled in enough quantities to generate a complete view of your application.
79+
80+
### Deprioritized Transactions
81+
82+
Sentry automatically deprioritizes the following transactions:
83+
84+
#### Health Checks
85+
86+
We deprioritize health check type transactions because while they're important for checking the stability of your application, they don't have any value beyond the task associated with them. We consider a transaction to be a health check if its name matches one of the following glob patterns:
87+
88+
- `*healthcheck*`
89+
- `*healthy*`
90+
- `*live*`
91+
- `*ready*`
92+
- `*heartbeat*`
93+
- `*/health`
94+
- `*/healthz`
95+
- `*/ping`
96+
97+
### How to Change Retention Priorities
98+
99+
To make changes to a project's retention priorities in Sentry, go to **Settings > Projects**, select the project you're interested in, then scroll down to "Performance" in the "PROCESSING" section and make any updates under "RETENTION PRIORITIES" using the toggles. Each of your projects can have an individual set of retention priorities.
100+
101+
<div style="position: relative; padding-bottom: calc(62.74089935760171% + 41px); height: 0; width: 100%">
102+
<iframe
103+
src="https://demo.arcade.software/bEv0SO2UEmqbVJVok99o?embed"
104+
frameborder="0"
105+
loading="lazy"
106+
webkitallowfullscreen
107+
mozallowfullscreen
108+
allowfullscreen
109+
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;color-scheme: light;"
110+
title="General Settings — totes-ma-gotes — Sentry"
111+
></iframe>
112+
</div>
113+
114+
## Deciding on Your SDK Sample Rate
115+
116+
To give Sentry the fullest, most accurate picture of your application’s health, we recommend that you send us 100% of your transactions. You can do this by setting your [tracesSampleRate](/platform-redirect/?next=/performance/) to 1.0. If this isn't feasible for your organization, set a lower value, or switch to sampling selectively by using the [tracesSampler](/platform-redirect/?next=/performance/) to filter your transactions based on contextual data. Note that when calculating throughput, transaction metering is based on received transactions not stored transactions.
117+
118+
<Note>
119+
Please note that changes to your SDK sampling configuration may affect your
120+
quota. If you increase your SDK sampling rate, you'll also be increasing the
121+
volume of transactions you send to Sentry. This may require that you adjust
122+
your transaction quota.
123+
</Note>

0 commit comments

Comments
 (0)