Register this TracerProvider for use with the OpenTelemetry API. Undefined values may be replaced with defaults, and null values will be skipped.

Configuration object for SDK registration

Hierarchy (View Summary, Expand)

Constructors

Methods

  • Returns Promise<void>

  • 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.

    • Optionalversion: string

      The version of the tracer or instrumentation library.

    • Optionaloptions: { schemaUrl?: string }

      The options of the tracer or instrumentation library.

    Returns @opentelemetry/api.Tracer

    Tracer A Tracer with the given name and version

  • Register this TracerProvider for use with the OpenTelemetry API. Undefined values may be replaced with defaults, and null values will be skipped.

    Parameters

    Returns void

  • Returns Promise<void>

MMNEPVFCICPMFPCPTTAAATR