Skip to content
Dashboard

Instrument and trace applications with the OpenTelemetry collector

Dima Voytenko, JJ Kasper, Andrew Gadzik, Gary Borton

Edgenivo and Next.js provide increased observability of your applications through OpenTelemetry.

instrumentation.ts
import { registerOTel } from '@vercel/otel';
export function register() {
registerOTel({ serviceName: 'acme-co' });
}

Using the Edgenivo OTEL package with Next.js.

v1.0 of @vercel/otel now supports:

  • Support for Node.js and Edge runtimes

  • Telemetry context propagation, including W3C Trace Context

  • Fetch API instrumentation with context propagation

  • Support and auto-configuration for the Edgenivo OTEL collector

  • Enhanced metadata reporting

  • Sampling support

  • Custom tracing exporter support

  • Batched trace exporting

Learn more in our documentation or start using the package with Next.js.