Skip to content

Implement trace metric capture functionality in sentry-core #1009

@szokeasaurusrex

Description

@szokeasaurusrex

This is the core capture pipeline part from #997: once protocol support exists, implement metric capture through scope/client/options and batching.

Scope from #997

Details

Keep this focused on the SDK processing portions of the trace metrics spec: disabled fast-path, default metric attributes, scope-derived trace/span association, optional before_send_metric, and enqueue/flush via the shared batcher. This part should also preserve the current behavior that user attributes are only attached when send_default_pii is enabled. Include/retain tests for disabled metrics, batching + flush, and callback filtering/modification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions