Package io.prometheus.metrics.config
Class MetricsProperties.Builder
java.lang.Object
io.prometheus.metrics.config.MetricsProperties.Builder
- Enclosing class:
- MetricsProperties
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withExemplarsEnabled(Boolean exemplarsEnabled) withHistogramClassicOnly(Boolean histogramClassicOnly) withHistogramClassicUpperBounds(double... histogramClassicUpperBounds) withHistogramNativeInitialSchema(Integer histogramNativeInitialSchema) withHistogramNativeMaxNumberOfBuckets(Integer histogramNativeMaxNumberOfBuckets) withHistogramNativeMaxZeroThreshold(Double histogramNativeMaxZeroThreshold) withHistogramNativeMinZeroThreshold(Double histogramNativeMinZeroThreshold) withHistogramNativeOnly(Boolean histogramNativeOnly) withHistogramNativeResetDurationSeconds(Long histogramNativeResetDurationSeconds) withSummaryMaxAgeSeconds(Long summaryMaxAgeSeconds) withSummaryNumberOfAgeBuckets(Integer summaryNumberOfAgeBuckets) withSummaryQuantileErrors(double... summaryQuantileErrors) withSummaryQuantiles(double... summaryQuantiles)
-
Method Details
-
build
-
withExemplarsEnabled
-
withHistogramNativeOnly
-
withHistogramClassicOnly
-
withHistogramClassicUpperBounds
public MetricsProperties.Builder withHistogramClassicUpperBounds(double... histogramClassicUpperBounds) -
withHistogramNativeInitialSchema
public MetricsProperties.Builder withHistogramNativeInitialSchema(Integer histogramNativeInitialSchema) -
withHistogramNativeMinZeroThreshold
public MetricsProperties.Builder withHistogramNativeMinZeroThreshold(Double histogramNativeMinZeroThreshold) -
withHistogramNativeMaxZeroThreshold
public MetricsProperties.Builder withHistogramNativeMaxZeroThreshold(Double histogramNativeMaxZeroThreshold) -
withHistogramNativeMaxNumberOfBuckets
public MetricsProperties.Builder withHistogramNativeMaxNumberOfBuckets(Integer histogramNativeMaxNumberOfBuckets) -
withHistogramNativeResetDurationSeconds
public MetricsProperties.Builder withHistogramNativeResetDurationSeconds(Long histogramNativeResetDurationSeconds) -
withSummaryQuantiles
-
withSummaryQuantileErrors
-
withSummaryMaxAgeSeconds
-
withSummaryNumberOfAgeBuckets
-