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
-
histogramNativeMinZeroThreshold
public MetricsProperties.Builder histogramNativeMinZeroThreshold(Double histogramNativeMinZeroThreshold) -
histogramNativeMaxZeroThreshold
public MetricsProperties.Builder histogramNativeMaxZeroThreshold(Double histogramNativeMaxZeroThreshold) -
histogramNativeMaxNumberOfBuckets
public MetricsProperties.Builder histogramNativeMaxNumberOfBuckets(Integer histogramNativeMaxNumberOfBuckets) -
histogramNativeResetDurationSeconds
public MetricsProperties.Builder histogramNativeResetDurationSeconds(Long histogramNativeResetDurationSeconds) -
summaryQuantiles
-
summaryQuantileErrors
-
summaryMaxAgeSeconds
-
summaryNumberOfAgeBuckets
-