-
Hi, I'm writing new instrumentation and am struggling when adding the sub directories under instrumentation/ directory. It seems to be a very fragile process and if Intellij/Gradle doesn't pick it up the first time, then that instrumentation doesn't stand a chance of getting recognized. I'm following the guide here. but it doesn't seem to address sub directories It seems if I add something simple like this, it works:
But, when I go for a sub directory like: Am I missing some naming convention or setup step to create a new instrumentation module with a sub-directory structure? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I found out the cause. Gradle modules using the provided gradle file I my case, if I change the name to |
Beta Was this translation helpful? Give feedback.
I found out the cause.
Gradle modules using the provided gradle file
apply from: "$rootDir/gradle/instrumentation.gradle
must follow a naming convention for sub directories.I my case, if I change the name to
':instrumentation:jetty-http:jetty-http-9.0:javaagent'
it will work because the sub-directory jetty-http-9.0 is prefixed with jetty-http