Releases: prometheus/jmx_exporter
0.16.0 / 2021-07-04
Update SnakeYAML Dependency Version (#592)
Starting with version 0.16.0
, the Java agent is released in two versions:
- jmx_prometheus_javaagent-0.16.0.jar requires Java >= 7.
- jmx_prometheus_javaagent-0.16.0_java6.jar is compatible with Java 6.
Both versions are built from the same source files and have identical functionality. The only difference is the version of the included snakeyaml dependency.
jmx_exporter
uses the snakeyaml library to read the YAML configuration file. Snakeyaml 1.23 is the last release to support Java 6. This version is affected by CVE-2017-18640, which can cause snakeyaml to execute arbitrary code if the YAML file comes from an untrusted source.
This vulnerability does not apply in the context of jmx_exporter
, because the agent configuration will not come from an untrusted source. However, even if there is no actual security risk, users find it annoying that their automated security scans report a CVE. In order to prevent this we published a version with an updated snakeyaml dependency that requires Java >= 7.
Other Changes
- [BUGFIX] Leverages the interpolated help when the matching rule is cached (fixes #612) (#613)
- [ENHANCEMENT] Automated integration tests of different Java versions using Testcontainers. Docker needs to be installed on a system in order to run
./mvnw verify
. - [ENHANCEMENT] Bump logback-classic version (#617)
- [ENHANCEMENT] Update to client_java 0.11.0
- [ENHANCEMENT] added support for
java.util.Optional
(the SonarQube maintainers had this weird idea of anOptional<Long>
property in an MBean)
0.15.0 / 2021-01-25
[CHANGE/ENHANCEMENT] Update to client_java 0.10.0 to add OpenMetrics support. Any COUNTER
type samples will have _total
added as a suffix if it isn't already present. If you do not want this, use the default type of UNKNOWN
. (#321)
[ENHANCEMENT] Added a safety check to deal with incorrect implementations of javax.management.Attribute (#542)
0.14.0 / 2020-09-04
[FEATURE] Allow caching regular expression matching in rules (#518)
0.13.0 / 2020-05-12
[FEATURE] Added support for jmx attributes of type java.util.Date (#449)
[ENHANCEMENT] Include error message with exception when the agent fails to start. (#399)
[ENHANCEMENT] Allow specifying IPv6 address to bind to (#450)
[ENHANCEMENT] Bump client_java to 0.9.0, including adding /-/healthy (#495)
[BUGFIX] Handle NullPointerException for getAttributes (#444)
0.12.0 / 2019-07-04
0.11.0 / 2019-01-16
0.3.1 / 2018-05-10
[BUGFIX] Avoid a stack overflow with long property lists
[BUGFIX] Fix null pointer exception when racing with an item being removed from a CompositeData
0.3.0 / 2018-03-02
[ENHANCEMENT] Various performance improvements
[ENHANCEMENT] Upgraded to simpleclient 0.3.0
0.2.0 / 2018-01-08
[FEATURE] Support the agent binding to specific IPv6 addresses
0.1.0 / 2017-10-26
[BUGFIX] Prevent hanging on JVM exit for java agent
[BUGFIX] Correct anchoring on regex