Skip to main content
Products & Tools

Vercel Enhances Daemon Tracing with OpenTelemetry Support

Vercel now allows daemons to send traces to Vercel Tracing via OpenTelemetry.

By Precis Daily Newsroom1 min read169 words
AI-summarized from the linked source and published automatically — not human-edited.How this works →
Illustration for: Vercel Enhances Daemon Tracing with OpenTelemetry Support
Illustration

What happened

Vercel has introduced support for sending OpenTelemetry traces from daemons to its tracing service. This allows developers to monitor background operations through the Vercel Tracing platform.

The update enables daemons to communicate with Vercel Tracing using a Unix socket, which is configured through the environment variable VERCEL_OTEL_SOCKET_PATH. This setup facilitates the automatic export of traces for Node.js daemons when using the @vercel/otel package version 2.3.0 or later.

Why it matters

This enhancement improves the observability of background processes, which are often critical for the performance and reliability of applications. By integrating with Vercel Tracing, developers can gain deeper insights into daemon behavior and optimize their services accordingly.

Key details

The OpenTelemetry protocol is used for collecting and exporting traces, with OTLP/HTTP being the format for data transmission. Vercel provides each daemon with a dedicated Unix socket for receiving these traces.

The Vercel CLI offers access to trace data, allowing users to search for traces by service name and retrieve JSON data for further analysis.

Sources

Summarized from the linked originals.

Related stories