You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24f2193
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): Use trace_metric data category for metrics rate limits and client reports (#25606)
This PR changes the data category for metrics from `metric` to
`trace_metric`. This fixes two issues:
1. Relay sends rate limits for metrics as `trace_metric`, which never
matched our `metric` category, so the SDK kept sending metrics while
rate limited.
2. Relay has no `metric` category, so it treated our metric client
reports as `unknown`. The spec ([client reports for
metrics](https://develop.sentry.dev/sdk/telemetry/metrics/)) requires
`trace_metric` for both.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments