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

filter out system frames when ingesting functions into generic metrics #444

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

viglia
Copy link
Contributor

@viglia viglia commented Apr 17, 2024

This changes aim at dropping system frames when ingesting function metrics into the generic metrics platform.

Currently this would break the front-end in a few places. The logic to cap the list of functions to at most maxUniqueFunctionsPerProfile has therefore been moved out of the extractFunctionsFromCallTrees function and into a new one so that we can keep ingesting all of the frames for the current (custom) functions dataset, but we can start dropping them when ingesting into the generic metrics platform.

Once the front-end changes will be in place we can move this logic back to extractFunctionsFromCallTrees and simplify it even more.

To be merged after #441

@viglia viglia requested a review from a team as a code owner April 17, 2024 08:41
@viglia viglia merged commit 748a8fd into main Apr 17, 2024
11 checks passed
@viglia viglia deleted the viglia/feat/exclude-system-frames-from-generic-metrics branch April 17, 2024 17:49
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