Skip to content

feat(vercel): generate o11y routes#3474

Merged
pi0 merged 7 commits intov2from
feat/vercel-o11y
Jul 14, 2025
Merged

feat(vercel): generate o11y routes#3474
pi0 merged 7 commits intov2from
feat/vercel-o11y

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Jul 14, 2025

Resolves #3291

This PR updates the vercel preset to generate aliases and symlinks to the main __nitro.func to allow distinguishing routes from vercel observability panel.

This feature is opt-in via compatibility date (latest or >=2025-07-15)

I will also follow up with a vendor-agnostic new option to allow meta-frameworks like Nuxt to declare their SSR routes, as Nitro does not have knowledge about them. (#3475)


seems working well on fixture

image

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jul 14, 2025

Deploying nitrojs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f98621
Status: ✅  Deploy successful!
Preview URL: https://15dadf45.nitrojs.pages.dev
Branch Preview URL: https://feat-vercel-o11y.nitrojs.pages.dev

View logs

@pi0 pi0 requested a review from a team July 14, 2025 13:34
@pi0 pi0 force-pushed the feat/vercel-o11y branch from c974225 to c10bbd8 Compare July 14, 2025 13:38
@pi0 pi0 marked this pull request as ready for review July 14, 2025 15:04
@pi0 pi0 merged commit b56c468 into v2 Jul 14, 2025
5 checks passed
@pi0 pi0 deleted the feat/vercel-o11y branch July 14, 2025 15:11
luc122c pushed a commit to luc122c/unjs-nitro that referenced this pull request Jul 17, 2025
pi0 added a commit that referenced this pull request Jul 18, 2025
@Hebilicious Hebilicious mentioned this pull request Sep 14, 2025
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant