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

ref(metrics): Move max aggregator size into config and allow passing now timestamp for merge #3904

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Aug 7, 2024

The max_total_bucket_bytes config can be just part of the aggregator, it's always passed as an argument with the same value and the project max size is already part of the aggregator.

Additionally improves performance by not re-creating the now timestamp over and over again when merging a large batch of metrics into the aggregator. This takes up a significant amount of time.

#skip-changelog

@Dav1dde Dav1dde requested a review from a team as a code owner August 7, 2024 10:30
@Dav1dde Dav1dde self-assigned this Aug 7, 2024
Copy link
Contributor

@olksdr olksdr left a comment

Choose a reason for hiding this comment

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

:shipit:

@Dav1dde Dav1dde merged commit 3f5e6b9 into master Aug 7, 2024
24 checks passed
@Dav1dde Dav1dde deleted the dav1d/agg-merge-perf2 branch August 7, 2024 11:38
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