Prometheus instrumentation library for JVM applications
Java
Permalink
Failed to load latest commit information.
benchmark [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient Fix spelling and missing @Override annotations (#179) Jan 12, 2017
simpleclient_common [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient_dropwizard Fix spelling and missing @Override annotations (#179) Jan 12, 2017
simpleclient_graphite_bridge [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient_hotspot drop obsolete import (#177) Jan 10, 2017
simpleclient_jetty Fix spelling and missing @Override annotations (#179) Jan 12, 2017
simpleclient_log4j [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient_logback [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient_pushgateway Fix spelling and missing @Override annotations (#179) Jan 12, 2017
simpleclient_servlet [maven-release-plugin] prepare for next development iteration Nov 25, 2016
simpleclient_spring_boot Fix spelling and missing @Override annotations (#179) Jan 12, 2017
simpleclient_vertx [maven-release-plugin] prepare for next development iteration Nov 25, 2016
.gitignore add log4j and logback appenders to recording logging metrics May 27, 2015
.travis.yml Implemented Vert.x 3.x simple client support Jul 13, 2016
AUTHORS.md Update Julius's email address in AUTHORS.md Oct 26, 2015
CONTRIBUTING.md License cleanup Jan 22, 2015
LICENSE License cleanup Jan 22, 2015
NOTICE Added quantiles to summary metric (same algorithm as in client_golang). Aug 5, 2016
README.md 0.0.19 is out Nov 25, 2016
pom.xml [maven-release-plugin] prepare for next development iteration Nov 25, 2016

README.md

Prometheus JVM Client

It supports Java, Clojure, Scala, JRuby, and anything else that runs on the JVM.

Using

Assets

If you use Maven, you can simply reference the assets below. The latest version can be found on in the maven repository for io.prometheus.

<!-- The client -->
<dependency>
  <groupId>io.prometheus</groupId>
  <artifactId>simpleclient</artifactId>
  <version>0.0.19</version>
</dependency>
<!-- Hotspot JVM metrics-->
<dependency>
  <groupId>io.prometheus</groupId>
  <artifactId>simpleclient_hotspot</artifactId>
  <version>0.0.19</version>
</dependency>
<!-- Exposition servlet-->
<dependency>
  <groupId>io.prometheus</groupId>
  <artifactId>simpleclient_servlet</artifactId>
  <version>0.0.19</version>
</dependency>
<!-- Pushgateway exposition-->
<dependency>
  <groupId>io.prometheus</groupId>
  <artifactId>simpleclient_pushgateway</artifactId>
  <version>0.0.19</version>
</dependency>

Getting Started

There are canonical examples defined in the class definition Javadoc of the client packages.

Documentation can be found at the Java Client Github Project Page.

Contact

The Prometheus Users Mailinglist is the best place to ask questions.

Details for those wishing to develop the library can be found on the wiki

Build Status