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

feat(eap): Rolling time buckets #6609

Merged
merged 4 commits into from
Dec 3, 2024
Merged

Conversation

volokluev
Copy link
Member

Fixes https://github.com/getsentry/projects/issues/364

Allows bucketing at arbitrary time intervals by taking the difference between the start time and the timestamp as opposed to what the TimeSeriesProcessor did which was

toDateTime(multiply(intDiv(toUInt32(_sort_timestamp), 300), 300), 'Universal')

This would always make it land on the clean interval of 09:00, 09:05, 09:10 ...

@volokluev volokluev marked this pull request as ready for review December 3, 2024 18:59
@volokluev volokluev requested review from a team as code owners December 3, 2024 18:59
Copy link
Member

@shruthilayaj shruthilayaj left a comment

Choose a reason for hiding this comment

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

👍

@volokluev volokluev merged commit f579a01 into master Dec 3, 2024
31 checks passed
@volokluev volokluev deleted the volo/eap/rolling_time_buckets branch December 3, 2024 20:29
shruthilayaj added a commit that referenced this pull request Dec 4, 2024
With this change #6609 it's no
longer
required to round the timestamps to get back a single time bucket.
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.

3 participants