@ThreadSafe
public interface MeterProvider
Meter
s. 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(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.
|
Meter get(java.lang.String instrumentationName)
instrumentationName
- The name of the instrumentation library, not the name of the
instrument*ed* library.Meter get(java.lang.String instrumentationName, java.lang.String instrumentationVersion)
instrumentationName
- The name of the instrumentation library, not the name of the
instrument*ed* library.instrumentationVersion
- The version of the instrumentation library.