-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
VisionPro / iOS can't use trace #4470
Comments
@koi646, does this work for you on any other Apple platform? Is it only not working on visionOS? |
I tried many methods and found that trace does not work on iOS and Vision Pro versions. My backend is Node.js, and I am using the Sentry SDK for the NestJS framework. However, when I switched the front end to a web platform reporting to the same backend interface, I found that trace works properly. This confuses me. |
@philipphofmann Currently, if I configure trace reporting for iOS/visionOS, I cannot see my backend request logs in the Sentry dashboard. However, if I intentionally set an unrelated options.tracePropagationTargets (non-API domain), the baggage value on the iOS side becomes empty, and I can see the backend request logs again. |
By the way, I've now switched to version 8.40.1, using the static library. |
In #4470 (comment) you wrote about a normal trace and a fail trace. I need more clarification what these are.
That could mean that something with the baggage is not working correctly either on our SDK or the backend SDKs. What exactly do you mean by |
Sorry for my unclear explanation, let me organize my explanation.
The same backend interface should not have different behaviors with SDKs from different front-end platforms(web,iOS), I suspect that the issue is related to the ”baggage“. These are the 【3】 missing Node.js Sentry transaction records. |
Yes, indeed. Can you please try if you experience the issue as well with 8.36.0? That's a release for which I know for sure it's working for our internal demoing purposes. Just for clarification, are the iOS transactions working fine? Only the trace linking is broken? |
Tried version 8.36.0 as well, and the issue persists. The iOS network trace cannot be displayed on the dashboard, but if transactions are created manually, they work properly. I can reproduce this with a minimal iOS and NestJS example. Do you need me to create a reproducible code repository? (Sorry, I clicked the wrong button, which caused this issue to be closed.😓 |
This would be perfect! |
Platform
visionOS
Environment
Develop
Installed
Swift Package Manager
Version
8.38
Xcode Version
16.0
Did it work on previous versions?
No response
Steps to Reproduce
Expected Result
visionpro -> nodejs trace work fine
Actual Result
visionPro and nodejs can't show trace info, i print http headers
when i remove visionPro sentry, nodejs trace can show
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: