Package io.micrometer.core.instrument
Class Measurement
java.lang.Object
io.micrometer.core.instrument.Measurement
A measurement sampled from a meter.
-
Constructor Summary
ConstructorDescriptionMeasurement
(DoubleSupplier valueFunction, Statistic statistic) Create aMeasurement
instance.Measurement
(Supplier<Double> valueFunction, Statistic statistic) -
Method Summary
-
Constructor Details
-
Measurement
Create aMeasurement
instance.- Parameters:
valueFunction
- value functionstatistic
- statistic type- Since:
- 1.10.0
-
Measurement
-
-
Method Details