SIGN IN SIGN UP

fix(core): Apply byte category rate limits (#5716)

* feat: add trace_metric_byte to DataCategory enum

* chore: regenerate API dump with TraceMetricByte in DataCategory

* feat: record TraceMetricByte in client reports when trace metrics are discarded

Mirrors the LogByte pattern: records byte-level data category alongside the
item-level one when trace metrics are dropped by beforeSendMetrics, queue
overflow, or envelope discard.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* changelog: add trace_metric_byte data category entry

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(core): Apply byte category rate limits

* changelog

* Format code

---------

Co-authored-by: tsushanth <78000697+tsushanth@users.noreply.github.com>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
A
Alexander Dinauer committed
8a76183f3285ccba7be147e28bf0e5b2d276de23
Parent: 2ad4e0d
Committed by GitHub <noreply@github.com> on 7/3/2026, 1:24:51 PM