24 lines
602 B
Groovy
24 lines
602 B
Groovy
apply plugin: "otel.javaagent-instrumentation"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "io.kubernetes"
|
|
module = "client-java-api"
|
|
versions = "[7.0.0,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library("io.kubernetes:client-java-api:7.0.0")
|
|
|
|
implementation(project(':instrumentation:okhttp:okhttp-3.0:javaagent'))
|
|
|
|
testInstrumentation(project(':instrumentation:okhttp:okhttp-3.0:javaagent'))
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.kubernetes-client.experimental-span-attributes=true"
|
|
}
|