Hierarchy

  • Tracer

Constructors

Properties

_config: TracerConfig = ...
_provider: null | BasicTracerProvider | WebTracerProvider = null
_spans: Span[] = []
_tracer: Tracer

Methods

  • Returns undefined | Span

  • Parameters

    • name: string

    Returns void

  • Parameters

    • span: Span

    Returns void

  • Parameters

    • event: string
    • Optional data: unknown
    • tracingLevel: TracingLevel = TracingLevel.Low

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • error: Exception
    • tracingLevel: TracingLevel = TracingLevel.Low

    Returns void

  • Parameters

    • attrName: string
    • data: unknown
    • tracingLevel: TracingLevel = TracingLevel.Low

    Returns void

  • Parameters

    • spanName: string
    • tracingLevel: TracingLevel = TracingLevel.Low

    Returns void

  • Type Parameters

    • TArgs extends unknown[]

    • TReturn

    Parameters

    • span: string
    • func: ((...args) => TReturn)
        • (...args): TReturn
        • Parameters

          • Rest ...args: TArgs

          Returns TReturn

    • tracingLevel: TracingLevel = TracingLevel.Low

    Returns ((...args) => TReturn)

      • (...args): TReturn
      • Parameters

        • Rest ...args: TArgs

        Returns TReturn

  • Parameters

    Returns ((target, key, descriptor) => PropertyDescriptor)

      • (target, key, descriptor): PropertyDescriptor
      • Parameters

        • target: unknown
        • key: string | symbol
        • descriptor: PropertyDescriptor

        Returns PropertyDescriptor

Generated using TypeDoc