evalution
    Preparing search index...

    Interface TraceIngestor

    A source of trace data. Translates some upstream signal (OTel spans, native AI SDK telemetry, an external collector) into normalized Spans and feeds the TraceSink(s) it is connected to.

    interface TraceIngestor {
        addSink(sink: TraceSink): void;
        isRedundant?(other: TraceIngestor): boolean;
        removeSink(sink: TraceSink): boolean;
    }

    Implemented by

    Index

    Methods

    • Optional: returns true if other is made redundant by this ingestor and should be excluded from the collected set. The decision may depend on this ingestor's own configuration. Used by the server to consolidate overlapping ingestors — e.g. OTelTraceIngestor reports any other OTelTraceIngestor redundant because OTel is a single process-global pipeline.

      Parameters

      Returns boolean