Skip to content

feat(dynamic-sampling): add sliding window calculation to per-org#116083

Open
shellmayr wants to merge 4 commits into
masterfrom
shellmayr/feat/add-sliding-window-calculation-ds-per-org
Open

feat(dynamic-sampling): add sliding window calculation to per-org#116083
shellmayr wants to merge 4 commits into
masterfrom
shellmayr/feat/add-sliding-window-calculation-ds-per-org

Conversation

@shellmayr
Copy link
Copy Markdown
Member

  • Sliding window retrieves the total 24h volume, extrapolates to the monthly volume, and then gets the sample rate from getsentry's tier system
  • If available, this sample rate is used as the base for project sample rates for the automatic configurations
  • Add the sliding window calculation to the new per-org pipeline

Contributes to TET-2233

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 22, 2026

TET-2233

@shellmayr shellmayr requested a review from constantinius May 22, 2026 09:27
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 22, 2026
Comment thread src/sentry/dynamic_sampling/per_org/tasks/configuration.py
@shellmayr shellmayr marked this pull request as ready for review May 22, 2026 11:25
@shellmayr shellmayr requested a review from a team as a code owner May 22, 2026 11:25
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 3 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 519693b. Configure here.

Comment thread src/sentry/dynamic_sampling/per_org/tasks/configuration.py
Comment thread src/sentry/dynamic_sampling/per_org/tasks/configuration.py
Comment thread src/sentry/dynamic_sampling/per_org/tasks/configuration.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants