Skip to content

Support compressed pprof scrape responses - #6401

Merged
brancz merged 2 commits into
parca-dev:mainfrom
alexon1234:feat/pprof-compression-support
Sep 3, 2026
Merged

Support compressed pprof scrape responses#6401
brancz merged 2 commits into
parca-dev:mainfrom
alexon1234:feat/pprof-compression-support

Conversation

@alexon1234

Copy link
Copy Markdown
Contributor

Summary

  • Decode gzip, LZ4, and Zstandard pprof responses at the scrape boundary.
  • Preserve raw pprof support.
  • Bound decompressed profile size to 100 MiB.
  • Add focused format coverage.

This allows clients such as ddtrace 3.x, whose file exporter emits LZ4-framed pprof data, to be scraped directly by Parca without an application-side LZ4-to-gzip conversion.

Test plan

  • go test ./pkg/scrape
  • gofmt on changed Go files

@alexon1234
alexon1234 requested a review from a team as a code owner September 1, 2026 19:09

@brancz brancz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice! Thank you!

@brancz
brancz merged commit 48cde4f into parca-dev:main Sep 3, 2026
31 of 33 checks passed
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