Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MeterProvider

A registry for creating named Meters.

Hierarchy

  • MeterProvider

Implemented by

Index

Methods

Methods

getMeter

  • getMeter(name: string, version?: undefined | string): Meter
  • Returns a Meter, creating one if one with the given name and version is not already created.

    Parameters

    • name: string

      The name of the meter or instrumentation library.

    • Optional version: undefined | string

      The version of the meter or instrumentation library.

    Returns Meter

    Meter A Meter with the given name and version