Class ScalaForkJoinTaskInstrumentation

  • All Implemented Interfaces:
    io.opentelemetry.javaagent.tooling.TypeInstrumentation

    public class ScalaForkJoinTaskInstrumentation
    extends Object
    implements io.opentelemetry.javaagent.tooling.TypeInstrumentation
    Instrument ForkJoinTask.

    Note: There are quite a few separate implementations of ForkJoinTask/ ForkJoinPool: JVM, Akka, Scala, Netty to name a few. This class handles Scala version.

    • Constructor Detail

      • ScalaForkJoinTaskInstrumentation

        public ScalaForkJoinTaskInstrumentation()
    • Method Detail

      • classLoaderOptimization

        public net.bytebuddy.matcher.ElementMatcher<ClassLoader> classLoaderOptimization()
        Specified by:
        classLoaderOptimization in interface io.opentelemetry.javaagent.tooling.TypeInstrumentation
      • typeMatcher

        public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription> typeMatcher()
        Specified by:
        typeMatcher in interface io.opentelemetry.javaagent.tooling.TypeInstrumentation
      • transformers

        public Map<? extends net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.method.MethodDescription>,​String> transformers()
        Specified by:
        transformers in interface io.opentelemetry.javaagent.tooling.TypeInstrumentation