@ManagementContextConfiguration
@ConditionalOnClass(value=org.springframework.boot.actuate.endpoint.AbstractEndpoint.class)
public static class PrometheusMetricsExportAutoConfiguration.PrometheusScrapeEndpointConfiguration
extends java.lang.Object
Constructor and Description |
---|
PrometheusScrapeEndpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
PrometheusScrapeEndpoint |
prometheusEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry) |
PrometheusScrapeMvcEndpoint |
prometheusMvcEndpoint(PrometheusScrapeEndpoint delegate) |
public PrometheusScrapeEndpointConfiguration()
@Bean public PrometheusScrapeEndpoint prometheusEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry)
@Bean public PrometheusScrapeMvcEndpoint prometheusMvcEndpoint(PrometheusScrapeEndpoint delegate)