Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
profiles: use single sample_type per Profile
Each `message Profile` should hold only a single kind of `sample_type`. This allows easier, parallel and more directed processing of each `message Profile`. Still, a single OTel profiling protocol message can have multiple `message Profile` each with its individual `sample_type`. This lifts the limitation from the original pprof format, where a single `message Profile` can and needs to be able to hold different kinds of samples, as it does not have an enveloping message like `message ScopeProfiles` in the OTel profiling protocol.
- Loading branch information