making / prometheus-exporter-metrics-forwarder-service

3 stars 2 forks source link

Convert counter.status.*, gauge.response.* into prometheus way #1

Open making opened 7 years ago

making commented 7 years ago

It would be great to convert Actuator metrics to prometheus way. For example

"counter.status.200.root": 20 -> request_count{"response_status"=200," "path"="root"} 20 "gauge.response.root": 2 -> response_time{"path"="toot"} 2

tine2k commented 6 years ago

Have a look at the Micrometer project (http://micrometer.io/docs/ref/spring/1.5 => default in Spring Boot 2.0) and check what the new /prometheus endpoint returns. It shows the Spring Boot metrics in prometheus syntax.