Class JerseyServerMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.jersey.JerseyServerMetricsAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class})
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({org.glassfish.jersey.server.ResourceConfig.class,io.micrometer.core.instrument.binder.jersey.server.MetricsApplicationEventListener.class})
@ConditionalOnBean({io.micrometer.core.instrument.MeterRegistry.class,org.glassfish.jersey.server.ResourceConfig.class})
@EnableConfigurationProperties(MetricsProperties.class)
public class JerseyServerMetricsAutoConfiguration
extends Object
Auto-configuration
for Jersey server instrumentation.- Since:
- 2.1.0
- Author:
- Michael Weirauch, Michael Simons, Andy Wilkinson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.config.MeterFilter
jerseyServerMetricsResourceConfigCustomizer
(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider tagsProvider) io.micrometer.core.instrument.binder.jersey.server.DefaultJerseyTagsProvider
-
Constructor Details
-
JerseyServerMetricsAutoConfiguration
-
-
Method Details
-
jerseyTagsProvider
@Bean @ConditionalOnMissingBean(io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider.class) public io.micrometer.core.instrument.binder.jersey.server.DefaultJerseyTagsProvider jerseyTagsProvider() -
jerseyServerMetricsResourceConfigCustomizer
@Bean public ResourceConfigCustomizer jerseyServerMetricsResourceConfigCustomizer(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider tagsProvider) -
jerseyMetricsUriTagFilter
-