Package io.prometheus.metrics.config
Class MetricsProperties.Builder
Object
Builder
- Enclosing class:
MetricsProperties
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
exemplarsEnabled
(Boolean exemplarsEnabled) histogramClassicOnly
(Boolean histogramClassicOnly) histogramClassicUpperBounds
(double... histogramClassicUpperBounds) histogramNativeInitialSchema
(Integer histogramNativeInitialSchema) histogramNativeMaxNumberOfBuckets
(Integer histogramNativeMaxNumberOfBuckets) histogramNativeMaxZeroThreshold
(Double histogramNativeMaxZeroThreshold) histogramNativeMinZeroThreshold
(Double histogramNativeMinZeroThreshold) histogramNativeOnly
(Boolean histogramNativeOnly) histogramNativeResetDurationSeconds
(Long histogramNativeResetDurationSeconds) summaryMaxAgeSeconds
(Long summaryMaxAgeSeconds) summaryNumberOfAgeBuckets
(Integer summaryNumberOfAgeBuckets) summaryQuantileErrors
(double... summaryQuantileErrors) summaryQuantiles
(double... summaryQuantiles)
-
Method Details
-
build
-
exemplarsEnabled
-
histogramNativeOnly
-
histogramClassicOnly
-
histogramClassicUpperBounds
-
histogramNativeInitialSchema
public MetricsProperties.Builder histogramNativeInitialSchema(@Nullable Integer histogramNativeInitialSchema) -
histogramNativeMinZeroThreshold
public MetricsProperties.Builder histogramNativeMinZeroThreshold(@Nullable Double histogramNativeMinZeroThreshold) -
histogramNativeMaxZeroThreshold
public MetricsProperties.Builder histogramNativeMaxZeroThreshold(@Nullable Double histogramNativeMaxZeroThreshold) -
histogramNativeMaxNumberOfBuckets
public MetricsProperties.Builder histogramNativeMaxNumberOfBuckets(@Nullable Integer histogramNativeMaxNumberOfBuckets) -
histogramNativeResetDurationSeconds
public MetricsProperties.Builder histogramNativeResetDurationSeconds(@Nullable Long histogramNativeResetDurationSeconds) -
summaryQuantiles
-
summaryQuantileErrors
-
summaryMaxAgeSeconds
-
summaryNumberOfAgeBuckets
public MetricsProperties.Builder summaryNumberOfAgeBuckets(@Nullable Integer summaryNumberOfAgeBuckets)
-