-
The Elementary Akka Setup does not work out of the box for Zipkin. The following are a few references about the environment:
|
Beta Was this translation helpful? Give feedback.
Answered by
tupol
Nov 12, 2020
Replies: 1 comment
-
With the kind help from @ivantopo we found the following solution:
object AkkaQuickstart extends App {
Kamon.init()
val greeterMain: ActorSystem[GreeterMain.SayHello] = ActorSystem(GreeterMain(), "AkkaQuickStart")
Kamon.runWithSpan(Kamon.serverSpanBuilder("operation-name", "component-name").start()) {
greeterMain ! SayHello("Charles")
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tupol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the kind help from @ivantopo we found the following solution:
kamon.trace.sampler="always"
to the kamon configurationKamon.runWithSpan(span) { ... }
to trigger the span creation.In the end the
AkkaQuickstart
class looked like