Class JettyMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.web.jetty.JettyMetricsAutoConfiguration
@AutoConfiguration(after=CompositeMeterRegistryAutoConfiguration.class)
@ConditionalOnWebApplication
@ConditionalOnClass({io.micrometer.core.instrument.binder.jetty.JettyServerThreadPoolMetrics.class,org.eclipse.jetty.server.Server.class})
@ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
public class JettyMetricsAutoConfiguration
extends Object
Auto-configuration
for Jetty metrics.- Since:
- 2.1.0
- Author:
- Andy Wilkinson, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjettyConnectionMetricsBinder
(io.micrometer.core.instrument.MeterRegistry meterRegistry) jettyServerThreadPoolMetricsBinder
(io.micrometer.core.instrument.MeterRegistry meterRegistry) jettySslHandshakeMetricsBinder
(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
Constructor Details
-
JettyMetricsAutoConfiguration
public JettyMetricsAutoConfiguration()
-
-
Method Details
-
jettyServerThreadPoolMetricsBinder
@Bean @ConditionalOnMissingBean({io.micrometer.core.instrument.binder.jetty.JettyServerThreadPoolMetrics.class,JettyServerThreadPoolMetricsBinder.class}) public JettyServerThreadPoolMetricsBinder jettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry) -
jettyConnectionMetricsBinder
@Bean @ConditionalOnMissingBean({io.micrometer.core.instrument.binder.jetty.JettyConnectionMetrics.class,JettyConnectionMetricsBinder.class}) public JettyConnectionMetricsBinder jettyConnectionMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry) -
jettySslHandshakeMetricsBinder
@Bean @ConditionalOnMissingBean({io.micrometer.core.instrument.binder.jetty.JettySslHandshakeMetrics.class,JettySslHandshakeMetricsBinder.class}) @ConditionalOnProperty(name="server.ssl.enabled", havingValue="true") public JettySslHandshakeMetricsBinder jettySslHandshakeMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-