feat(local): Add browser viewer for local telemetry - #1560
Merged
Conversation
Add the Local Vite viewer and --open support for serve and run. The receiver exposes the hosted UI only as a read-only loopback SSE stream with Private Network Access support.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Present envelope items as compact, expandable JSON entries with focused Shiki highlighting.
Use the remaining dynamic viewport height for the scrollable event list.
Use a full-width master/detail layout for live envelope items.
Use square panels, aligned headers, and smaller workspace gutters.
Extract transaction and trace metadata for an overview alongside raw JSON.
Place the navigation and master/detail workspace flush with the viewport.
Add feed filters, selected-event metrics, trace relationships, and non-disruptive new-event handling.
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.
sentry local serve --openandsentry local run --opennow open a browser-based, read-only viewer for the local envelope stream. Development targets the Vite app at port 5173; released builds targetlocal.sentry.devand provide the loopback endpoint only in the URL fragment.The receiver permits the hosted origin to read
/streamonly, including Chrome Private Network Access preflight support, while retaining localhost SDK ingest behavior. The new Vite app remembers a valid local stream after its original tab is closed, displays bounded decoded envelope items, and is covered by receiver, CLI, protocol, and real Hono-to-EventSource integration tests.