55JMX Exporter
66=====
77
8-
98JMX to Prometheus exporter: a collector that can configurable scrape and
109expose mBeans of a JMX target.
1110
@@ -15,16 +14,25 @@ HTTP server and scrape remote JMX targets, but this has various
1514disadvantages, such as being harder to configure and being unable to expose
1615process metrics (e.g., memory and CPU usage).
1716
18- ** Running the exporter as a Java agent is strongly encouraged.**
17+ ### ** NOTE**
18+
19+ ** Some JVM metric names have changed to conform with the [ OpenMetrics] ( https://openmetrics.io/ ) specification.**
20+
21+ ** Dashboards will need to be changed if referencing the changed JVM metrics.**
22+
23+ https://prometheus.github.io/client_java/migration/simpleclient/#jvm-metrics
24+
1925
2026## Running the Java Agent
2127
22- - [ jmx_prometheus_javaagent-0.20.0.jar] ( https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.20.0/jmx_prometheus_javaagent-0.20.0.jar )
28+ ** Running the exporter as a Java agent is strongly encouraged.**
29+
30+ - [ jmx_prometheus_javaagent-1.0.0.jar] ( https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/1.0.0/jmx_prometheus_javaagent-1.0.0.jar )
2331
2432To run as a Java agent, download one of the JARs and run:
2533
2634```
27- java -javaagent:./jmx_prometheus_javaagent-0.20 .0.jar=12345:config.yaml -jar yourJar.jar
35+ java -javaagent:./jmx_prometheus_javaagent-1.0 .0.jar=12345:config.yaml -jar yourJar.jar
2836```
2937
3038Metrics will now be accessible at [ http://localhost:12345/metrics ] ( http://localhost:12345/metrics ) .
@@ -41,12 +49,12 @@ Example configurations can be found in the `example_configs/` directory.
4149
4250# # Running the Standalone HTTP Server
4351
44- - [jmx_prometheus_httpserver-0.20. 0.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/0.20. 0/jmx_prometheus_httpserver-0.20 .0.jar)
52+ - [jmx_prometheus_httpserver-1.0. 0.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/1.0. 0/jmx_prometheus_httpserver-1.0 .0.jar)
4553
4654To run the standalone HTTP server, download one of the JARs and run :
4755
4856` ` `
49- java -jar jmx_prometheus_httpserver-0.20 .0.jar 12345 config.yaml
57+ java -jar jmx_prometheus_httpserver-1.0 .0.jar 12345 config.yaml
5058` ` `
5159
5260Metrics will now be accessible at [http://localhost:12345/metrics](http://localhost:12345/metrics).
0 commit comments