Class DistributionDataPointSnapshot.Builder<T extends DistributionDataPointSnapshot.Builder<T>>
java.lang.Object
io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder<T>
io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder<T>
- Direct Known Subclasses:
HistogramSnapshot.HistogramDataPointSnapshot.Builder,SummarySnapshot.SummaryDataPointSnapshot.Builder
- Enclosing class:
DistributionDataPointSnapshot
abstract static class DistributionDataPointSnapshot.Builder<T extends DistributionDataPointSnapshot.Builder<T>>
extends DataPointSnapshot.Builder<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected longprotected Exemplarsprotected doubleFields inherited from class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
labels, scrapeTimestampMillis -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Tcount(long count) Count can be explicitly set on summaries (this is a public method for summary metrics), and it is set implicitly on histograms (derived from the bucket counts).createdTimestampMillis(long createdTimestampMillis) sum(double sum) Methods inherited from class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
labels, scrapeTimestampMillis, self
-
Field Details
-
count
protected long count -
sum
protected double sum -
createdTimestampMillis
protected long createdTimestampMillis -
exemplars
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
count
Count can be explicitly set on summaries (this is a public method for summary metrics), and it is set implicitly on histograms (derived from the bucket counts). -
sum
-
exemplars
-
createdTimestampMillis
-