-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Hi!
I have an Android project with parts of KMP code. We use Ktor to create our HttpClient. I use io.opentelemetry.android:android-agent, but I'm missing http calls details in my logs. I thought I would use io.opentelemetry.android.instrumentation:okhttp3-agent like described here, but if I add these dependencies
plugins {
id("net.bytebuddy.byte-buddy-gradle-plugin") version "1.17.7"
}
...
dependencies {
api(platform("io.opentelemetry.android:opentelemetry-android-bom:0.15.0-alpha"))
implementation("io.opentelemetry.android:android-agent")
implementation("io.opentelemetry.android.instrumentation:okhttp3-library:0.15.0-alpha")
byteBuddy("io.opentelemetry.android.instrumentation:okhttp3-agent:0.15.0-alpha")
}
I run into the OkHttp jvm android resolution issue again in version 0.15.0:
Duplicate class okhttp3.Address found in modules okhttp-4.12.0.jar -> okhttp-4.12.0 (com.squareup.okhttp3:okhttp:4.12.0) and okhttp-jvm-5.1.0.jar -> okhttp-jvm-5.1.0 (com.squareup.okhttp3:okhttp-jvm:5.1.0)
...
I saw that being fixed in 0.14.0 in this PR from @LikeTheSalad , but it's still an issue for me.
Metadata
Metadata
Assignees
Labels
No labels