Exclude DumbExecutor
fixes
@@ -60,6 +60,8 @@ public abstract class ExecutorInstrumentation extends ElasticApmInstrumentation
@Override
public ElementMatcher<? super TypeDescription> getTypeMatcher() {
return hasSuperType(named("java.util.concurrent.Executor"))
+ // executes on same thread, no need to wrap to activate again
+ .and(not(named("org.apache.felix.resolver.ResolverImpl$DumbExecutor")))
// hazelcast tries to serialize the Runnables/Callables to execute them on remote JVMs
.and(not(nameStartsWith("com.hazelcast")));
}
