Module io.prometheus.metrics.core
Class Histogram.DataPoint
Object
DataPoint
- All Implemented Interfaces:
DataPoint,DistributionDataPoint,TimerApi
- Enclosing class:
Histogram
-
Method Summary
Modifier and TypeMethodDescriptionvoidobserve(double value) Observevalue.voidobserveWithExemplar(double value, Labels labels) Observevalue, and create a custom exemplar with the given labels.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DistributionDataPoint
startTimerMethods inherited from interface TimerApi
time, time, timeChecked
-
Method Details
-
observe
Observevalue.- Specified by:
observein interfaceDistributionDataPoint
-
observeWithExemplar
Observevalue, and create a custom exemplar with the given labels.- Specified by:
observeWithExemplarin interfaceDistributionDataPoint
-