-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(dynamic-sampling): organization settings #11791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
constantinius
merged 32 commits into
master
from
constantinius/feat/dynamic-sampling/organization-settings
Feb 10, 2025
Merged
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
714bbef
feat(dynamic-sampling): first draft of organization settings
constantinius 4092b56
fix(dynamic-sampling): improved overview and description of dynamic s…
constantinius cf6ed25
fix(dynamic-sampling): use suggestions
constantinius c9eab8e
fix(dynamic-sampling): use suggestions
constantinius 0559a31
fix(dynamic-sampling): use suggestions
constantinius 778beb6
fix(dynamic-sampling): add screenshot and elaborate on SDK sampling d…
constantinius c73f242
docs(dynamic-sampling): move retention priorities under dynamic-sampling
constantinius 3a07833
fix(dynamic-sampling): renaming retention policies to (dynamic) sampl…
constantinius a872516
docs(dynamic-sampling): better distinction between SDK and dynamic sa…
constantinius aa9d35c
fix(dynamic-sampling): working in feedback on distinction of sampling…
constantinius 0405349
fix(dynamic-sampling): more feedback taken into account
constantinius a1a33fb
feat(dynamic-sampling): work in feedback
constantinius 4795538
Update docs/organization/dynamic-sampling/index.mdx
constantinius 797efb9
Update docs/organization/dynamic-sampling/index.mdx
constantinius d5cae09
Update docs/organization/dynamic-sampling/index.mdx
constantinius 1b212fc
fix(dynamic-sampling): disabling including graphic, as it will be rep…
constantinius 70990f8
liza mock updates
lizokm 11ba516
docs(dynamic-sampling): several updates
constantinius be109c7
Format
jan-auer 6e2c87e
Merge branch 'master' into constantinius/feat/dynamic-sampling/organi…
jan-auer aba7b8b
Replace <Note> with <Alert>
jan-auer f334b04
docs(dynamic-sampling): set focus on target sample rate
constantinius 3c7a5c6
docs(dynamic-sampling): update screenshots from actual UI
constantinius df915d9
fix(dynamic-sampling): adding image for distributed traces
constantinius 8307844
fix(dynamic-sampling): updating image for distributed spans
constantinius 81e1f08
fix(dynamic-sampling): fix wording around AM2/AM3 availabilitiy
constantinius 8aa5890
fix: Wording
jan-auer 60ac005
feat: Better images
jan-auer 0dc606b
ref: Rearrange modes
jan-auer 45ad919
fix: Replace transactions and restructure biases section
jan-auer 5550bb0
fix: Title case
jan-auer 704ab13
Merge branch 'master' into constantinius/feat/dynamic-sampling/organi…
jan-auer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| title: Dynamic Sampling | ||
| sidebar_order: 30 | ||
| description: "Dynamic Sampling allows users make the most of their quota by dynamically sample events from the overall volume." | ||
| --- | ||
|
|
||
| ## Overview | ||
|
|
||
| When you are dealing with projects that generate high volumes of events, your quotas might be consumed quickly. Additionally, high volume projects will eat up a bigger portion of it, leaving less for other projects. | ||
|
|
||
| Many events may be redundant or not useful for debugging. Dynamic Sampling allows you to make the most of your quota by dynamically determining a target sample rate from the given volumes of the projects. | ||
|
|
||
| When you use Dynamic Sampling, your projects within an organization are sampled according to their event volumes of the past period. Higher volume projects are sampled at a lower rate, while lower volume projects are sampled at a higher rate or not sampled at all. This way, each project has a similar set of significant events to investigate, granting more visibility to the spans that actually matter. | ||
|
|
||
| A sample rate is a percentage from 0% (no events are passed on) to 100% (all events are passed on). | ||
constantinius marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Modes | ||
|
|
||
| When you are using Dynamic Sampling for a specific organization, you can set the mode in which it operates. You can either choose the manual mode or the automatic mode: | ||
|
|
||
| * **`automatic`**: This is the default setting and it means that the sample rate for each project in the organization determined automatically. When you chose this mode, the project sample rates are calculated according to the relative volumes of the projects so that the projected sampled events fill organization quota, boosting low volume projects. This recalibration happens in regular intervals. | ||
| When you set the mode to `automatic`, any manually set project sample rates are overridden. | ||
|
|
||
| * **`manual`**: In this mode, you can specifically set the sample rate for each project in the organization. This mode is useful when you want to have exact control over the sample rates of your projects. In this mode, no automatic recalibration happens. | ||
constantinius marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.