Package io.prometheus.metrics.config
Class MetricsProperties.Builder
java.lang.Object
io.prometheus.metrics.config.MetricsProperties.Builder
- Enclosing class:
- MetricsProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
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)
-
Field Details
-
exemplarsEnabled
-
histogramNativeOnly
-
histogramClassicOnly
-
histogramClassicUpperBounds
-
histogramNativeInitialSchema
-
histogramNativeMinZeroThreshold
-
histogramNativeMaxZeroThreshold
-
histogramNativeMaxNumberOfBuckets
-
histogramNativeResetDurationSeconds
-
summaryQuantiles
-
summaryQuantileErrors
-
summaryMaxAgeSeconds
-
summaryNumberOfAgeBuckets
-
-
Constructor Details
-
Builder
private Builder()
-
-
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
-