Class InstrumentedTaskClasses
java.lang.Object
io.opentelemetry.javaagent.bootstrap.InstrumentedTaskClasses
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanInstrumentTaskClass(Class<?> taskClass) Returnstruewhen passestaskClassis allowed to be instrumented; i.e. the instrumentation may attach context to this task.static voidsetIgnoredTaskClassesPredicate(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
Returnstruewhen passestaskClassis allowed to be instrumented; i.e. the instrumentation may attach context to this task.
-