Daemons can now send traces to Vercel Tracing

Vercel Daemons can now send OpenTelemetry traces to Vercel Tracing, allowing you and your agents to inspect background worker operations alongside the rest of your project's traces.

Vercel provides each daemon with a Unix socket for receiving OTLP/HTTP traces and sets the socket's path in VERCEL_OTEL_SOCKET_PATH.

Upgrading @vercel/otel to version 2.3.0 or later enables automatic trace export for Node.js daemons using the default configuration. The SDK detects this socket and sends the spans your worker records to Vercel.

These spans are available through the Vercel CLI, which can search by service name within a project and return JSON for your agents.

Learn more in the daemon tracing documentation.

Read more

← Vercel AIAll Companies