I'm still confused if I add the kanela-agent do I still need Kamon.init() ? This is what I have in my build.sbt
javaAgents += "io.kamon" % "kanela-agent" % "1.0.6"
)
I'm having a very weird issue, I deployed my app on 7 k8s pods and the kamon traceID is missing on requests sent to some pods
@/all Hey folks! We (the few folks behind Kamon) are going to stop using Gitter in favor of Github Discussions. If you have any ideas, comments and questions please create a new discussion here: https://github.com/kamon-io/Kamon/discussions
Thanks a lot to everyone who has been hanging out here for years and helping other folks. I really hope to see you around Githubs Discussions as well :pray:
In case you are interested in why, just look at the little mess in the history of this channel :smile:.. We would like to keep all comments related to the same topic in the same context, and Gitter threads really fall short on helping us keep track of what has been answered or not. Have a nice day!
Hey guys what do you use for visualizing the metrics?
I'm using grafana and was facing some challenges.
The metric coming from kamon jvm.memory.used
is a histogram, not a gauge.
I'm not able to wrap my head around how to plot that in grafana.
Specifically, between these two, which one makes more sense
rate(jvm_memory_used_bytes_sum{job=~"$job", region="heap"}[$interval])/rate(jvm_memory_used_bytes_count{job=~"$job", region="heap"}[$interval])
and
jvm_memory_used_bytes_sum{job=~"$job", region="heap"}/jvm_memory_used_bytes_count{job=~"$job", region="heap"}
Basically Rate(sum)/Rate(count)
or simply sum/count
Looking in grafana, the first one goes more up and down and the second one is more of a flat line. I'm not sure which one is best suited here.
io.grpc.stub.AbstractStub
I would say you can do the instrumentation yourself in io.grpc.CallCredentials#applyRequestMetadata
by passing it to callOptions
jvm_gc_seconds_sum{collector="g1-young",component="jvm",country="xxx",customer="xxx",datacenter="dc1",environment="prod",generation="young",instance="xxxx:31882",job="xxx-api-metrics",node="host3"}
Getting some really weird results out of the akka metrics. So I decided to do a really simple Ping/Pong app with two static actors and one that gets created and killed every 5 seconds.
The metrics for the active actor count just keeps increasing which makes no senseakka_system_active_actors_count{system="area51-kamon-akka"} 2865.0
Same goes go for queued messages which keeps increasing but as I only send a Ping and a Pong as response it is impossible to have a queue/inbox growing
The PingerPonger code example
I can't see what I'm doing wrong...pointers would be appreciated
Using latest version of Kamon 2.x, Java 11 OpenJDK and Scala 2.13
docker run -d -p 9411:9411 openzipkin/zipkin
-javaagent:/..full..path../kanela-agent-1.0.6.jar
Task :run FAILED
Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.Seq$.empty()Lscala/collection/GenTraversable;
at kamon.Configuration.$init$(Configuration.scala:28)
at kamon.Kamon$.<init>(Kamon.scala:19)
at kamon.Kamon$.<clinit>(Kamon.scala)
at kamon.Kamon.init(Kamon.scala)
at com.example.AkkaQuickstart.main(AkkaQuickstart.java:9)
FAILURE: Build failed with an exception.
I would appreciate some help, not sure what else to look at.