Skip to content

Conversation

@shellmayr
Copy link
Member

Add support for querying span metrics in sliding_window_org task by:

  • Adding new option 'dynamic-sampling.sliding_window_org.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

Organizations in the span-metric-orgs option will have their sliding window sample rates calculated using span metrics with is_segment=true filter, while others use transaction metrics.

Closes TET-1681

…g task

Add support for querying span metrics in sliding_window_org task by:
- Adding new option 'dynamic-sampling.sliding_window_org.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

Organizations in the span-metric-orgs option will have their sliding window sample rates
calculated using span metrics with is_segment=true filter, while others use transaction
metrics.
@linear
Copy link

linear bot commented Jan 26, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 26, 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.

2 participants