Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 08:21
    SimunKaracic synchronize #1000
  • 08:08
    SimunKaracic synchronize #1000
  • 07:49
    SimunKaracic synchronize #1000
  • Apr 20 14:40
    SimunKaracic synchronize #1000
  • Apr 20 09:41
    SimunKaracic synchronize #1000
  • Apr 20 07:14
    don41382 commented #981
  • Apr 19 12:49
    SimunKaracic commented #977
  • Apr 19 12:45
    SimunKaracic commented #995
  • Apr 19 12:45
    SimunKaracic closed #985
  • Apr 19 12:45
    SimunKaracic commented #985
  • Apr 19 12:45
    SimunKaracic closed #986
  • Apr 19 12:45
    SimunKaracic commented #986
  • Apr 19 12:45
    SimunKaracic closed #981
  • Apr 19 12:45
    SimunKaracic commented #981
  • Apr 19 12:44

    SimunKaracic on v2.1.16


  • Apr 19 09:03
    pnerg commented #977
  • Apr 17 11:03
    Pooriya-Shokri commented #906
  • Apr 16 12:09
    SimunKaracic synchronize #1000
  • Apr 16 08:58
    SimunKaracic commented #1000
  • Apr 16 08:53
    the-overengineer synchronize #999

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

JR Utily
@jtjeferreira I've just found that: kamon-io/kanela#105 so I fear it is not the case
To recompile with different code or sbt is really not possible for us, it would lost the benefit of instrumenting through an agent
Marian Diaconu
sorry guys, in Scala 2.6 eager singletons are needed but I was implementing them wrong in dev mode. need to start the app with sbt compile run instead of just sbt run and it flew
JR Utily
is there a way to get metrics from Span without reporter ?
to log the span duration in my regular logger
Ivan Topolnjak

@/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!

Jakub Kozłowski
so 1 Gitter thread <-> 1 Discussion? I haven't used that yet
Yeah, something like that. Just use that to ask questions that are not something that you would open an issue for.
It's still a new feature, but don't be afraid to just open a new discussion, if it's a duplicate or something, we'll redirect you
Jakub Kozłowski
Can we have a #random discussion too? :D
Can you give an example of what you'd post there? Cat pictures? :D
Jakub Kozłowski
the "did anyone ever" kind of questions, I suppose...
JR Utily
it seems quite empty there... maybe people will get afraid of posting in an empty space ?
I'll hang around here and keep redirecting people :D
We'll find a way to break the ice
JR Utily
so I've reposted my 2 question from here, there ;)
Thank you! I'll answer in the afternoon! :D
przemyslaw wierzbicki
Hey Folks, I configured Akka HTTP tracing and I see all traces in Jaeger. How to exclude some of the traces like /healthcheck?
Diego Parra
kamon.trace.adaptive-sampler.groups {
health-checks {
operations = [
rules {
sample = never
przemyslaw wierzbicki
Thank you sir!
Rajat Khandelwal

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])


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.

Hello @prongs , we migrated to github discussions, so please follow up with your question over here -> https://github.com/kamon-io/Kamon/discussions
1 reply
Cesar Alvernaz
@gipeshka Hi, I had the same problem you described here kamon-io/Kamon#886
After upgrading to kamon 2.1.0 the problem went away
Screenshot 2020-11-02 at 10.29.31.png
Ales Kozumplik

Hi Kamoners, what are your thoughts on having a Context key with a mutable value? Is that OK, frowned upon or downright broken?

Use case: store some auditing information so that a Play Action can later verify it's not empty / auditing happened.

Arsene Tochemey Gandote
Hello folks, I would like to know how I can use Kamon with grpc-java.
Yeah I know someone will suggest that we should be put on gh discussion. It has been there for two days and not a single guidance has been given to it.
João Ferreira
I wrote this and we are using it in prod https://github.com/nezasa/kamon-akka-grpc/releases
(akka-grpc client side uses grpc-java. If you were talking about using grpc-java directly then this is not applicable)
Arsene Tochemey Gandote
@jtjeferreira thanks for the answer. However I am not using akka grpc. I am using the scalapb-grpc which a scala wrapper around the java grpc.
João Ferreira
ok. what do you want to achieve btw? context propagation? metrics?
Arsene Tochemey Gandote
@jtjeferreira both. Maybe opentracing will be the right choice.
I have seen some kamon-opentracing project which is kind abandoned .
João Ferreira
Looking at https://scalapb.github.io/docs/grpc/ and io.grpc.stub.AbstractStub I would say you can do the instrumentation yourself in io.grpc.CallCredentials#applyRequestMetadata by passing it to callOptions
Arsene Tochemey Gandote
@jtjeferreira thanks for the suggestion. much appreciated
Tobias Eriksson
When I look in Prometheus, I can see JVM stats for GC but surprisingly only for "young"
e.g. jvm_gc_seconds_sum
How could it be that "Old" generation is missing ?
2 replies
Barnabás Oláh
Hello, I wanted to read the (kanela-agent) changelog.md but it looks like it's empty :/ Is it on purpose or the content was accidentally deleted?
Maxim Ivanov
This message was deleted
João Ferreira
https://kamon.io/ is down :(
Darren Bishop
Hi. I’m sure it’s been asked many times but what’s the current approach for surfacing JMX data and exporting with Kamon?
20 replies
Sebastien Vermeille
Hello guys, I am migrating from kamon 1.x to 2.x and have a small issue regarding SystemMetrics.startCollecting(); which no longer exists. Do you know what is the replacement way of doing that ? Kamon.init() ? Thank you in advance for your precious help
1 reply
ok top
Peter Nerg

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 sense
akka_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

2 replies
Hello everybody, a newbie here in need of help.
I am trying out Kamon and so far I had success instrumenting metrics with Prometheus.
Now I am trying to get to instrumenting traces with Zipkin and I am running into some troubles.
I am going back to basics, following the instructions from Elementary Akka Setup.
I can not get any traces in Zipkin nor I see any logged errors.
Here are a few points about my environment:
  • scala: 2.13.1
  • akka: 2.6.8
  • kamon-bundle: 2.1.6
  • kamon-zipkin: 2.1.6
  • Zipkin image: docker run -d -p 9411:9411 openzipkin/zipkin
  • -javaagent:/..full..path../kanela-agent-1.0.6.jar
    I would appreciate any good pointers or redirections.
4 replies
David Pennell
Francisco H
Hi, I'm new to Kamon and got stuck trying to use it first time. I downloaded the Akka-Quickstart example (https://developer.lightbend.com/guides/akka-quickstart-java/) and then added Kamon following the instructions here - https://kamon.io/get-started/ ... when trying to run both command line and on IntelliJ I am getting this error:
3 replies

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.

Srepfler Srdan
where in Zagreb are you located?
the site doesn't say
6 replies