From 61518fb3c0ffdce34cb1a12cba5b838f851e9d12 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Tue, 3 Dec 2024 15:17:06 +0800 Subject: [PATCH] Pin github file to commit --- test/e2e-v2/cases/kafka/kafka-monitoring/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e-v2/cases/kafka/kafka-monitoring/Dockerfile b/test/e2e-v2/cases/kafka/kafka-monitoring/Dockerfile index eb1a99d4ad9d..5f9ee334a394 100644 --- a/test/e2e-v2/cases/kafka/kafka-monitoring/Dockerfile +++ b/test/e2e-v2/cases/kafka/kafka-monitoring/Dockerfile @@ -18,7 +18,7 @@ FROM bitnami/kafka:2.4.1 # Download the JMX Prometheus Java Agent and config file ADD https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.18.0/jmx_prometheus_javaagent-0.18.0.jar /etc/jmx_prometheus_javaagent-0.18.0.jar -ADD https://raw.githubusercontent.com/prometheus/jmx_exporter/main/example_configs/kafka-2_0_0.yml /etc/kafka-2_0_0.yml +ADD https://raw.githubusercontent.com/prometheus/jmx_exporter/91622ad478015364444e5d63475d1673c09e6268/examples/kafka-2_0_0.yml /etc/kafka-2_0_0.yml # Set the necessary permissions for the jar and yml USER root