Closed Rperry2174 closed 1 year ago
We have docs on how to ingest pprof into pyroscope here.
pprof is basically a protobuf schema
samples
sample
references a location
and links it to labels
(labels = tags)name
, filename
, etcstrings_table
and referenced in other places via integersYou can see the pprof structure in json format using this tool from our main repo (figured it might be useful for debugging):
cat pkg/convert/testdata/cpu.pprof | go run scripts/pprof-view/main.go
Here's what the output looks like: https://gist.github.com/petethepig/e41226414e3f54a7c0eedb24c5a334da
implemented in https://github.com/pyroscope-io/pyroscope-rs/pull/60
Right now when using the ruby gem multiple tags are sent in multiple requests, but we should combine them into one (ideally pprof).
@petethepig will provide more info here later