Search code examples
prometheusakka-streamkamonakka-monitoring

Akka Stream & Kamon-Prometheus not returning any metrics but loads an empty page


I tried to integrate kamon-prometheus with akka stream project but at http://localhost:9095/ it loads an empty page.In the console I could see the message that metrics information is available at http://localhost:9095/. When I tried with akka quickstart project, it worked fine.

Is kamon supported for akka streams?


Solution

  • I was trying to run Main from Intellij and that was the reason why I did not get the metrics.With the suggestion from @Ivan Stanislavciuc , I tried sbt run and it worked.