A registry for creating named Meters.

1.3.0

interface MeterProvider {
    getMeter(
        name: string,
        version?: string,
        options?: @opentelemetry/api.MeterOptions,
    ): @opentelemetry/api.Meter;
}

Implemented by

Methods

Methods

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

    Parameters

    • name: string

      The name of the meter or instrumentation library.

    • Optionalversion: string

      The version of the meter or instrumentation library.

    • Optionaloptions: @opentelemetry/api.MeterOptions

      The options of the meter or instrumentation library.

    Returns @opentelemetry/api.Meter

    Meter A Meter with the given name and version

MMNEPVFCICPMFPCPTTAAATR