Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate Exporter for Spring Boot Metrics #1190
Comments
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
The general idea would be to write a simpleclient collector that'd proxy the metrics, giving them good labels where possible. I note that Spring counters are not compatible with Prometheus counters, as they have a decrement method. |
This comment has been minimized.
This comment has been minimized.
|
I had to use a Prometheus gauge in place of spring counters. Was going to do the same as dropwizard spring metrics implementation & use metrics prefixes to create counters & summaries as required. |
This comment has been minimized.
This comment has been minimized.
|
There's nothing to be done here on the Prometheus side, if there's anything on the client_java side please open up an issue there. |
brian-brazil
closed this
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mingfang commentedOct 29, 2015
Spring Boot applications by default supports the /metrics endpoint exposing JVM and application metrics, http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-metrics.html
However the response is not compatible with Prometheus.
I know about the JMX Exporter but it would be great to have an official SpringBootExporter that works out of the box.