Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow timespans to track across upload toggles #2998

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

badboy
Copy link
Member

@badboy badboy commented Nov 12, 2024

This is a pre-requisite to allow the coming per-ping toggle:

At the start time we don't know which pings to record for.

It's fine to do this because:

  • Timespans, if at all, usually collect a span over a single action, with no chance of a upload toggle happening in between
  • There's very few timespans in use right now
  • It's often the wrong metric type anyway, and timing distributions should be used
  • Timing Distributions already allow this

@badboy badboy requested a review from a team as a code owner November 12, 2024 16:29
@badboy badboy requested review from rosahbruno and travis79 and removed request for a team and rosahbruno November 12, 2024 16:29
Copy link
Member

@travis79 travis79 left a comment

Choose a reason for hiding this comment

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

Looks like what we discussed. r+

@badboy badboy force-pushed the timespan/track-across-upload-toggle branch from 29dd7e1 to d115ec4 Compare November 12, 2024 16:39
This is a pre-requisite to allow the coming per-ping toggle:

At the `start` time we don't know _which_ pings to record for.

It's fine to do this because:
* Timespans, if at all, usually collect a span over a single action,
  with no chance of a upload toggle happening in between
* There's very few timespans in use right now
* It's often the wrong metric type anyway, and timing distributions
  should be used
* Timing Distributions already allow this
@badboy badboy force-pushed the timespan/track-across-upload-toggle branch from d115ec4 to 87a0e2a Compare November 12, 2024 16:42
@badboy badboy enabled auto-merge (rebase) November 12, 2024 16:44
@badboy badboy merged commit fa7aff2 into main Nov 12, 2024
29 of 30 checks passed
@badboy badboy deleted the timespan/track-across-upload-toggle branch November 12, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants