-
-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setTag recording inconsistent values despite setting the same value in code #4744
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-processing for triage ⏲️ |
@krystofwoldrich Is there a chance this is due to the SDK in any way? Or are we fairly certain this stems from the ingestion? |
Thank you for the message and the ping @tobias-wilfert. It might be a difference between JS procession of the event in the SDK when using Expo Go/Expo Dev Client and when using Release Build. The example on the linked notion page shows an issue with a I'm looking into it at the moment. |
I've tried to reproduce the issue, and both in dev and release, the sdk is sending json with @tobias-wilfert Could there be some nondeterministic behavior during processing? |
Asked the team and it converting Although I am thinking now that this might probably be a issue in Relay since we have 2 different ways to convert which are used in different contexts: So not sure why we hit the one or the other for the same tag but maybe it has something to do with that 🤔 but if the SDK always sends a boolean than I think it is safe to assume that it is not the culprit. |
@krystofwoldrich Thanks so much great investigation work 🙏🏻 |
The native SDKs, |
We will fix this in the RN SDK by stringifying all tags to align with the native SDK. So the RN SDK will convert This has a side effect for native events, which now send |
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Using the React Native SDK to Sentry.setTag("XXX", true) is producing true and True values in the Sentry UI.
While we have been able to work around this, it's concerning the data is not accurate in Sentry.
Only seen it happen for "boolean" values.
Expected Result
Value is always true.
Actual Result
It seems to happen sporadically and just in the Errors dataset AFAIK.
Customer Specific Details in Case: https://www.notion.so/sentry/1c78b10e4b5d80f89aa9c802f6ad74fc
Product Area
Processing
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: