Skip to content

ref(flags): Remove organizations:ds-health-checks-trace-based#115013

Closed
wedamija wants to merge 3 commits into
masterfrom
flag-cleanup/organizations-ds-health-checks-trace-based
Closed

ref(flags): Remove organizations:ds-health-checks-trace-based#115013
wedamija wants to merge 3 commits into
masterfrom
flag-cleanup/organizations-ds-health-checks-trace-based

Conversation

@wedamija
Copy link
Copy Markdown
Member

@wedamija wedamija commented May 6, 2026

Scanner classified this as ga-ready-to-graduate: 100% rolled out with no conditions. Removes the gate in get_relay_biases — trace-based health checks are now unconditional. The transaction-based bias is no longer added; that import goes away from combine.py (the class still exists for other consumers / dynamic_sampling exports).

Scanner classified this as ga-ready-to-graduate: 100% rolled out
with no conditions. Removes the gate in get_relay_biases — trace-based
health checks are now unconditional. The transaction-based bias is
no longer added; that import goes away from combine.py (the class
still exists for other consumers / dynamic_sampling exports).

@getsentry/telemetry-experience

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@wedamija wedamija requested review from a team as code owners May 6, 2026 19:25
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 6, 2026
After removing organizations:ds-health-checks-trace-based, the
IGNORE_HEALTH_CHECKS_RULE always uses the trace-based bias
(IGNORE_HEALTH_CHECKS_FACTOR_TRACES = 3) instead of the legacy
transaction-based bias (FACTOR_TRANSACTIONS = 5). Update assertions:
type=transaction → trace, name=event.transaction → trace.transaction,
divisor 5 → 3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

LGTM but will let @shellmayr have final say.

@wedamija wedamija requested a review from shellmayr May 14, 2026 23:27
With the flag removal always using IgnoreHealthChecksTraceBias, the
transaction-based variant has no callers. Remove the class, its test,
its constant (IGNORE_HEALTH_CHECKS_FACTOR_TRANSACTIONS), and its
re-export from dynamic_sampling/__init__.py.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Dav1dde
Copy link
Copy Markdown
Member

Dav1dde commented May 15, 2026

Seems related to #115471

@shellmayr
Copy link
Copy Markdown
Member

Closing this one as duplicate of https://github.com/getsentry/sentry/pull/115471/changes - made some changes to tests so we keep coverage that weren't in this one.
FYI @wedamija

@shellmayr shellmayr closed this May 18, 2026
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.

4 participants