Interface TracerProvider

A registry for creating named Tracers.

Hierarchy

  • TracerProvider

Implemented by

Methods

Methods

  • Returns a Tracer, creating one if one with the given name and version is not already created.

    This function may return different Tracer types (e.g. NoopTracerProvider vs. a functional tracer).

    Parameters

    • name: string

      The name of the tracer or instrumentation library.

    • Optional version: string

      The version of the tracer or instrumentation library.

      Optional
    • Optional options: TracerOptions

      The options of the tracer or instrumentation library.

      Optional

    Returns Tracer

    Tracer A Tracer with the given name and version

Generated using TypeDoc