Better Vercel Observability
Is it possible to get better vercel observability?
Im not sure if this is a TanStack Start, Nitro, or Vercel issue,
But im having a hard time to know how/where to optimise since all the requests just get bundled up on the vercel dashboard as
__nitro
7 Replies
quickest-silverOP•4mo ago
CC Kind of related to @brooke message: https://discord.com/channels/719702312431386674/1356739237021483229/1356756813638533150
Did you ever make any progress on this DX, brooke?
exotic-emerald•4mo ago
what would be needed here?
quickest-silverOP•4mo ago
I would except to see actual routes displayed, but I don’t know how or at what point of the tooling this would need to be done
Like is it a Vercel/Nitro configuration so it shows individual routes?
I though each of my server functions would appear individually
stormy-gold•4mo ago
This is on the Nitro v3 roadmap: https://github.com/nitrojs/nitro/issues/1158#issuecomment-3097060812
GitHub
Multi target builds · Issue #1158 · nitrojs/nitro
Normally each nitro build is against one specific deployment preset and consistent with the development environment. Sometimes it is desired that the same codebase be splitted across different depl...
conscious-sapphire•2mo ago
since july they've added support in nitro for splitting routes
https://github.com/nitrojs/nitro/pull/3475
GitHub
feat:
ssrRoutes by pi0 · Pull Request #3475 · nitrojs/nitroRelated to #3474
This PR adds an agnostic config for frameworks like Nuxt to declare their SSR routes, usable to integrate with platform observability to split routes.
The expected pattern is same ...
conscious-sapphire•2mo ago
Usable for observability, but they also say that framework integrations can use that to specify SSR routes.
https://nitro.build/deploy/providers/vercel#observability
https://github.com/nitrojs/nitro/blob/13841723057ade5c2a1ed1951879b7dbfffa36ea/src/presets/vercel/utils.ts#L93-L108

conscious-sapphire•2mo ago
@brooke not sure if this can also be used for my case, where I wanna have each server route split as a server function