
"Vercel has released Vercel Drains, a system for exporting observability data from its platform into external services. The feature unifies logs, distributed traces, web analytics events, and performance metrics into a single streaming mechanism. The system covers logs from multiple sources such as runtime, build, firewall, function, and static asset logs. It exports OpenTelemetry compatible trace data, web analytics data like page views and custom events, and Speed Insights metrics including core web vitals."
"Since Vercel controls the request path from client to serverless execution, the platform automatically enriches log entries with traceId and spanId, linking logs and traces without additional setup. The configuration can be done through HTTP drains, which allow custom endpoints with flexible format, sampling, and signature options, or through integration drains that connect directly to observability vendors. The exported traces follow OpenTelemetry standards, making them compatible with systems such as Datadog, Honeycomb, Grafana Tempo, and New Relic."
Vercel Drains streams unified observability data from Vercel into external services via a single mechanism. The system collects logs from runtime, build, firewall, function, and static asset sources. It exports OpenTelemetry-compatible traces, web analytics such as page views and custom events, and Speed Insights metrics including core web vitals. Vercel enriches log entries with traceId and spanId by controlling the request path, enabling automatic linkage between logs and traces without additional instrumentation. Configuration supports HTTP drains with custom endpoints and integration drains for direct vendor connections, with options for format, sampling, and signatures.
Read at InfoQ
Unable to calculate read time
Collection
[
|
...
]