Class ExecutorInstrumentor
java.lang.Object
org.springframework.cloud.sleuth.instrument.async.ExecutorInstrumentor
Wraps
Executors in tracing representations.- Since:
- 3.0.0
- Author:
- Marcin Grzejszczak
-
Constructor Summary
ConstructorsConstructorDescriptionExecutorInstrumentor(Supplier<List<String>> ignoredBeans, org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptioninstrument(Object bean, String beanName) Wraps anExecutorbean in its trace representation.static boolean
-
Constructor Details
-
ExecutorInstrumentor
-
-
Method Details
-
isApplicableForInstrumentation
- Parameters:
bean- bean to instrument- Returns:
trueif bean is applicable for instrumentation
-
instrument
Wraps anExecutorbean in its trace representation.
-