@Configuration @ConditionalOnEnabledEndpoint(endpoint=org.springframework.boot.actuate.metrics.export.prometheus.PrometheusScrapeEndpoint.class) public static class PrometheusMetricsExportAutoConfiguration.PrometheusScrapeEndpointConfiguration extends Object
| Constructor and Description |
|---|
PrometheusScrapeEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
PrometheusScrapeEndpoint |
prometheusEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry) |
public PrometheusScrapeEndpointConfiguration()
@Bean @ConditionalOnMissingBean public PrometheusScrapeEndpoint prometheusEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.