Class TaskExecutorMetricsAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.task.TaskExecutorMetricsAutoConfiguration

@AutoConfiguration(after={MetricsAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class,TaskExecutionAutoConfiguration.class,TaskSchedulingAutoConfiguration.class}) @ConditionalOnClass(io.micrometer.core.instrument.binder.jvm.ExecutorServiceMetrics.class) @ConditionalOnBean({java.util.concurrent.Executor.class,io.micrometer.core.instrument.MeterRegistry.class}) public class TaskExecutorMetricsAutoConfiguration extends Object
Auto-configuration for metrics on all available task executors and task schedulers.
Since:
2.6.0
Author:
Stephane Nicoll, Scott Frederick
  • Constructor Details

    • TaskExecutorMetricsAutoConfiguration

      public TaskExecutorMetricsAutoConfiguration()
  • Method Details

    • bindTaskExecutorsToRegistry

      @Autowired public void bindTaskExecutorsToRegistry(Map<String,Executor> executors, io.micrometer.core.instrument.MeterRegistry registry)