@ThreadSafe public interface MeterProvider
Meters. The name Provider is for consistency with
other languages and it is NOT loaded using reflection.OpenTelemetry,
Meter| 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.
|
Meter get(String instrumentationName)
instrumentationName - The name of the instrumentation library, not the name of the
instrument*ed* library.Meter get(String instrumentationName, String instrumentationVersion)
instrumentationName - The name of the instrumentation library, not the name of the
instrument*ed* library.instrumentationVersion - The version of the instrumentation library.