Skip to content

OpenAITracingExporter

A tracing exporter that exports traces to OpenAI’s tracing API.

new OpenAITracingExporter(options?): OpenAITracingExporter
Parameter Type

options?

Partial<OpenAITracingExporterOptions>

OpenAITracingExporter

export(items, signal?): Promise<void>

Export the given traces and spans

Parameter Type Description

items

( | Span<any> | Trace)[]

The traces and spans to export

signal?

AbortSignal

Promise<void>

TracingExporter.export