Skip to content

Vercel.AI.OpenTelemetry

API reference

Public types in the Vercel.AI.OpenTelemetry namespace.

Type Summary
GenAiConventions GenAI semantic-convention names shared by spans and the UI message protocol.
OpenTelemetryAiTelemetry IAiTelemetry that records spans on ActivitySource.
OpenTelemetryServiceCollectionExtensions Registers OpenTelemetryAiTelemetry.
ResolvableTelemetryAttribute An attribute whose value is computed only when inputs or outputs are recorded.
TelemetryAttributes Selects and sanitizes OpenTelemetry attribute values.
TelemetrySelection Which recorded attributes a telemetry call should keep.
TelemetrySpan Starts an Activity span and records errors on it.

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product