Open philipphofmann opened 2 months ago
Routing to @getsentry/product-owners-ddm for triage ⏲️
The root cause of this is that unit names are restricted to a maximum length of 15 chars, see docs: https://develop.sentry.dev/sdk/metrics/#maximum-lengths
Currently, measurements exceeding this limit are dropped. We plan to change this to automatically truncate unit names instead.
We plan to change this to automatically truncate unit names instead.
Truncate them where, @kahest?
We plan to change this to automatically truncate unit names instead.
Truncate them where, @kahest?
I think in Relay, as per @Dav1dde's suggestion in our internal discussion
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
This problem initially appeared on the Cocoa SDK (https://github.com/getsentry/sentry-cocoa/issues/3999), but while investigating, I realized it also happens for the Python SDK, so my assumption is that it's not SDK-related.
Capture the following metrics with the Python SDK or the Cocoa SDK:
It's worth noting that the
_
is allowed for units; see develop docs.Expected Result
All metrics show up in Sentry.
Actual Result
Only metrics without using the
_
custom unit appear in Sentry.Product Area
Other
Link
No response
DSN
No response
Version
No response