Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProxyTracerProvider

Tracer provider which provides ProxyTracers.

Before a delegate is set, tracers provided are NoOp. When a delegate is set, traces are provided from the delegate. When a delegate is set after tracers have already been provided, all tracers already provided will use the provided delegate implementation.

Hierarchy

  • ProxyTracerProvider

Implements

Index

Properties

Private Optional _delegate

_delegate: TracerProvider

Methods

getDelegate

getDelegateTracer

  • getDelegateTracer(name: string, version?: undefined | string): Tracer | undefined

getTracer

  • getTracer(name: string, version?: undefined | string): Tracer

setDelegate