Skip to content

Update vroomrs to accept android profiles in v2 format #5678

Description

@markushi

Right now vroomrs assumes that any profile coming from platform="android" is in the legacy android tracer format, although version="2" is set, describing the sample v2 format.

See:

https://github.com/getsentry/vroomrs/blob/281554a228d48c6ad2d87a531767e8f2cae2fae7/src/profile_chunk.rs#L43-L61

Relay will start emitting a new version="2-android-trace" soon, so we should add support for that.

Action items:

  • Add support for new version
  • Deprecate from_json_vec_and_platform in favor of new from_json_vec_and_version
  • Adapt from_json_vec to also support new version

Metadata

Metadata

Assignees

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions