Open Dichotomia opened 7 months ago
We are switching from scala 2.13.12 to scala 3.3.1. This is the only change.
We have some errors at boot :
[main] WARNING 2024-02-16 13:57:57 Logger : Error trying to load Instrumentation: kamon.instrumentation.akka.instrumentations.akka_25.DispatcherInstrumentation with error: java.lang.ClassNotFoundException: kamon.instrumentation.akka.instrumentations.akka_25.DispatcherInstrumentation [main] WARNING 2024-02-16 13:57:57 Logger : Error trying to load Instrumentation: kamon.instrumentation.akka.instrumentations.akka_25.remote.RemotingInstrumentation with error: java.lang.ClassNotFoundException: kamon.instrumentation.akka.instrumentations.akka_25.remote.RemotingInstrumentation
[main] WARNING 2024-02-16 13:57:57 Logger : Error trying to load Instrumentation: kamon.instrumentation.akka.instrumentations.akka_25.DispatcherInstrumentation with error: java.lang.ClassNotFoundException: kamon.instrumentation.akka.instrumentations.akka_25.DispatcherInstrumentation
[main] WARNING 2024-02-16 13:57:57 Logger : Error trying to load Instrumentation: kamon.instrumentation.akka.instrumentations.akka_25.remote.RemotingInstrumentation with error: java.lang.ClassNotFoundException: kamon.instrumentation.akka.instrumentations.akka_25.remote.RemotingInstrumentation
The application starts but like the screenshot shows, we lost some http request paths
I just found a workaround. I added this dependency
("io.kamon" %% "kamon-play" % kamonVersion) .cross(CrossVersion.for3Use2_13) .exclude("io.kamon", "kamon-core_2.13"),
And it worked
We are switching from scala 2.13.12 to scala 3.3.1. This is the only change.
We have some errors at boot :
The application starts but like the screenshot shows, we lost some http request paths