Skip to content

Conversation

@shellmayr
Copy link
Member

Add support for querying span metrics in recalibrate_orgs task by:

  • Adding new option 'dynamic-sampling.recalibrate_orgs.span-metric-orgs' to control which organizations use span metrics
  • Adding partition function to split orgs by the option
  • Processing orgs in two passes: one with transaction metrics, one with span metrics
  • Adding use_span_metric parameter to GetActiveOrgsVolumes for is_segment filtering
  • Fixing test to include is_segment tag for span metrics

Organizations in the span-metric-orgs option will be recalibrated using span metrics with is_segment=true filter, while others use transaction metrics.

Closes TET-1682
Closes TET-1315

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 26, 2026
@shellmayr shellmayr force-pushed the shellmayr/feat/ds-recalibrate-orgs-span-metric branch from 7cf64f9 to e4dec99 Compare January 29, 2026 14:24
…task

Add support for querying span metrics in recalibrate_orgs task by:
- Adding new option 'dynamic-sampling.recalibrate_orgs.span-metric-orgs' to control
  which organizations use span metrics
- Adding partition function to split orgs by the option
- Processing orgs in two passes: one with transaction metrics, one with span metrics
- Adding use_span_metric parameter to GetActiveOrgsVolumes for is_segment filtering
- Fixing test to include is_segment tag for span metrics

Organizations in the span-metric-orgs option will be recalibrated using span metrics
with is_segment=true filter, while others use transaction metrics.
@shellmayr shellmayr force-pushed the shellmayr/feat/ds-recalibrate-orgs-span-metric branch from e4dec99 to 1698aca Compare January 30, 2026 14:31
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

2 participants