Module io.prometheus.metrics.model
Class SummarySnapshot.SummaryDataPointSnapshot.Builder
java.lang.Object
io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder<T>
io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- Enclosing class:
- SummarySnapshot.SummaryDataPointSnapshot
public static class SummarySnapshot.SummaryDataPointSnapshot.Builder
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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()count(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) self()sum(double sum) Methods inherited from class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
labels, scrapeTimestampMillis
-
Field Details
-
count
protected long count -
sum
protected double sum -
createdTimestampMillis
protected long createdTimestampMillis -
exemplars
-
-
Method Details
-
self
- Specified by:
selfin classDataPointSnapshot.Builder<SummarySnapshot.SummaryDataPointSnapshot.Builder>
-
quantiles
-
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). -
build
-
sum
-
exemplars
-
createdTimestampMillis
public SummarySnapshot.SummaryDataPointSnapshot.Builder createdTimestampMillis(long createdTimestampMillis)
-