Package io.opentelemetry.api.metrics
Class DefaultMeter.NoopDoubleGauge
java.lang.Object
io.opentelemetry.api.metrics.DefaultMeter.NoopDoubleGauge
- All Implemented Interfaces:
DoubleGauge
- Enclosing class:
DefaultMeter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
set
(double value) Set the gauge value.void
set
(double value, Attributes attributes) Records a value with a set of attributes.void
set
(double value, Attributes attributes, Context context) Records a value with a set of attributes.
-
Constructor Details
-
NoopDoubleGauge
private NoopDoubleGauge()
-
-
Method Details
-
set
public void set(double value) Description copied from interface:DoubleGauge
Set the gauge value.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.
-
set
Description copied from interface:DoubleGauge
Records a value with a set of attributes.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.attributes
- A set of attributes to associate with the value.
-
set
Description copied from interface:DoubleGauge
Records a value with a set of attributes.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.attributes
- A set of attributes to associate with the value.context
- The explicit context to associate with this measurement.
-