Repository navigation
docs(spotlight): Point Spotlight setup at sentry local - #21104
Open
sentry-junior[bot] wants to merge 3 commits into
Open
sentry-junior[bot] wants to merge 3 commits into
sentry-junior[bot] wants to merge 3 commits into
Conversation
Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
1 of 6 tasks
codeowner-assignment
Bot
requested review from
a team,
0xadam-brown,
alwx,
buenaflor,
itaybre,
philprime and
runningcode
and removed request for
a team
December 4, 2026 08:46
BYK
reviewed
Dec 4, 2026
codeowner-assignment
Bot
requested review from
a team and
NinjaLikesCheez
and removed request for
a team
December 4, 2026 19:10
…r sentry local A session server refuses /stream on every target, not only the Android emulator. sentry local serve binds to localhost, so physical devices need --host 0.0.0.0. Also cover the daemon holding port 8969, and when the Python and Ruby options override SENTRY_SPOTLIGHT. Co-Authored-By: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Spotlight's standalone app and sidecar are being deprecated in favor of
sentry local(Sentry CLI v4). The SDKspotlightoptions stay. SDKs keep sending to a Spotlight-compatible/streamendpoint, andsentry localprovides one. So this PR rewrites the Spotlight pages in place instead of redirecting them:sentry localand the Sentry Local viewer instead of spotlightjs.com and the sidecar. They share a new include,includes/sentry-local-serve.mdx, with the install andsentry local servesteps, plus what to do when the Local daemon already holds port 8969.--session: the mobile pages say not to use it at all. A session server refuses/streamon its root, whatever the device, and it also rejects the Android emulator's10.0.2.2.sentry locallistens only onlocalhostby default, while Spotlight's sidecar listened on every interface. The pages now say to start it withsentry local serve --host 0.0.0.0.SENTRY_SPOTLIGHT, so their pages useserveto stay on the default URL's port.spotlightoptions say thatsentry local runsetsSENTRY_SPOTLIGHT, from which SDK version that works (Python 2.47.0, sentry-ruby 5.20), and that setting the option to a URL overrides it.sentry local.Example, React Native on a physical phone:
sentry local serveand events never arrive, because the server only listens onlocalhost.sentry local serve --host 0.0.0.0, which accepts the phone's requests.The migration guides, the JS troubleshooting page, and the Symfony sample stay as they are. Their Spotlight mentions are historical renames or still accurate.
sentry localbehavior the emulator guidance relies on, the same in Sentry CLI 0.51.0 and 4.0.1 (loopback test with an Android emulator'sHost: 10.0.2.2:8969header):POST /streamPOST /api/0/envelope/sentry local servesentry local serve --sessionlocalhostHost header)Open items:
--host 0.0.0.0advice for physical devices comes from the CLI source, not a device run./commands/local/.Screenshots
Taken before the latest wording fixes:
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace
YYYY-MM-DDwith the due date. You can update this information later by editing the PR description.SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
EXTRA RESOURCES
via @BYK, @MathurAditya724.
--
View Session [Sentry]