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

fix(cascading_filter): fix leak on traces where decision was made #616

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

pmm-sumo
Copy link
Contributor

This fixes the case with increased memory consumption when spans for traces where decision was already made are observed

@pmm-sumo pmm-sumo requested a review from a team as a code owner June 13, 2022 19:51
@github-actions github-actions bot added the go label Jun 13, 2022
@sumo-drosiek
Copy link
Contributor

I made some calculations and test should take about 20s, is it possible to reduce it somehow?

@pmm-sumo
Copy link
Contributor Author

I made some calculations and test should take about 20s, is it possible to reduce it somehow?

So that's the bummer with it, the shortest interval for compaction to kick is 1s. With margin, this gets bigger. I'm thinking about either disabling the test or changing the internal API to accept shorter intervals

@sumo-drosiek
Copy link
Contributor

We can add some comment to the test and if it will be too annoying we can fix it then. Of course you can fix it now as well :)

@pmm-sumo pmm-sumo force-pushed the cascading-filter-fix branch from 0db2eaf to 21390c9 Compare June 14, 2022 09:23
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 14, 2022
@pmm-sumo
Copy link
Contributor Author

@sumo-drosiek the fix won't be that simple so I skipped the test for now. I am keen to rework the underlying architecture of the cascading filter and then we could fix that as well

@pmm-sumo pmm-sumo force-pushed the cascading-filter-fix branch from 21390c9 to 417946f Compare June 14, 2022 09:24
@pmm-sumo pmm-sumo force-pushed the cascading-filter-fix branch from 417946f to a40a9ec Compare June 14, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation go
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants