@ThreadSafe public final class DefaultMeterProvider extends java.lang.Object implements MeterProvider
Modifier and Type | Method and Description |
---|---|
Meter |
get(java.lang.String instrumentationName)
Gets or creates a named meter instance.
|
Meter |
get(java.lang.String instrumentationName,
java.lang.String instrumentationVersion)
Gets or creates a named and versioned meter instance.
|
static MeterProvider |
getInstance()
Returns a
MeterProvider singleton that is the default implementation for MeterProvider . |
public static MeterProvider getInstance()
MeterProvider
singleton that is the default implementation for MeterProvider
.MeterProvider
singleton that is the default implementation for MeterProvider
.public Meter get(java.lang.String instrumentationName)
MeterProvider
get
in interface MeterProvider
instrumentationName
- The name of the instrumentation library, not the name of the
instrument*ed* library.public Meter get(java.lang.String instrumentationName, java.lang.String instrumentationVersion)
MeterProvider
get
in interface MeterProvider
instrumentationName
- The name of the instrumentation library, not the name of the
instrument*ed* library.instrumentationVersion
- The version of the instrumentation library.