Skip to content

Add trace metric protocol models and envelope item container support #1008

@szokeasaurusrex

Description

@szokeasaurusrex

This issue captures the protocol/envelope portion of #997, so later client plumbing can build on a small, reviewable base.

Scope from #997

Details

Extract only the trace metric model and envelope container implementation described in the trace metrics spec: metric type enum, metric payload fields, trace_metric envelope item type, and encode/decode handling including correct content type and item count behavior. Keep this part free of client capture or macro API concerns, and include round-trip coverage in sentry-types to show metric items survive serialization/deserialization intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions