Skip to content

Commit 0426a80

Browse files
authored
Fix metadata config flag casing (#14414)
1 parent 157638e commit 0426a80

File tree

34 files changed

+40
-40
lines changed

34 files changed

+40
-40
lines changed

instrumentation-docs/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tasks {
2424
```
2525

2626
Sometimes instrumentation will behave differently based on configuration options, and we can
27-
differentiate between these configurations by using the `metaDataConfig` system property. When the
27+
differentiate between these configurations by using the `metadataConfig` system property. When the
2828
telemetry is written to a file, the value of this property will be included, or it will default to
2929
a `default` attribution.
3030

@@ -39,7 +39,7 @@ tasks {
3939
jvmArgs("-Dotel.semconv-stability.opt-in=database")
4040

4141
systemProperty("collectMetadata", collectMetadata)
42-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
42+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
4343
}
4444

4545
test {

instrumentation/alibaba-druid-1.0/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tasks {
2626
jvmArgs("-Dotel.semconv-stability.opt-in=database")
2727

2828
systemProperty("collectMetadata", collectMetadata)
29-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
29+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
3030
}
3131

3232
test {

instrumentation/apache-dbcp-2.0/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tasks {
2626
jvmArgs("-Dotel.semconv-stability.opt-in=database")
2727

2828
systemProperty("collectMetadata", collectMetadata)
29-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
29+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
3030
}
3131

3232
test {

instrumentation/apache-shenyu-2.4/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if (latestDepTest) {
4444
tasks.withType<Test>().configureEach {
4545
jvmArgs("-Dotel.instrumentation.apache-shenyu.experimental-span-attributes=true")
4646

47-
systemProperty("metaDataConfig", "otel.instrumentation.apache-shenyu.experimental-span-attributes=true")
47+
systemProperty("metadataConfig", "otel.instrumentation.apache-shenyu.experimental-span-attributes=true")
4848
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
4949

5050
// required on jdk17

instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ tasks {
148148
jvmArgs("-Dotel.semconv-stability.opt-in=database")
149149

150150
systemProperty("collectMetadata", collectMetadata)
151-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
151+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
152152
}
153153

154154
check {

instrumentation/aws-sdk/aws-sdk-2.2/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ tasks {
222222
systemProperty("otel.instrumentation.messaging.experimental.receive-telemetry.enabled", "true")
223223
jvmArgs("-Dotel.semconv-stability.opt-in=database")
224224

225-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
225+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
226226
}
227227

228228
check {

instrumentation/c3p0-0.9/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks {
2828
jvmArgs("-Dotel.semconv-stability.opt-in=database")
2929

3030
systemProperty("collectMetadata", collectMetadata)
31-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
31+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
3232
}
3333

3434
test {

instrumentation/cassandra/cassandra-3.0/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tasks {
4848

4949
val testStableSemconv by registering(Test::class) {
5050
jvmArgs("-Dotel.semconv-stability.opt-in=database")
51-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
51+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
5252
}
5353

5454
check {

instrumentation/cassandra/cassandra-4.0/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ tasks {
3131

3232
val testStableSemconv by registering(Test::class) {
3333
jvmArgs("-Dotel.semconv-stability.opt-in=database")
34-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
34+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
3535
}
3636

3737
check {

instrumentation/cassandra/cassandra-4.4/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tasks {
3434

3535
val testStableSemconv by registering(Test::class) {
3636
jvmArgs("-Dotel.semconv-stability.opt-in=database")
37-
systemProperty("metaDataConfig", "otel.semconv-stability.opt-in=database")
37+
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
3838
}
3939

4040
check {

0 commit comments

Comments
 (0)