Class ClassicHistogramBuckets.Builder
java.lang.Object
io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
- Enclosing class:
ClassicHistogramBuckets
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket(double upperBound, long count) Must be called at least once for theDouble.POSITIVE_INFINITYbucket.build()Will throw anIllegalArgumentExceptionif theDouble.POSITIVE_INFINITYbucket is missing.
-
Field Details
-
upperBounds
-
counts
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
bucket
Must be called at least once for theDouble.POSITIVE_INFINITYbucket. -
build
Will throw anIllegalArgumentExceptionif theDouble.POSITIVE_INFINITYbucket is missing.
-