@Configuration @ConditionalOnBean(value={CounterService.class,GaugeService.class}) @ConditionalOnClass(value={javax.servlet.Servlet.class,javax.servlet.ServletRegistration.class,org.springframework.web.filter.OncePerRequestFilter.class,org.springframework.web.servlet.HandlerMapping.class}) @ConditionalOnProperty(name="endpoints.metrics.filter.enabled", matchIfMissing=true) @EnableConfigurationProperties(value=MetricFilterProperties.class) public class MetricFilterAutoConfiguration extends Object
Constructor and Description |
---|
MetricFilterAutoConfiguration(CounterService counterService,
GaugeService gaugeService,
MetricFilterProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.autoconfigure.MetricsFilter |
metricsFilter() |
public MetricFilterAutoConfiguration(CounterService counterService, GaugeService gaugeService, MetricFilterProperties properties)
@Bean public org.springframework.boot.actuate.autoconfigure.MetricsFilter metricsFilter()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.