Skip to content

Commit

Permalink
Merge pull request #155 from LikeTheSalad/fix-java-instrumentation-li…
Browse files Browse the repository at this point in the history
…b-upgrade

Addressing java-instrumentation class renamed
  • Loading branch information
breedx-splk authored Nov 20, 2023
2 parents c46a07c + 3c5ca84 commit cbc10da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import io.opentelemetry.context.Context;
import io.opentelemetry.context.Scope;
import io.opentelemetry.instrumentation.api.instrumenter.Instrumenter;
import io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientResendCount;
import io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientRequestResendCount;
import io.opentelemetry.instrumentation.api.instrumenter.net.PeerServiceAttributesExtractor;
import io.opentelemetry.instrumentation.library.okhttp.v3_0.OkHttpInstrumentationConfig;
import io.opentelemetry.instrumentation.okhttp.v3_0.internal.ConnectionErrorSpanInterceptor;
Expand Down Expand Up @@ -64,7 +64,7 @@ public final class OkHttp3Singletons {
public static final Interceptor RESEND_COUNT_CONTEXT_INTERCEPTOR =
chain -> {
try (Scope ignored =
HttpClientResendCount.initialize(Context.current()).makeCurrent()) {
HttpClientRequestResendCount.initialize(Context.current()).makeCurrent()) {
return chain.proceed(chain.request());
}
};
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
opentelemetry = "1.32.0"
opentelemetry-alpha = "1.31.0-alpha"
opentelemetry-alpha = "1.32.0-alpha"
opentelemetry-semconv = "1.21.0-alpha"
opentelemetry-contrib = "1.31.0-alpha"
mockito = "5.7.0"
Expand Down

0 comments on commit cbc10da

Please sign in to comment.