@AutoConfiguration(after={MetricsAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={org.glassfish.jersey.server.ResourceConfig.class,io.micrometer.binder.jersey.server.MetricsApplicationEventListener.class}) @ConditionalOnBean(value={io.micrometer.core.instrument.MeterRegistry.class,org.glassfish.jersey.server.ResourceConfig.class}) @EnableConfigurationProperties(value=MetricsProperties.class) @Import(value=org.springframework.boot.actuate.autoconfigure.metrics.jersey.JerseyConfigurations.JerseyTagsProviderConfiguration.class) public class JerseyServerMetricsAutoConfiguration extends Object
Auto-configuration
for Jersey server instrumentation.Constructor and Description |
---|
JerseyServerMetricsAutoConfiguration(MetricsProperties properties) |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.config.MeterFilter |
jerseyMetricsUriTagFilter() |
ResourceConfigCustomizer |
jerseyServerMetricsResourceConfigCustomizer(io.micrometer.core.instrument.MeterRegistry meterRegistry,
io.micrometer.binder.jersey.server.JerseyTagsProvider tagsProvider) |
ResourceConfigCustomizer |
jerseyServerMetricsResourceConfigCustomizerBackwardsCompatible(io.micrometer.core.instrument.MeterRegistry meterRegistry,
io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider tagsProvider) |
public JerseyServerMetricsAutoConfiguration(MetricsProperties properties)
@Bean @ConditionalOnBean(value=io.micrometer.binder.jersey.server.JerseyTagsProvider.class) public ResourceConfigCustomizer jerseyServerMetricsResourceConfigCustomizer(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.binder.jersey.server.JerseyTagsProvider tagsProvider)
@Bean @ConditionalOnBean(value=io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider.class) public ResourceConfigCustomizer jerseyServerMetricsResourceConfigCustomizerBackwardsCompatible(io.micrometer.core.instrument.MeterRegistry meterRegistry, io.micrometer.core.instrument.binder.jersey.server.JerseyTagsProvider tagsProvider)