Rename java http client module
MODIFY
docs/suppressing-instrumentation.md
docs/suppressing-instrumentation.md
@@ -43,7 +43,7 @@ You can suppress agent instrumentation of specific libraries by using
| GRPC | grpc|
| Hibernate | hibernate|
| Java EE Grizzly | grizzly|
-| Java HTTP Client | httpclient |
+| Java HTTP Client | java-http-client |
| Java `HttpURLConnection` | http-url-connection |
| Java JDBC | jdbc |
| Java JDBC `DataSource` | jdbc-datasource |

RENAME
instrumentation/java-httpclient/javaagent/java-httpclient-javaagent.gradle
instrumentation/java-http-client/javaagent/java-http-client-javaagent.gradle
RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpClientInstrumentation.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpClientInstrumentation.java
RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpClientInstrumentationModule.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpClientInstrumentationModule.java
@@ -15,7 +15,7 @@ import java.util.List;
@AutoService(InstrumentationModule.class)
public class HttpClientInstrumentationModule extends InstrumentationModule {
public HttpClientInstrumentationModule() {
- super("httpclient");
+ super("java-http-client");
}
@Override

RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpHeadersInjectAdapter.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpHeadersInjectAdapter.java
RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpHeadersInstrumentation.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/HttpHeadersInstrumentation.java
RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/JdkHttpClientTracer.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/JdkHttpClientTracer.java
@@ -35,7 +35,7 @@ public class JdkHttpClientTracer
@Override
protected String getInstrumentationName() {
- return "io.opentelemetry.javaagent.java-httpclient";
+ return "io.opentelemetry.javaagent.java-http-client";
}
@Override

RENAME
instrumentation/java-httpclient/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/ResponseConsumer.java
instrumentation/java-http-client/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/httpclient/ResponseConsumer.java
RENAME
instrumentation/java-httpclient/javaagent/src/test/groovy/JdkHttpClientTest.groovy
instrumentation/java-http-client/javaagent/src/test/groovy/JdkHttpClientTest.groovy
MODIFY
settings.gradle
settings.gradle
@@ -125,7 +125,7 @@ include ':instrumentation:hibernate:hibernate-4.3:javaagent'
include ':instrumentation:hibernate:hibernate-common:javaagent'
include ':instrumentation:http-url-connection:javaagent'
include ':instrumentation:hystrix-1.4:javaagent'
-include ':instrumentation:java-httpclient:javaagent'
+include ':instrumentation:java-http-client:javaagent'
include ':instrumentation:jaxrs:jaxrs-1.0:javaagent'
include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-arquillian-testing'
include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-common:javaagent'

Rename java http client module (#2856)