bullmq - v5.64.0
    Preparing search index...

    Interface Tracer<Context>

    Tracer interface

    interface Tracer<Context = any> {
        startSpan(name: string, options?: SpanOptions, context?: Context): Span;
    }

    Type Parameters

    • Context = any
    Index

    Methods

    Methods

    • startSpan creates a new Span with the given name and options on an optional context. If the context is not provided, the current active context should be used.

      Parameters

      • name: string

        span name

      • Optionaloptions: SpanOptions

        span options

      • Optionalcontext: Context

        optional context

      Returns Span

      • the created span