Package io.prometheus.metrics.config
Class PrometheusProperties.Builder
Object
Builder
- Enclosing class:
PrometheusProperties
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultMetricsProperties
(MetricsProperties defaultMetricsProperties) exemplarProperties
(ExemplarsProperties exemplarProperties) exporterFilterProperties
(ExporterFilterProperties exporterFilterProperties) exporterHttpServerProperties
(ExporterHttpServerProperties exporterHttpServerProperties) exporterOpenTelemetryProperties
(ExporterOpenTelemetryProperties exporterOpenTelemetryProperties) exporterProperties
(ExporterProperties exporterProperties) metricProperties
(Map<String, MetricsProperties> metricProperties) pushgatewayProperties
(ExporterPushgatewayProperties pushgatewayProperties) putMetricProperty
(String name, MetricsProperties props) Convenience for adding a single named MetricsProperties
-
Method Details
-
defaultMetricsProperties
public PrometheusProperties.Builder defaultMetricsProperties(MetricsProperties defaultMetricsProperties) -
metricProperties
public PrometheusProperties.Builder metricProperties(Map<String, MetricsProperties> metricProperties) -
putMetricProperty
Convenience for adding a single named MetricsProperties -
exemplarProperties
-
exporterProperties
-
exporterFilterProperties
public PrometheusProperties.Builder exporterFilterProperties(ExporterFilterProperties exporterFilterProperties) -
exporterHttpServerProperties
public PrometheusProperties.Builder exporterHttpServerProperties(ExporterHttpServerProperties exporterHttpServerProperties) -
pushgatewayProperties
public PrometheusProperties.Builder pushgatewayProperties(ExporterPushgatewayProperties pushgatewayProperties) -
exporterOpenTelemetryProperties
public PrometheusProperties.Builder exporterOpenTelemetryProperties(ExporterOpenTelemetryProperties exporterOpenTelemetryProperties) -
build
-