Skip to content

One Spotlight, Multiple Apps #458

Answered by Shubhdeep12
jd-carroll asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jd-carroll,

Yes, it is possible to load any number of processes and track the events and traces in Spotlight within a single instance.

For some context: we use Sidecar, which is a standalone SSE server hosted locally on port 8969 by default. Once Spotlight is enabled during the Sentry initialization (sentry.init), Sidecar receives all information from the Sentry SDK. ref- https://spotlightjs.com/setup/

Here's what you can do:

  • Enable Spotlight during server-side Sentry initialization.
  • Initiate Spotlight in all client-side UI apps after Sentry initialization.

By default, each Sentry SDK will send data to localhost:8969, allowing you to receive Sentry events from all apps.

Additionally…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BYK
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #409 on July 25, 2024 22:24.