Skip to content

Commit f633d82

Browse files
committed
address review comments
1 parent 293df5f commit f633d82

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ dependencies {
1717
tasks {
1818
withType<Test>().configureEach {
1919
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
20-
systemProperty("otel.instrumentation.pache-httpclient-5.debug", "true")
20+
systemProperty("otel.instrumentation.apache-httpclient-5.debug", "true")
2121
}
2222
}

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0/ApacheHttpClientInstrumentationModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public ApacheHttpClientInstrumentationModule() {
2323
public List<TypeInstrumentation> typeInstrumentations() {
2424
boolean debug =
2525
AgentInstrumentationConfig.get()
26-
.getBoolean("otel.instrumentation.pache-httpclient-5.debug", false);
26+
.getBoolean("otel.instrumentation.apache-httpclient-5.debug", false);
2727
if (debug) {
2828
return Arrays.asList(
2929
new ApacheHttpClientInstrumentation(),
3030
new ApacheHttpAsyncClientInstrumentation(),
31-
new IoReactorInstrumentation());
31+
new IoReactorDebugInstrumentation());
3232
}
3333
return Arrays.asList(
3434
new ApacheHttpClientInstrumentation(), new ApacheHttpAsyncClientInstrumentation());

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0/IoReactorInstrumentation.java renamed to instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0/IoReactorDebugInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import net.bytebuddy.description.type.TypeDescription;
1616
import net.bytebuddy.matcher.ElementMatcher;
1717

18-
public class IoReactorInstrumentation implements TypeInstrumentation {
18+
public class IoReactorDebugInstrumentation implements TypeInstrumentation {
1919

2020
@Override
2121
public ElementMatcher<TypeDescription> typeMatcher() {

0 commit comments

Comments
 (0)