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
Structured log traces do not correlate with any traces collected #16361
Thanks for reporting this @bastiankistner! I've identified what's going wrong here, it's related to how we are accessing the span when capturing logs (we don't select the right active span, so we don't select the right active trace).
We'll try to get this released early next week. I appreciate the reproductions a lot! If you shoot me an email at aprasad + sentry + .io (remove the spaces) we can try to get you some Sentry swag as reward for your help :)
Activity
chargome commentedon May 22, 2025
Hey @bastiankistner thanks for the repro! @AbhiPrasad could you take a look at this one?
AbhiPrasad commentedon May 23, 2025
Thanks for reporting this @bastiankistner! I've identified what's going wrong here, it's related to how we are accessing the span when capturing logs (we don't select the right active span, so we don't select the right active trace).
We'll try to get this released early next week. I appreciate the reproductions a lot! If you shoot me an email at
aprasad + sentry + .io(remove the spaces) we can try to get you some Sentry swag as reward for your help :)AbhiPrasad commentedon May 23, 2025
Dumping some links to code here so for team meeting on monday for this.
Check-ins (crons) also have broken tracing 😬.
sentry-javascript/packages/core/src/logs/exports.ts
Line 105 in 3604a08
sentry-javascript/packages/node/src/sdk/client.ts
Line 147 in 3604a08
sentry-javascript/packages/core/src/utils/spanOnScope.ts
Line 29 in 3604a08
fix(opentelemetry): Ensure `withScope` keeps span active & `_getTrace…
github-actions commentedon May 28, 2025
A PR closing this issue has just been released 🚀
This issue was referenced by PR #16385, which was included in the 9.23.0 release.