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.binder.jvm.ExecutorServiceMetrics.class)
@ConditionalOnBean({java.util.concurrent.Executor.class,io.micrometer.core.instrument.MeterRegistry.class})
public class TaskExecutorMetricsAutoConfiguration
extends Object
- Since:
- 2.6.0
- Author:
- Stephane Nicoll, Scott Frederick
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTaskExecutorsToRegistry
(Map<String, Executor> executors, io.micrometer.core.instrument.MeterRegistry registry)
-
Constructor Details
-
TaskExecutorMetricsAutoConfiguration
public TaskExecutorMetricsAutoConfiguration()
-
-
Method Details
-
bindTaskExecutorsToRegistry
@Autowired public void bindTaskExecutorsToRegistry(Map<String, Executor> executors, io.micrometer.core.instrument.MeterRegistry registry)
-