Skip to content

docs(js): Document the managed tunnel and serveTunnelIntegration - #20264

Draft
logaretm wants to merge 13 commits into
masterfrom
awad/managed-tunnel-docs
Draft

logaretm wants to merge 13 commits into
masterfrom
awad/managed-tunnel-docs

Conversation

@logaretm

@logaretm logaretm commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Browser events still get dropped by ad blockers unless users write their own tunnel, this is now shipped in v11.10.

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Oct 30, 2026 5:29pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Oct 30, 2026 5:29pm UTC

Request Review

@cursor

cursor Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Services awaiting deployment · Rollout details

Status Service Environment
⚪ Not deployed yet sentry-docs

Mention @rollout in a comment to update the plan.

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me based on the docs structure we have today. Just had minor wording suggestions mostly.

One Follow-up suggestion: I think we could add something like a "Tunneling" page to the extended configuration section where we display most of the content we now have in "Troubleshooting" and "ServeTunnel" integration docs. Then we link from both pages to that new page. I think this is better than having so much content in troubleshooting. WDYT?

Comment thread docs/platforms/javascript/common/configuration/integrations/servetunnel.mdx Outdated
Comment thread docs/platforms/javascript/common/configuration/integrations/servetunnel.mdx Outdated
Comment thread docs/platforms/javascript/common/configuration/integrations/servetunnel.mdx Outdated
Comment thread docs/platforms/javascript/common/configuration/options.mdx Outdated
Comment thread docs/platforms/javascript/common/configuration/options.mdx Outdated
Comment thread docs/platforms/javascript/common/configuration/options.mdx Outdated
Comment thread docs/platforms/javascript/common/troubleshooting/index.mdx Outdated
Adds the serveTunnelIntegration page, the browser tunnel: true option, a
managed tunnel section in troubleshooting, framework getting-started
snippets, and updates TanStack Start tunnelRoute docs for 11.10.0.
Covers the tunnel helpers every server SDK exports and the new
handleTunnelRequest signature from getsentry/sentry-javascript#25783.
Hides SolidStart until it serves the managed tunnel, fixes the Cloudflare
example, and notes that the manual helpers need serveTunnelIntegration to
drop tunnel spans.
The serveTunnel page only exists on server platforms, so the links 404'd on browser-only ones.
… serve the tunnel

On servers without a framework SDK hook, including Cloudflare Workers, the integration only configures the tunnel.
Add a Tunneling page under Extended Configuration and move the tunnel
content there from Troubleshooting, which now only links to it. Point
existing tunneling links at the new page.

Also address review feedback on the managed tunnel docs: list
serveTunnelIntegration in the server integration tables, add a Fastify
example, and tighten the tunnel option wording.
@logaretm

logaretm commented Oct 30, 2026 •

Copy link
Copy Markdown
Member Author

@Lms24 thanks for the review, I took a holistic view on this after a few iterations and I feel the tunnel entire story is confusing. So I'm pulling this back for a few days till I get it right.

I'm working on a different idea that could make this way easier to document with less edge cases: getsentry/sentry-javascript#25917

The idea I have in my mind is getting serveTunnelIntegration to "just work" regardless of their framework or setup. Reserving the manual setup for those who want to build a tunnel completely manually without the integration.

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 03766f6b Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Needs Triage The PR description is missing valid priority information

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants