Options
All
  • Public
  • Public/Protected
  • All
Menu

Proxy tracer provided by the proxy tracer provider

Hierarchy

  • ProxyTracer

Implements

Index

Constructors

Properties

name: string
options?: TracerOptions
version?: string

Methods

  • startActiveSpan<F>(_name: string, _options: SpanOptions | F, _context?: Context | F, _fn?: F): ReturnType<F>
  • Starts a new Span and calls the given function passing it the created span as first argument. Additionally the new span gets set in context and this context is activated for the duration of the function call.

    Type Parameters

    • F extends ((span: Span) => unknown)

    Parameters

    Returns ReturnType<F>

Generated using TypeDoc