-
Notifications
You must be signed in to change notification settings - Fork 328
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
Possible bug: ClassCastException #1275
Comments
I experience a similar issue with kamon.enabled = false Versions used here: kamon: 2.6.0
|
Hey @alexandru Most likely what's happening there is that some of the Akka classes are already loaded by the time What we tend to do in tests is:
I have two questions for you:
|
@ivantopo thanks for your reply. It's very possible that I was not aware of |
FYI, this came up with one of our customers and we ended up adding the flag to control attaching via configuration here: #1278. Should be released as part of 2.6.1 pretty soon. |
I have the following exception in a test that tests a component doing
Kamon.init()
on its own:Not doing
Kamon.init()
silences this error, so this is probably due to a misconfiguration of some sort.But, such errors should never happen. This one looks so bad that I'm thinking of disabling the “instrumentation” entirely, and only exposing our counters, spans, etc., which is what we actually want anyway. So, the other problem I'm seeing is that Kamon doesn't support the use-case of disabling instrumentation. Unless I'm configuring it with
kamon.enabled = false
, which is not the intention.Any advice?
Versions used here:
kamon
:2.6.0
kanela-agent
:1.0.17
akka
:2.6.20
The text was updated successfully, but these errors were encountered: