pprof to `flamebearer` conversion?
- Lingua principale
- Go
- Stelle
- 149
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.