No description, website, or topics provided.
Clone or download
Latest commit 5f58a1c May 24, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/banzaicloud Initial commit Apr 16, 2018
.gitignore Initial commit Apr 16, 2018
LICENSE Initial commit Apr 16, 2018 Fix typo May 24, 2018
pom.xml Initial commit Apr 16, 2018

JMX exporter loader

This application loads a Prometheus JMX Exporter agent into running Java processes. Prometheus JMX Exporter as it is implemented can be loaded into Java processes only at JVM startup. With a small change it can be made loadable into an already running Java process. You can take a look at the change in our jmx_exporter fork

The loader expects the following configuration to be passed as system properties:

  • pid - pid of the java process to inject prometheus java agent into
  • prometheus.javaagent.path - path to the prometheus java agent jar
  • prometheus.javaagent.configPath - path to the config file of prometheus java agent (example config file)
  • prometheus.port - the port metrics can be scraped from