File tree Expand file tree Collapse file tree
instrumentation/openai/openai-java-1.1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies {
2222}
2323
2424tasks {
25- test {
25+ withType< Test >().configureEach {
2626 systemProperty(" testLatestDeps" , otelProps.testLatestDeps)
2727 // TODO run tests both with and without genai message capture
2828
@@ -34,11 +34,11 @@ tasks {
3434 testClassesDirs = sourceSets.test.get().output.classesDirs
3535 classpath = sourceSets.test.get().runtimeClasspath
3636
37- systemProperty(" otel.instrumentation.genai.capture-message-content" , " true" )
3837 filter {
3938 includeTestsMatching(" EmbeddingsTest" )
4039 }
4140 jvmArgs(" -Dotel.semconv.exception.signal.preview=logs" )
41+ systemProperty(" metadataConfig" , " otel.semconv.exception.signal.preview=logs" )
4242 }
4343
4444 check {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies {
1010}
1111
1212tasks {
13- test {
13+ withType< Test >().configureEach {
1414 systemProperty(" testLatestDeps" , otelProps.testLatestDeps)
1515 }
1616
You can’t perform that action at this time.
0 commit comments