Skip to content

TracingExporter

Exports traces and spans. For example, could log them or send them to a backend.

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

Export the given traces and spans

Parameter Type Description

items

(Trace | Span)[]

The traces and spans to export

signal?

AbortSignal

Promise<void>