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

pkg/scrape: Allow profiles to be treated as already normalized #2124

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

brancz
Copy link
Member

@brancz brancz commented Nov 16, 2022

While this may be necessary for some pprof HTTP endpoints, we have encountered others now that are already normalized, in which case normalizing them again is incorrect.

This is save to be added like this without changing existing behavior, as the value defaults to false which is the currently used value before this patch.

While this may be necessary for some pprof HTTP endpoints, we have
encountered others now that are already normalized, in which case
normalizing them again is incorrect.
@brancz brancz requested a review from a team as a code owner November 16, 2022 14:22
Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

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

Makes sense!

@umanwizard
Copy link

Very useful, thank you!

@brancz brancz merged commit ecb4922 into main Nov 16, 2022
@brancz brancz deleted the scrape-normalized branch November 16, 2022 16:05
fabxc pushed a commit to fabxc/parca that referenced this pull request Dec 5, 2022
…-dev#2124)

While this may be necessary for some pprof HTTP endpoints, we have
encountered others now that are already normalized, in which case
normalizing them again is incorrect.
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.

None yet

3 participants