Class ExecutorServiceMetricsBinder

java.lang.Object
io.micronaut.configuration.metrics.binder.executor.ExecutorServiceMetricsBinder
All Implemented Interfaces:
io.micronaut.context.event.BeanCreatedEventListener<ExecutorService>, EventListener

@Singleton @RequiresMetrics @Requires(property="micronaut.metrics.binders.executor.enabled", notEquals="false") public class ExecutorServiceMetricsBinder extends Object implements io.micronaut.context.event.BeanCreatedEventListener<ExecutorService>
Instruments Micronaut related thread pools via Micrometer.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • ExecutorServiceMetricsBinder

      public ExecutorServiceMetricsBinder(io.micronaut.context.BeanProvider<io.micrometer.core.instrument.MeterRegistry> meterRegistryProvider)
      Parameters:
      meterRegistryProvider - The meter registry provider
  • Method Details