As the title says, I'm trying to collect system metrics using kamon and expose them to Prometheus.
On http://localhost:9095/, I can briefly see the below message:
# The kamon-prometheus module didn't receive any data just yet.
but after refreshing several times I get a blank page. The kamon status page at http://localhost:5266/#/ shows 38 metrics.
Am I missing something?
My setup is as follows, in my main method, at the very top I have
Kamon.init();
I have added this in my pom:
<dependency>
<groupId>io.kamon</groupId>
<artifactId>kamon-bundle_2.12</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>io.kamon</groupId>
<artifactId>kamon-prometheus_2.12</artifactId>
<version>2.0.0</version>
</dependency>