Module io.prometheus.metrics.core
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 TypeMethodDescriptionvoidobserve(double value) Observevalue.voidobserveWithExemplar(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, waitMethods inherited from interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
startTimerMethods inherited from interface io.prometheus.metrics.core.datapoints.TimerApi
time, time, timeChecked
-
Method Details
-
observe
public void observe(double value) Description copied from interface:DistributionDataPointObservevalue.- Specified by:
observein interfaceDistributionDataPoint
-
observeWithExemplar
public void observeWithExemplar(double value, io.prometheus.metrics.model.snapshots.Labels labels) Description copied from interface:DistributionDataPointObservevalue, and create a custom exemplar with the given labels.- Specified by:
observeWithExemplarin interfaceDistributionDataPoint
-