Class HttpClientMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.web.client.HttpClientMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class,RestTemplateAutoConfiguration.class})
@ConditionalOnClass(io.micrometer.core.instrument.MeterRegistry.class)
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
@Import({org.springframework.boot.actuate.autoconfigure.metrics.web.client.RestTemplateMetricsConfiguration.class,org.springframework.boot.actuate.autoconfigure.metrics.web.client.WebClientMetricsConfiguration.class})
public class HttpClientMetricsAutoConfiguration
extends Object
Auto-configuration
for HTTP client-related metrics.- Since:
- 2.1.0
- Author:
- Jon Schneider, Phillip Webb, Stephane Nicoll, Raheela Aslam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.config.MeterFilter
metricsHttpClientUriTagFilter
(MetricsProperties properties)
-
Constructor Details
-
HttpClientMetricsAutoConfiguration
public HttpClientMetricsAutoConfiguration()
-
-
Method Details
-
metricsHttpClientUriTagFilter
@Bean @Order(0) public io.micrometer.core.instrument.config.MeterFilter metricsHttpClientUriTagFilter(MetricsProperties properties)
-