Prometheus will pull in the metrics. You have to expose the metrics on
an HTTP endpoint in your Java code (usually /metrics) and then
configure that endpoint in your prometheus.yml.
Look at the javadoc of the Prometheus Java client to get an idea how it works.
--
Björn Rabenstein, Engineer
http://soundcloud.com/brabenstein
SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany
Managing Director: Alexander Ljung | Incorporated in England & Wales
with Company No. 6343600 | Local Branch Office | AG Charlottenburg |
HRB 110657B