Skip to content

Commit 1b980ad

Browse files
committed
chore(jmx_exporter): update version
1 parent db21676 commit 1b980ad

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

scripts/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"name": "jmx_exporter",
6161
"type": "github",
6262
"owner": "prometheus",
63-
"match": "^parent-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
63+
"match": "^[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
6464
},
6565
"caddy": {
6666
"name": "caddy",

stacks/jmx_exporter/build.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ function build() {
88
generate-stack-path
99
BIN_DIR="${DATA_DIR}"/bin
1010
mkdir -p "${BIN_DIR}"
11-
curl -fsSL -o tmp.tar.gz https://github.com/prometheus/jmx_exporter/archive/refs/tags/parent-${STACK_VERSION}.tar.gz
11+
curl -fsSL -o tmp.tar.gz https://github.com/prometheus/jmx_exporter/archive/refs/tags/${STACK_VERSION}.tar.gz
1212
tar -xzf tmp.tar.gz
13-
mv jmx_exporter-parent-${STACK_VERSION}/example_configs/ "${DATA_DIR}"
14-
rm -rf jmx_exporter-parent-${STACK_VERSION} jmx_exporter-${STACK_VERSION}.linux-${OS_ARCH} tmp.tar.gz
15-
curl -fsSL -o "${DATA_DIR}"/jmx_prometheus_httpserver.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/${STACK_VERSION}/jmx_prometheus_httpserver-${STACK_VERSION}.jar
16-
curl -fsSL -o "${DATA_DIR}"/jmx_prometheus_javaagent.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/${STACK_VERSION}/jmx_prometheus_javaagent-${STACK_VERSION}.jar
13+
mv jmx_exporter-${STACK_VERSION}/examples/ "${DATA_DIR}"
14+
rm -rf jmx_exporter-${STACK_VERSION} jmx_exporter-${STACK_VERSION}.linux-${OS_ARCH} tmp.tar.gz
15+
curl -fsSL -o "${DATA_DIR}"/jmx_prometheus_standalone.jar https://github.com/prometheus/jmx_exporter/releases/download/${STACK_VERSION}/jmx_prometheus_standalone-${STACK_VERSION}.jar
16+
curl -fsSL -o "${DATA_DIR}"/jmx_prometheus_javaagent.jar https://github.com/prometheus/jmx_exporter/releases/download/${STACK_VERSION}/jmx_prometheus_javaagent-${STACK_VERSION}.jar
17+
curl -fsSL -o "${DATA_DIR}"/jmx_prometheus_isolator_javaagent.jar https://github.com/prometheus/jmx_exporter/releases/download/${STACK_VERSION}/jmx_prometheus_isolator_javaagent-${STACK_VERSION}.jar
1718
}
1819

1920
# call build stack

0 commit comments

Comments
 (0)