@Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @EnableConfigurationProperties(value=MetricsProperties.class) public class WebMvcMetricsConfiguration extends Object
Constructor and Description |
---|
WebMvcMetricsConfiguration() |
Modifier and Type | Method and Description |
---|---|
WebMvcMetrics |
controllerMetrics(io.micrometer.core.instrument.MeterRegistry registry,
MetricsProperties properties,
WebMvcTagsProvider configurer) |
WebMvcMetricsFilter |
webMetricsFilter(WebMvcMetrics controllerMetrics,
org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector) |
DefaultWebMvcTagsProvider |
webmvcTagConfigurer() |
@Bean @ConditionalOnMissingBean(value=WebMvcTagsProvider.class) public DefaultWebMvcTagsProvider webmvcTagConfigurer()
@Bean public WebMvcMetrics controllerMetrics(io.micrometer.core.instrument.MeterRegistry registry, MetricsProperties properties, WebMvcTagsProvider configurer)
@Bean public WebMvcMetricsFilter webMetricsFilter(WebMvcMetrics controllerMetrics, org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.