Uses of Class
io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
Uses of CounterSnapshot.CounterDataPointSnapshot in io.prometheus.metrics.model.snapshots
Modifier and TypeMethodDescriptionCounterSnapshot.Builder.dataPoint
(CounterSnapshot.CounterDataPointSnapshot dataPoint) Add a data point.ModifierConstructorDescriptionCounterSnapshot
(MetricMetadata metadata, Collection<CounterSnapshot.CounterDataPointSnapshot> dataPoints) To create a newCounterSnapshot
, you can either call the constructor directly or use the builder withCounterSnapshot.builder()
.