dd-trace
    Preparing search index...

    Type Alias SpanOptions

    SpanOptions: Omit<opentracing.SpanOptions, "childOf"> & {
        childOf?: opentracing.Span | opentracing.SpanContext | null;
        integrationName?: string;
    }

    Type Declaration

    • OptionalchildOf?: opentracing.Span | opentracing.SpanContext | null

      Set childOf to 'null' to create a root span without a parent, even when a parent span exists in the current async context. If 'undefined' the parent will be inferred from the existing async context.

    • OptionalintegrationName?: string

      Optional name of the integration that crated this span.