Skip to content

Record queue and rate-limit losses in the standard transport thread #1149

Closed

Description

@szokeasaurusrex

Update the standard TransportThread used by the curl and ureq transports to record losses before an envelope reaches the HTTP transport. Queue overflow in send should be recorded as queue_overflow, and envelopes/items dropped by global or per-item rate limiting should be recorded as rate_limit with the correct data categories and quantities.

Scope

  • try_send failures record losses for the dropped envelope.
  • Global rate-limit drops record losses for every item in the envelope.
  • Per-item rate-limit filtering records losses only for filtered items.
  • Existing flush and shutdown behavior is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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