I started using Kamon instrumentation recently and facing issues with the rate of the kamon/prometheus http endpoint refresh
Preface:
"io.kamon" %% "kamon-bundle" % "2.1.4"
&& "io.kamon" %% "kamon-prometheus" % "2.1.4"
kamon.metric.tick-interval 1 second
& kamon.prometheus.refresh-interval 1 second
related to the rate of refreshProblem:
Custom metrics that are exposed at the endpoint (localhost:9095) are not refreshed every second. Approximately, they are refreshed every 60 seconds.
It's not prometheus configuration problem, I'm checking the values on the http endpoint exposed by kamon, manually refreshing the page
This was misconfiguration issue. If you are getting same problem, please make sure that the kamon configuration is on the top level of the application.conf
, not inside akka {..}
as I had it