Class HistogramSnapshot.HistogramDataPointSnapshot.Builder
Object
DataPointSnapshot.Builder<T>
Builder
- Enclosing class:
- HistogramSnapshot.HistogramDataPointSnapshot
public static class HistogramSnapshot.HistogramDataPointSnapshot.Builder
extends DataPointSnapshot.Builder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
classicHistogramBuckets
(ClassicHistogramBuckets classicBuckets) createdTimestampMillis
(long createdTimestampMillis) nativeBucketsForNegativeValues
(NativeHistogramBuckets bucketsForNegativeValues) nativeBucketsForPositiveValues
(NativeHistogramBuckets bucketsForPositiveValues) nativeSchema
(int nativeSchema) nativeZeroCount
(long zeroCount) nativeZeroThreshold
(double zeroThreshold) sum
(double sum) Methods inherited from class DataPointSnapshot.Builder
labels, scrapeTimestampMillis
-
Method Details
-
classicHistogramBuckets
public HistogramSnapshot.HistogramDataPointSnapshot.Builder classicHistogramBuckets(ClassicHistogramBuckets classicBuckets) -
nativeSchema
-
nativeZeroCount
-
nativeZeroThreshold
public HistogramSnapshot.HistogramDataPointSnapshot.Builder nativeZeroThreshold(double zeroThreshold) -
nativeBucketsForPositiveValues
public HistogramSnapshot.HistogramDataPointSnapshot.Builder nativeBucketsForPositiveValues(NativeHistogramBuckets bucketsForPositiveValues) -
nativeBucketsForNegativeValues
public HistogramSnapshot.HistogramDataPointSnapshot.Builder nativeBucketsForNegativeValues(NativeHistogramBuckets bucketsForNegativeValues) -
build
-
sum
-
exemplars
-
createdTimestampMillis
public HistogramSnapshot.HistogramDataPointSnapshot.Builder createdTimestampMillis(long createdTimestampMillis)
-