Class Summary.DataPoint
java.lang.Object
io.prometheus.metrics.core.metrics.Summary.DataPoint
- All Implemented Interfaces:
DataPoint
,DistributionDataPoint
,TimerApi
- Enclosing class:
- Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
observe
(double value) Observevalue
.void
observeWithExemplar
(double value, io.prometheus.metrics.model.snapshots.Labels labels) Observevalue
, and create a custom exemplar with the given labels.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
startTimer
Methods inherited from interface io.prometheus.metrics.core.datapoints.TimerApi
time, time, timeChecked
-
Method Details
-
observe
Observevalue
.- Specified by:
observe
in interfaceDistributionDataPoint
-
observeWithExemplar
Observevalue
, and create a custom exemplar with the given labels.- Specified by:
observeWithExemplar
in interfaceDistributionDataPoint
-