singnet / offernet

Offer Networks simulation framework written in Java/Groovy/Gremlin
https://singnet.github.io/offernet/public/offernet-documentation/index.html
MIT License
8 stars 5 forks source link

Add Kamon instrumentation for logging to message traces and statistics #21

Closed kabirkbr closed 6 years ago

kabirkbr commented 6 years ago

Subtask of #13

kabirkbr commented 6 years ago

Unfortunately Kamon 1.0 documentation (here) is incomplete (or so it seems) and examples do not work, both in Java and Scala. All compiles and runs but there are no messages exposed on port 9095...

There is also an original example in https://github.com/kamon-io/kamon.io/tree/master/examples/kamon-akka-examples based on Kamon 0.6 -- should try to use older version until Kamon 1.0 documentation gets updated.

kabirkbr commented 6 years ago

Some more resources (again, on Kamon 0.6): https://softwaremill.com/akka-monitoring-with-kamon-part-1/ https://www.emnify.com/blog/2018/02/01/monitoring-with-kamon-1-0

kabirkbr commented 6 years ago

Message traces are logged into Jaeger, statistics into Prometheus.