-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Spotlight 2.0.0] Make Spotlight compatible with Sentry SDK v8 #387
Comments
Update: As written in #386 (comment) we decided to make v7 also compativle with v7.99.0 or greater; meaning there are fairly recent v7 versions with which Spotlight@2 can still be used. |
first alpha released today to NPM: https://www.npmjs.com/package/@spotlightjs/spotlight/v/2.0.0-alpha.1 |
@Lms24 It looks like it works to capture some traces/spans, but not all. Recorded a brief video: https://www.loom.com/share/6bc3596a831647809316e5d93c5c5fae Using 2.0.0-alpha.1 and rc2 |
Hey @gajus thanks for the video! If there are missing child spans of another span, I think we need to check first if this isn't rather an SDK issue than a Spotlight issue. Does the same trace look more complete in the Sentry UI? Also small heads-up: I'm seeing |
Yeah @gajus can you please try Spotlight v1.2.17 and Sentry v7 sdk if the issue still persists, then it can be a spotlight issue(it would be great if you could share a minimal reproduction example in this case), otherwise, as @Lms24 said above, it can be an issue because of some inconsistency with parent spans in sentry v8. |
I am just realizing that this is most likely an ESM issue. In production we use In development, we do not. That's likely the cause here. |
I just spent a couple hours debugging my Sentry 8 upgrade. It wasn't clear that spotlight was the issue: the exception happens inside Sentry 8. If Spotlight doesn't support a Sentry version, could it flag that somehow? Via package manager or by detecting it at runtime? That would have saved me time :) Here's the Sentry stacktrace I got, maybe it will help others via Google:
|
Hi @bmulholland just want to confirm - you were using Spotlight v1.xx.x with Sentry v8. right? |
Yep, |
Spotlight 2.x (and Spotlight Electron 1.x) was relased today! Closing this issue as now, Spotlight is compatible with v8 JS SDKs. Please let us know if you encounter any issues when updating and open a new issue. Thanks! |
v8 of the Sentry SDKs is slowly becoming stable, so we need to ensure that Spotlight works correctly with the SDK. Primarily, this will only affect the overlay where we interact with the Sentry SDK in the Sentry spotlight integration to add a sentry integration for spotlight. This should be fairly straight forward but it's unfortunately subtly breaking.
Therefore, we'll cut a new major version for Spotlight, so that:
For Alpha Release
For Stable release
The text was updated successfully, but these errors were encountered: