Skip to content

Commit 4e80330

Browse files
lauritcleverchuk
authored andcommitted
fix test
1 parent 740ef8a commit 4e80330

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/log4j/log4j-context-data/log4j-context-data-2.17/javaagent

1 file changed

+1
-0
lines changed

instrumentation/log4j/log4j-context-data/log4j-context-data-2.17/javaagent/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ testing {
4040
testTask.configure {
4141
jvmArgs("-Dlog4j2.is.webapp=false")
4242
jvmArgs("-Dlog4j2.enable.threadlocals=false")
43+
jvmArgs("-Dotel.instrumentation.mdc.resource-attributes=service.name,telemetry.sdk.language")
4344
}
4445
}
4546
}

0 commit comments

Comments
 (0)