Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.2.1
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init(...)
Steps to Reproduce
Sentry.metrics.increment('mycounter', '1');
Sentry.metrics.increment('mycounter', '1');
Sentry.metrics.increment('mycounter', '1');
Sentry.metrics.increment('mycounter', '1');
Expected Result
It should either not work with strings, or call parseInt
on the string.
Actual Result
mycounter@none:1111|c|T1716382425