Class JettyMetricsAutoConfiguration


  • @Configuration
    @ConditionalOnWebApplication
    @ConditionalOnClass({io.micrometer.core.instrument.binder.jetty.JettyServerThreadPoolMetrics.class,org.eclipse.jetty.server.Server.class})
    public class JettyMetricsAutoConfiguration
    extends java.lang.Object
    Auto-configuration for Jetty metrics.
    • Constructor Detail

      • JettyMetricsAutoConfiguration

        public JettyMetricsAutoConfiguration()
    • Method Detail

      • jettyServerThreadPoolMetricsBinder

        @Bean
        @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class)
        @ConditionalOnMissingBean({io.micrometer.core.instrument.binder.jetty.JettyServerThreadPoolMetrics.class,JettyServerThreadPoolMetricsBinder.class})
        public JettyServerThreadPoolMetricsBinder jettyServerThreadPoolMetricsBinder​(io.micrometer.core.instrument.MeterRegistry meterRegistry)