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 TypeMethodDescriptionvoidset(double value) Set the gauge value.voidset(double value, Attributes attributes) Records a value with a set of attributes.voidset(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:DoubleGaugeSet the gauge value.- Specified by:
setin interfaceDoubleGauge- Parameters:
value- The current gauge value.
-
set
Description copied from interface:DoubleGaugeRecords a value with a set of attributes.- Specified by:
setin interfaceDoubleGauge- Parameters:
value- The current gauge value.attributes- A set of attributes to associate with the value.
-
set
Description copied from interface:DoubleGaugeRecords a value with a set of attributes.- Specified by:
setin 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.
-