pixie-io / pixie

Instant Kubernetes-Native Application Observability
https://px.dev
Apache License 2.0
5.6k stars 430 forks source link

[2/2] Add differential flamegraph script #2044

Closed ddelnano closed 1 week ago

ddelnano commented 3 weeks ago

Summary: Add differential flamegraph script

This depends on #2043.

Relevant Issues: N/A

Type of change: /kind new-pxl-script

Test Plan: Ran the local UI and verified that the non negated version works as expected differential

Changelog Message: Add px/differential_flamegraph script for comparing flamegraphs profiles between pods. See this post for more background on how to use a differential flamegraph.

NickLanam commented 3 weeks ago

If you make this PR target the other one instead of main, then it'll only show this PR's changes. GitHub will magically change the target back when the other one merges.

ddelnano commented 3 weeks ago

@NickLanam thanks for the tip and I'll give that a try on future PRs to avoid recreating this one.