refactor: improve pyroscope data format (#596)
* feat: improve pyroscope data format. Current data format used for rendering is not defined formally and has a couple of issues: - There's no format versioning, which makes it hard to evolve the format or migrate between versions. - Current format has redudancy, with duplicated metadata. This may become a problem especially once adhoc mode is released, as this format is directly exported to JSON. I have created a new package with the flamebearer profile versioned model, which should make the format more explicit and easier to evolve. I have also removed the duplicated metadata. * chore: disable linter error. * chore: include JavaScript linter fixes. * Add a version field to the flamebearer model. * Add version to flamebearer test fixtures. * Add more missing version fields.
A
Alfredo Beaumont committed
f7ebc335fad777869499ea2685ba4dc6bfa54c6d
Parent: ac40b9d
Committed by GitHub <noreply@github.com>
on 12/13/2021, 8:18:25 PM