-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kamon-datadog does not compatible with okhttp3:4.x
#1259
Comments
I tried to use okhttp3
lazy val `kamon-datadog` = (project in file("reporters/kamon-datadog"))
.enablePlugins(AssemblyPlugin)
.settings(
crossScalaVersions += `scala_3_version`,
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case _ => MergeStrategy.first
},
assembly / assemblyShadeRules := Seq(
ShadeRule.rename("okhttp3.**" -> "kamon.lib.@1").inAll,
ShadeRule.rename("okio.**" -> "kamon.lib.@1").inAll
),
libraryDependencies ++= Seq(
- okHttp % "shaded,provided",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.9" % "shaded,provided",
"com.grack" % "nanojson" % "1.6",
("com.typesafe.play" %% "play-json" % "2.7.4" % "test").cross(CrossVersion.for3Use2_13),
scalatest % "test",
slf4jApi % "test",
slf4jnop % "test",
- okHttpMockServer % "test"
+ "com.squareup.okhttp3" % "mockwebserver" % "3.14.9" % "test"
)
).dependsOn(`kamon-core`, `kamon-testkit` % "test")
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
versions:
2.6.20
with kamon-datadog2.5.12
2.7.0
with kamon-datadog2.6.0
7.41.0
We get logs like below:
We don't get these logs in using kamon-datadog
2.5.11
, so It seems that kamon-datadog should depends onokhttp3 <= 3
.related:
The text was updated successfully, but these errors were encountered: