Class InstrumentedTaskClasses
java.lang.Object
io.opentelemetry.javaagent.bootstrap.InstrumentedTaskClasses
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canInstrumentTaskClass
(Class<?> taskClass) Returnstrue
when passestaskClass
is allowed to be instrumented; i.e. the instrumentation may attach context to this task.static void
setIgnoredTaskClassesPredicate
(Predicate<String> ignoredTasksTriePredicate) Sets the configured ignored tasks predicate.
-
Method Details
-
setIgnoredTaskClassesPredicate
Sets the configured ignored tasks predicate. This method is called internally from the agent class loader. -
canInstrumentTaskClass
Returnstrue
when passestaskClass
is allowed to be instrumented; i.e. the instrumentation may attach context to this task.
-