Skip to content

Commit

Permalink
fix(deps): update opentelemetry.instrumentation.alpha to v2.8.0-alpha (
Browse files Browse the repository at this point in the history
…#595)

* fix(deps): update opentelemetry.instrumentation.alpha to v2.8.0-alpha

* Using Chain instead of Request for okhttp interceptor

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cesar Munoz <[email protected]>
  • Loading branch information
renovate[bot] and LikeTheSalad authored Sep 17, 2024
1 parent 311859c commit cfbf652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
opentelemetry = "1.42.1"
opentelemetry-alpha = "1.42.1-alpha"
opentelemetry-instrumentation = "2.8.0"
opentelemetry-instrumentation-alpha = "2.7.0-alpha"
opentelemetry-instrumentation-alpha = "2.8.0-alpha"
opentelemetry-semconv = "1.25.0-alpha"
opentelemetry-contrib = "1.39.0-alpha"
mockito = "5.13.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public final class OkHttp3Singletons {

public static void configure(
OkHttpInstrumentation instrumentation, OpenTelemetry openTelemetry) {
Instrumenter<Request, Response> instrumenter =
Instrumenter<Interceptor.Chain, Response> instrumenter =
OkHttpClientInstrumenterBuilderFactory.create(openTelemetry)
.setCapturedRequestHeaders(instrumentation.getCapturedRequestHeaders())
.setCapturedResponseHeaders(instrumentation.getCapturedResponseHeaders())
Expand Down

0 comments on commit cfbf652

Please sign in to comment.