@ThreadSafe public final class DefaultMeterProvider extends Object implements MeterProvider
| Modifier and Type | Method and Description |
|---|---|
Meter |
get(String instrumentationName)
Gets or creates a named meter instance.
|
Meter |
get(String instrumentationName,
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(String instrumentationName)
MeterProviderget in interface MeterProviderinstrumentationName - The name of the instrumentation library, not the name of the
instrument*ed* library.public Meter get(String instrumentationName, String instrumentationVersion)
MeterProviderget in interface MeterProviderinstrumentationName - The name of the instrumentation library, not the name of the
instrument*ed* library.instrumentationVersion - The version of the instrumentation library.