EnrichSpanContext
Namespace: Vercel.AI.OpenTelemetry
public sealed class EnrichSpanContextThe call an EnrichSpan callback is asked about. Maps to the callback options in EnrichSpan.
Inheritance: object
Properties
Section titled “Properties”CallId
Section titled “CallId”public string CallId { get; init; }The call id.
Value: string
OperationId
Section titled “OperationId”public string OperationId { get; init; }The operation id, such as ai.generateText.
Value: string
RuntimeContext
Section titled “RuntimeContext”public IReadOnlyDictionary<string, object?>? RuntimeContext { get; init; }The runtime context of the call, or null.
Value: IReadOnlyDictionary<string, object>
SpanType
Section titled “SpanType”public OpenTelemetrySpanType SpanType { get; init; }The kind of span being created.
Value: OpenTelemetrySpanType
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product