-
Notifications
You must be signed in to change notification settings - Fork 327
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
Akka Scheduler doesn't propage Kamon context #1093
Comments
Unsurprisingly I see the same for |
Hey @antoine-morisseau, @nathanmbrown, We knew it was necessary to instrument On the other hand, calls to There is a possible workaround for your use case @nathanmbrown: since the scheduler instrumentation creates a few anonymous Runnables within the
I didn't try it out, but it should probably work. Let me know if it does! |
It come from the discussion on Discord that i raised : https://discord.com/channels/866301994074243132/866301994074243135/918121791577264148
I am using :
Here is a code snippet that reproduce the issue :
and here is the log output :
The issue come from the implicit Scheduler used from
akka.pattern.retry
method.It lose the context and Kamon create another one with no inheritance from the previous.
a workaround was found by doing this :
The text was updated successfully, but these errors were encountered: