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(DiffFlameGraph): Remove non-working pprof export #169

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

grafakus
Copy link
Contributor

@grafakus grafakus commented Sep 16, 2024

✨ Description

Related issue(s): -

This PR fixes the error that occurs when trying to export a diff flame graph to pprof:

image

📖 Summary of the changes

The export relies on using the legacy query parameter to fetch the profile in pprof format. But:

  • it's incorrect because the diff profile depends on both baseline & comparison queries
  • the query parameter has been deprecated when migrating the plugin to Scenes

🧪 How to test?

The "pprof" export in the export menu should not be present anymore

@grafakus grafakus requested a review from bryanhuhta September 16, 2024 10:50
@github-actions github-actions bot added the fix label Sep 16, 2024
Copy link
Contributor

Unit test coverage

Lines Statements Branches Functions
Coverage: 10%
10.68% (478/4473) 8.21% (136/1656) 7.99% (109/1364)

@grafakus grafakus merged commit 662cd48 into main Sep 16, 2024
6 of 7 checks passed
@grafakus grafakus deleted the fix/diff-export-pprof branch September 16, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant