You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a look at the jemalloc_pprof crate
It produces pprof without symbols.
I've created a quick dirty POC of patched jemalloc_pprof to symbolize pprofs on the fly. korniltsev/rust-jemalloc-pprof#1
And used it in a tiny app for demo purposes https://github.com/korniltsev/broot/pull/1The results are great and terrible at the same time;
Great - it seem to work.
Terrible - it consumes a lot of memory, like 99 % of the memory is from symbolizing, maybe I've programmed it wrong - did not try to investigate.I also did not demangle rust symbols, it will also take some resources and make it even more inefficient.This may be a good reason to support ingesting symbols separately. grafana/pyroscope#3799
tldr: it's not suitable for use as continuous profiling with the current version of pyroscope and requires some efforts either on backend symbolization or efficient client symbolization.
Rust heap profile support was recently implemented in the
jemalloc_pprof
crate. Add support for uploading heap profiles to Pyroscope.The text was updated successfully, but these errors were encountered: