Skip to content

Platform Telemetry ​

The root and /otel entry points own OpenTelemetry tracing, metrics, aggregation, and export. Metric readers for OTLP/HTTP, OTLP/gRPC, Prometheus scraping, and console diagnostics are separate /otel/providers/* entry points.

The /measurements entry point records individual numeric values without an OpenTelemetry instrument type. Its optional /measurements/providers/vercel and /measurements/providers/empty sinks are separate build entry points. The Vercel dependency is loaded only when that provider is imported.

mermaid
flowchart LR
  App[Application] --> Otel[OpenTelemetry API and SDK]
  Otel --> OtelProviders[OTLP / Prometheus / Console]
  App --> Measurements[Individual measurements]
  Measurements --> Sinks[Vercel / No-op]

See the telemetry and observability guide for registration, recording, and the distinction between aggregated OpenTelemetry metrics and Vercel data points. The API reference lists public types and classes.

Released under the MIT License.