Home / Companies / Highlight.io / Blog / Post Details
Content Deep Dive

Next.JS Tracing on Edge Runtime with @vercel/otel

Blog post from Highlight.io

Post Details
Company
Date Published
Author
Vadim Korolik
Word Count
808
Company Posts That Month
9
Language
-
Hacker News Points
-
Post removed?
No
Summary

Next.js is a powerful web framework that integrates frontend and backend code, enhancing performance and supporting complex content by centralizing and efficiently distributing tasks between browsers and servers. It can be compiled into Node.js for single or scalable architecture execution, like AWS Lambda, and is compatible with various runtimes, including the Vercel Edge runtime known for quick start times and cost efficiency. OpenTelemetry, an open-source observability tool, is instrumental in gathering traces to understand software performance, especially in debugging scenarios where tracing provides insights into code execution times. The Vercel Edge runtime's limitations with standard Node APIs necessitate configuring the OpenTelemetry SDK to export traces, and using the @vercel/otel package simplifies this process by bundling compatible OpenTelemetry packages for different runtimes. Additionally, trace propagation from browsers is crucial for maintaining trace context across services, often implemented by injecting trace IDs into HTTP headers. Highlight.io, an observability platform, leverages OpenTelemetry to visualize spans from various runtimes, aiding developers in identifying performance issues and understanding application behavior under different conditions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
OpenTelemetry 19 527 54 24 -38%
Edge Computing 10 40 14 10 -18%
Observability 5 1,403 282 103 -7%
Developer Experience 1 287 186 98 -17%
Serverless 1 1,024 191 85 +26%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.