SpanExporter
Defined in: src/observability/tracing.ts:49
Pluggable span exporter interface.
Implementations ship completed spans to a backend (OTLP collector,
console, or any custom destination). Export is expected to be called
via waitUntil() so it does not block the response.
Methods
Section titled “Methods”export()
Section titled “export()”export(
spans):Promise<void>
Defined in: src/observability/tracing.ts:50
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<void>
shutdown()?
Section titled “shutdown()?”
optionalshutdown():Promise<void>
Defined in: src/observability/tracing.ts:51
Returns
Section titled “Returns”Promise<void>