Class JerseyServerMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.jersey.JerseyServerMetricsAutoConfiguration
@AutoConfiguration(after=ObservationAutoConfiguration.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({org.glassfish.jersey.server.ResourceConfig.class,org.glassfish.jersey.micrometer.server.ObservationApplicationEventListener.class})
@ConditionalOnBean({org.glassfish.jersey.server.ResourceConfig.class,io.micrometer.observation.ObservationRegistry.class})
@EnableConfigurationProperties({MetricsProperties.class,ObservationProperties.class})
public class JerseyServerMetricsAutoConfiguration
extends Object
Auto-configuration
for Jersey server instrumentation.- Since:
- 2.1.0
- Author:
- Michael Weirauch, Michael Simons, Andy Wilkinson, Moritz Halbritter
-
Constructor Summary
ConstructorDescriptionJerseyServerMetricsAutoConfiguration
(ObservationProperties observationProperties) -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.config.MeterFilter
jerseyMetricsUriTagFilter
(MetricsProperties metricsProperties)
-
Constructor Details
-
JerseyServerMetricsAutoConfiguration
-
-
Method Details
-
jerseyMetricsUriTagFilter
@Bean @Order(0) public io.micrometer.core.instrument.config.MeterFilter jerseyMetricsUriTagFilter(MetricsProperties metricsProperties)
-