-
Notifications
You must be signed in to change notification settings - Fork 329
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
Trying to load Akka instrumentation when using Pekko in Scala 3 #1332
Comments
I confirm this issue. |
I'm guessing you're using the
and
but the akka 2.5 instrumentation is not in the kamon-bundle for scala 3 (because there is no akka 2.5 for scala 3). Maybe scala 2.11 and akka 2.5 could be dropped. |
In addition to enabling kamon pekko, you need to explicitly remove the kamon-akka modules, e.g.:
It took me a long time to figure this out! |
Right, that's the workaround I mentioned in the issue. However, I'm not sure that should be the way to handle this scenario. If the community think it is, at least that should be clearly stated somewhere in the docs. |
Hi,
I'm moving my Pekko project to Scala 3.3.3, and when I run it, it throws this warning (Only for Scala 3; same code runs fine when compiled with Scala 2.13):
As a workaround, I successfully disabled those modules in application.conf file:
Any ideas on why is it trying to load Akka instrumentation in a Pekko project with no Akka dependencies?
The text was updated successfully, but these errors were encountered: