Interface Tracer<Context>

Tracer interface

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

Type Parameters

  • Context = any

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

    Returns Span<any>

Generated using TypeDoc