Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProxyTracer

Proxy tracer provided by the proxy tracer provider

Hierarchy

  • ProxyTracer

Implements

Index

Constructors

constructor

Properties

Private Optional _delegate

_delegate: Tracer

Private _provider

Readonly name

name: string

Optional Readonly version

version: undefined | string

Methods

Private _getTracer

  • Try to get a tracer from the proxy tracer provider. If the proxy tracer provider has no delegate, return a noop tracer.

    Returns Tracer

bind

  • bind<T>(target: T, span?: Span): T

getCurrentSpan

  • getCurrentSpan(): Span | undefined

startSpan

withSpan

  • withSpan<T>(span: Span, fn: T): ReturnType<T>