Setu-TS
    Preparing search index...

    Interface ISpan

    A span represents a single operation within a trace.

    0.2.0

    interface ISpan {
        end(): void;
        recordException(error: Error): void;
        setAttribute(key: string, value: SpanAttributeValue): this;
        setAttributes(
            attributes: Readonly<Record<string, SpanAttributeValue>>,
        ): this;
        setStatus(status: SpanStatus): void;
        spanContext(): SpanContext;
    }
    Index