Replies: 1 comment
-
The Vercel + Highlight Log Drain integration works without wrapping API endpoints. You'll want to wrap the endpoints for Errors and Traces coverage. AFAIK, the runtime environments all act the same, but I haven't done any detailed testing there, so I'm curious if you find something different. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm reading through Next.JS Advanced Config and came across this bit:
Do does this mean that if we are using the Vercel + Highlight integration that we do not need to wrap our endpoints
AppRouterHighlight
since the logs are going to be sent to Highlight regardless via the Vercel Log Drain?Maybe the key wording here is "in all runtime environments". If you want logs from Local and Staging, then you need to wrap the API routes, but if you only want production, then the Vercel Log Drain is sufficient.
Beta Was this translation helpful? Give feedback.
All reactions