Interface MeterProvider


  • @ThreadSafe
    public interface MeterProvider
    A registry for creating named Meters. The name Provider is for consistency with other languages and it is NOT loaded using reflection.
    See Also:
    Meter
    • Method Detail

      • get

        Meter get​(String instrumentationName)
        Gets or creates a named meter instance.
        Parameters:
        instrumentationName - The name of the instrumentation library, not the name of the instrument*ed* library.
        Returns:
        a tracer instance.
      • get

        Meter get​(String instrumentationName,
                  String instrumentationVersion)
        Gets or creates a named and versioned meter instance.
        Parameters:
        instrumentationName - The name of the instrumentation library, not the name of the instrument*ed* library.
        instrumentationVersion - The version of the instrumentation library.
        Returns:
        a tracer instance.