Next.js Discord

Discord Forum

How to do proper OTel without a SaaS provider

Unanswered
Cape lion posted this in #help-forum
Open in Discord
Avatar
Cape lionOP
I am currently investigating the instrumentation.ts and the OTel functionality of Nextjs.

I would like to primarily see the following things in my instrumentation:
- which traces take the longest
- which traces take the longest cumulatively, aka if trace A takes 1s on average and was called 10x today, but trace B takes 0.5s on average but was called 30x i want to see trace b on top.

I tried working with Jaeger and the vercel docs to get it to run, but some node-sdk package failed when following the tutorial and in general it seemed really complicated for a very basic use case?

If this is possible with vercel observability itself this would be a huge win as well!

0 Replies