Add a sink. May be called multiple times; the ingestor writes to every added sink.
Waits for every in-flight onStart/onEnd handler to settle. Used by
tests to deterministically assert on the resulting trace store.
ProtectedfailReturns a SpanProcessor that funnels every OpenTelemetry span the
caller's tracer produces into this ingestor's sinks.
ProtectedrecordProtectedrecordRemove a previously-added sink. Returns true if the given sink was found
and removed, otherwise false.
TraceIngestor populated by OpenTelemetry spans. Register the processor returned by getSpanProcessor on a
BasicTracerProvider(from@opentelemetry/sdk-trace-base).Because OpenTelemetry is a single process-global pipeline, at most one
OTelTraceIngestorshould be active per server — isRedundant reports any other instance redundant so server wiring can consolidate.