opentelemetry-java-instrume.../instrumentation/executors/javaagent/executors-javaagent.gradle

13 lines
270 B
Groovy

apply plugin: "otel.javaagent-instrumentation"
muzzle {
pass {
coreJdk()
}
}
tasks.withType(Test).configureEach {
jvmArgs "-Dotel.instrumentation.executors.include=ExecutorInstrumentationTest\$CustomThreadPoolExecutor"
jvmArgs "-Djava.awt.headless=true"
}