pprof to `flamebearer` conversion?
- Dominant language
- Go
- Stars
- 149
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Currently, https://pkg.go.dev/github.com/grafana/pyroscope/pkg/og/structs/flamebearer/convert#PprofToProfile supports this kind of conversion, but it is only available in `v1.0` and requires whole `grafana/pyroscope` pkg. I am thinking to do the conversion without any dependency by converting pprof to a tree and then doing level order traversal to calculate the `x-offsets`. You can see the [details](https://pkg.go.dev/github.com/grafana/pyroscope@v1.0.0/pkg/og/structs/flamebearer#FlamebearerV1) of flamebearer format.
It will not be an easy-peasy one, but would you be interested in such conversion? I was going to implement this on a separate repo but then I thought here might actually be better? WDYT?
Contributor guide
Assessment
This issue has not been assessed yet.