Skip to content

ref(dynamic-sampling): Delete legacy dynamic sampling jobs - #124004

Merged
shellmayr merged 4 commits into
masterfrom
shellmayr/ref/ds-remove-legacy-jobs
Sep 11, 2026
Merged

ref(dynamic-sampling): Delete legacy dynamic sampling jobs#124004
shellmayr merged 4 commits into
masterfrom
shellmayr/ref/ds-remove-legacy-jobs

Conversation

@shellmayr

@shellmayr shellmayr commented Sep 10, 2026

Copy link
Copy Markdown
Member
  • The four scheduled legacy jobs (boost_low_volume_projects, boost_low_volume_transactions, recalibrate_orgs, sliding_window_org) have been killswitched since the per-org pipeline took over serving. Delete them, their fan-out tasks, their SDK sampling entries, and the generic-metrics queries only they used.

Contributes to TET-2900

…g jobs

The four scheduled legacy jobs (boost_low_volume_projects, boost_low_volume_transactions,
recalibrate_orgs, sliding_window_org) have been killswitched since the per-org pipeline
took over serving. Delete them, their fan-out tasks, their schedule entries and their
SDK sampling entries, together with the generic-metrics queries only they used.

The organization details endpoint was the last caller of the legacy project balancing.
On a target sample rate change it now schedules the per-org calculation for that
organization, and on a switch to project mode it seeds the project rates from 30 days
of EAP volume balanced by the per-org model, so both paths stay off generic metrics.

The transaction volume query stays in place for now, since the per-org query module
still imports it on master; a follow-up removes the remaining generic-metrics queries.
The options the deleted jobs read stay registered until the options automator has
unset them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 10, 2026
@linear-code

linear-code Bot commented Sep 10, 2026

Copy link
Copy Markdown

TET-2900

…he jobs removal

The organization details endpoint still runs the legacy project balancing when the
sampling mode or the target rate changes. Moving it onto the per-org pipeline is its own
change, so leave the endpoint and the query and task it uses in place. Only the
scheduled entry task, its fan-out task and the active-orgs scan go.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@shellmayr shellmayr changed the title ref(dynamic-sampling): Delete the killswitched legacy dynamic sampling jobs ref(dynamic-sampling): Delete legacy dynamic sampling jobs Sep 10, 2026
@shellmayr
shellmayr marked this pull request as ready for review September 10, 2026 10:57
@shellmayr
shellmayr requested review from a team as code owners September 10, 2026 10:57
# Conflicts:
#	tests/sentry/dynamic_sampling/tasks/test_tasks.py
Comment thread src/sentry/dynamic_sampling/per_org/calculations.py
@shellmayr
shellmayr merged commit c331a6e into master Sep 11, 2026
89 checks passed
@shellmayr
shellmayr deleted the shellmayr/ref/ds-remove-legacy-jobs branch September 11, 2026 07:40
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