evalution
    Preparing search index...

    Class OTelTraceIngestor

    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 OTelTraceIngestor should be active per server — isRedundant reports any other instance redundant so server wiring can consolidate.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    sinks: TraceSink[] = []

    Methods

    • Waits for every in-flight onStart/onEnd handler to settle. Used by tests to deterministically assert on the resulting trace store.

      Returns Promise<void>

    • Returns a SpanProcessor that funnels every OpenTelemetry span the caller's tracer produces into this ingestor's sinks.

      Returns SpanProcessor