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
-
canInstrumentTaskClass
Returnstruewhen passestaskClassis allowed to be instrumented; i.e. the instrumentation may attach context to this task.
-