Unverified Commit 6f15b0ab authored by Lex Li's avatar Lex Li Committed by GitHub

[Fix-2811] Upgrade jmx_prometheus_javaagent to 0.20.0 to fix some CVE (#2812)

* Upgrade jmx_prometheus to 0.20.0 to fix CVE
parent 390f8d8a
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
<dependency> <dependency>
<groupId>io.prometheus.jmx</groupId> <groupId>io.prometheus.jmx</groupId>
<artifactId>jmx_prometheus_javaagent</artifactId> <artifactId>jmx_prometheus_javaagent</artifactId>
<version>0.16.1</version> <version>0.20.0</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>org.yaml</groupId> <groupId>org.yaml</groupId>
......
...@@ -11,7 +11,7 @@ PID_FILE="dinky.pid" ...@@ -11,7 +11,7 @@ PID_FILE="dinky.pid"
# JMX path # JMX path
APP_HOME="$(cd `dirname $0`; pwd)" APP_HOME="$(cd `dirname $0`; pwd)"
JMX="-javaagent:$APP_HOME/lib/jmx_prometheus_javaagent-0.16.1.jar=10087:$APP_HOME/config/jmx/jmx_exporter_config.yaml" JMX="-javaagent:$APP_HOME/lib/jmx_prometheus_javaagent-0.20.0.jar=10087:$APP_HOME/config/jmx/jmx_exporter_config.yaml"
# Check whether the pid path exists # Check whether the pid path exists
PID_PATH="$(cd "$(dirname "$0")";pwd)/run" PID_PATH="$(cd "$(dirname "$0")";pwd)/run"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment