Skip to content

Commit 0247279

Browse files
committed
address review comment
1 parent 3bcf70c commit 0247279

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation-api-incubator/javaagent-testing/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ dependencies {
1010

1111
tasks.withType<Test>().configureEach {
1212
jvmArgs("-Dotel.instrumentation.http.client.emit-experimental-telemetry=true")
13-
jvmArgs("-Dotel.instrumentation.http-client-url-template-rules=http://localhost:.*/hello/.*,/hello/*")
13+
jvmArgs("-Dotel.instrumentation.http.client.url-template-rules=http://localhost:.*/hello/.*,/hello/*")
1414
}

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/http/RegexUrlTemplateCustomizerInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void beforeAgent(AutoConfiguredOpenTelemetrySdk autoConfiguredOpenTelemet
3333
if (!urlTemplateEnabled) {
3434
return;
3535
}
36-
String rules = config.getString("otel.instrumentation.http-client-url-template-rules");
36+
String rules = config.getString("otel.instrumentation.http.client.url-template-rules");
3737
if (rules != null && !rules.isEmpty()) {
3838
parse(rules);
3939
}

0 commit comments

Comments
 (0)