Skip to content

Add transport API for recording client-report losses #1148

Closed

Description

@szokeasaurusrex

Add the transport-facing API needed for SDK transports to record lost data without exposing the full client-report aggregator. This should introduce a cloneable recorder handle, pass it through TransportOptions, keep backwards-compatible constructors working with a no-op recorder, and document that recorded losses are aggregated into future client_report envelope items rather than sent immediately.

Scope

  • Transports can record (DataCategory, DiscardReason, quantity) via a public recorder type.
  • TransportOptions carries the recorder for transports built by the SDK client.
  • Deprecated/backwards-compatible transport constructors still compile and use a no-op recorder when no client aggregator is available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Client ReportsFeatureRust

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions