Uses of Class
io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Uses of HistogramSnapshot.HistogramDataPointSnapshot in io.prometheus.metrics.model.snapshots
Modifier and TypeMethodDescriptionHistogramSnapshot.Builder.dataPoint
(HistogramSnapshot.HistogramDataPointSnapshot dataPoint) Add a data point.ModifierConstructorDescriptionHistogramSnapshot
(boolean isGaugeHistogram, MetricMetadata metadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot> data) Use this with the first parametertrue
to create a snapshot of a Gauge Histogram.HistogramSnapshot
(MetricMetadata metadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot> data) To create a newHistogramSnapshot
, you can either call the constructor directly or use the builder withHistogramSnapshot.builder()
.