Class AbstractMeter
java.lang.Object
com.couchbase.client.core.cnc.metrics.AbstractMeter
The user's choice of
ObservabilitySemanticConvention(s) means they may want
up to two metrics output for each metric we produce (v0 and/or v1).
This class abstracts over that, created WrappedValueRecorder and
WrappedCounter objects that can contain one or more underlying objects.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMeter(Meter originalMeter, List<ObservabilitySemanticConvention> conventions) -
Method Summary
Modifier and TypeMethodDescriptioncounter(CounterName metric, ResponseMetricIdentifier rmi) booleanbooleanvalueRecorder(ValueRecorderName metric, ResponseMetricIdentifier rmi)
-
Constructor Details
-
AbstractMeter
-
-
Method Details
-
counter
-
valueRecorder
-
isDefaultLoggingMeter
public boolean isDefaultLoggingMeter() -
isNoopMeter
public boolean isNoopMeter()
-