--

Hi, It's a old post but it seems to work at least one metric. I tell you the steps that I followed:

I started the docker compose in src/test/resources/docker. You can access to prometheus with http://localhost:9090/ and to grafana with http://localhost:3000/

I started the spring application. A metric that you can use it's calling http://localhost:8080/camel/mockCounter

With actuator you can see a lot of metrics in http://localhost:8080/actuator/prometheus

If you access to Prometheus you can see graphics associated to those metrics. For example: http://localhost:9090/graph?g0.range_input=1h&g0.expr=simpleCounterMock_total&g0.tab=0

The 'dificult' part it's create a dashboard in Grafana. I didn't remember well and it helps me this link: https://prometheus.io/docs/visualization/grafana/

--

--

No responses yet