Replies: 1 comment
-
Hey @gwak, I see three different issues here:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are building a multi-project sbt app with
Play 2.8.8
. I'm trying to follow your instructions for installing Kamon and report metrics and traces to APM with no luck.I first had issues with specifying the application configuration file in Run mode. After a lot of searching through the horrendous Gitter channel I finally found that I needed to use:
-Dconfig.file=my-app/conf/application-local.conf # Instead of -Dconfig.resource=application-local.conf
But then it seems that the Kanela class loader doesn't find a custom Serializer class that's dynamically loaded from Akka. It's defined in the conf like that:
But I get the error below:
An if I disable my custom Serializer, I also get an error:
This issue seems related to kamon-io/sbt-kanela-runner#15
If I rollback Play to
2.8.7
and remove my custom Akka serializer, it seems to be working fine, but I need that custom Serializer...Is there something I can do ? If not, I think it should clearly be specified on your documentation website that you do not support dynamically loaded classes.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions