@Configuration @AutoConfigureAfter(value={org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=MetricsProvider.class) @ConditionalOnProperty(name="cxf.metrics.enabled", matchIfMissing=true) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) public class MicrometerMetricsAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
MicrometerMetricsAutoConfiguration.JaxRsMetricsConfiguration |
protected static class |
MicrometerMetricsAutoConfiguration.JaxWsMetricsConfiguration |
Constructor and Description |
---|
MicrometerMetricsAutoConfiguration(CxfProperties properties) |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.config.MeterFilter |
cxfMetricsMaxAllowedClientUriTagsFilter() |
io.micrometer.core.instrument.config.MeterFilter |
cxfMetricsMaxAllowedServerUriTagsFilter() |
ExceptionClassProvider |
exceptionClassProvider() |
MetricsProvider |
metricsProvider(TagsProvider tagsProvider,
List<TagsCustomizer> tagsCustomizers,
TimedAnnotationProvider timedAnnotationProvider,
io.micrometer.core.instrument.MeterRegistry registry) |
StandardTags |
standardTags() |
TagsProvider |
tagsProvider(ExceptionClassProvider exceptionClassProvider,
StandardTags standardTags) |
TimedAnnotationProvider |
timedAnnotationProvider() |
public MicrometerMetricsAutoConfiguration(CxfProperties properties)
@Bean public TimedAnnotationProvider timedAnnotationProvider()
@Bean @ConditionalOnMissingBean(value=ExceptionClassProvider.class) public ExceptionClassProvider exceptionClassProvider()
@Bean @ConditionalOnMissingBean(value=StandardTags.class) public StandardTags standardTags()
@Bean @ConditionalOnMissingBean(value=TagsProvider.class) public TagsProvider tagsProvider(ExceptionClassProvider exceptionClassProvider, StandardTags standardTags)
@Bean @ConditionalOnMissingBean(value=MetricsProvider.class) public MetricsProvider metricsProvider(TagsProvider tagsProvider, List<TagsCustomizer> tagsCustomizers, TimedAnnotationProvider timedAnnotationProvider, io.micrometer.core.instrument.MeterRegistry registry)
@Bean @Order(value=0) public io.micrometer.core.instrument.config.MeterFilter cxfMetricsMaxAllowedServerUriTagsFilter()
@Bean @Order(value=0) public io.micrometer.core.instrument.config.MeterFilter cxfMetricsMaxAllowedClientUriTagsFilter()
Apache CXF