File tree Expand file tree Collapse file tree 8 files changed +12
-18
lines changed
Expand file tree Collapse file tree 8 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ and set paths on `compose.yml` file:
217217
218218### Metrics
219219
220- Metrics are available as JMX MBeans, and exposed using [ JMX Exporter] ( https://github.com/prometheus/jmx_exporter ) at port ` 7000 `
220+ Metrics are available as JMX MBeans, and exposed using [ JMX Exporter] ( https://github.com/prometheus/jmx_exporter ) at port ` 7001 `
221221
222222``` shell
223- curl http://localhost:7000 | grep kafka_tiered
223+ curl http://localhost:7001/metrics | grep kafka_tiered
224224```
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# #
16- version : ' 3.8'
1716services :
1817 zookeeper :
1918 image : " confluentinc/cp-zookeeper:7.3.3"
@@ -30,7 +29,7 @@ services:
3029 - azurite
3130 ports :
3231 - " 9092:9092"
33- - " 7000:7000 " # prometheus metrics
32+ - " 7001:7001 " # prometheus metrics
3433 environment :
3534 KAFKA_BROKER_ID : 0
3635 KAFKA_ZOOKEEPER_CONNECT : " zookeeper:2181"
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# #
16- version : ' 3.8'
1716services :
1817 zookeeper :
1918 image : " confluentinc/cp-zookeeper:7.3.3"
@@ -30,7 +29,7 @@ services:
3029 - fake-gcs-server
3130 ports :
3231 - " 9092:9092"
33- - " 7000:7000 " # prometheus metrics
32+ - " 7001:7001 " # prometheus metrics
3433 environment :
3534 KAFKA_BROKER_ID : 0
3635 KAFKA_ZOOKEEPER_CONNECT : " zookeeper:2181"
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# #
16- version : ' 3.8'
1716services :
1817 zookeeper :
1918 image : " confluentinc/cp-zookeeper:7.3.3"
@@ -29,7 +28,7 @@ services:
2928 - zookeeper
3029 ports :
3130 - " 9092:9092"
32- - " 7000:7000 " # prometheus metrics
31+ - " 7001:7001 " # prometheus metrics
3332 environment :
3433 KAFKA_BROKER_ID : 0
3534 KAFKA_ZOOKEEPER_CONNECT : " zookeeper:2181"
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# #
16- version : ' 3.8'
1716services :
1817 zookeeper :
1918 image : " confluentinc/cp-zookeeper:7.3.3"
@@ -29,7 +28,7 @@ services:
2928 - zookeeper
3029 ports :
3130 - " 9092:9092"
32- - " 7000:7000 " # prometheus metrics
31+ - " 7001:7001 " # prometheus metrics
3332 environment :
3433 KAFKA_BROKER_ID : 0
3534 KAFKA_ZOOKEEPER_CONNECT : " zookeeper:2181"
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# #
16- version : ' 3.8'
1716services :
1817 zookeeper :
1918 image : " confluentinc/cp-zookeeper:7.3.3"
@@ -30,7 +29,7 @@ services:
3029 - minio
3130 ports :
3231 - " 9092:9092"
33- - " 7000:7000 " # prometheus metrics
32+ - " 7001:7001 " # prometheus metrics
3433 environment :
3534 KAFKA_BROKER_ID : 0
3635 KAFKA_ZOOKEEPER_CONNECT : " zookeeper:2181"
Original file line number Diff line number Diff line change 1515# #
1616
1717# Base image based 3.8.0 + minor changes unrelated to TS included on this branch:
18- # https://github.com/apache/kafka/compare/3.8...aiven:kafka:3.8.0 -2024-07-30
18+ # https://github.com/apache/kafka/compare/3.8...aiven:kafka:3.8.1 -2024-11-21
1919# See commits and Dockerfile for more details on base image
20- FROM docker.io/aivenoy/kafka:3.8.0 -2024-07-30
20+ FROM docker.io/aivenoy/kafka:3.8.1 -2024-11-21
2121
2222ARG _VERSION
2323
@@ -49,12 +49,12 @@ RUN cd /tiered-storage-for-apache-kafka/azure \
4949 && rm azure-${_VERSION}.tgz
5050
5151# Installing JMX exporter agent
52- ARG JMX_EXPORTER_VERSION=0.18.0
52+ ARG JMX_EXPORTER_VERSION=1.0.1
5353RUN mkdir -p /opt/prometheus/jmx-exporter
54- RUN wget https://repo1 .maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/${JMX_EXPORTER_VERSION}/jmx_prometheus_javaagent-${JMX_EXPORTER_VERSION}.jar \
54+ RUN wget https://repo .maven.apache .org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/${JMX_EXPORTER_VERSION}/jmx_prometheus_javaagent-${JMX_EXPORTER_VERSION}.jar \
5555 -O /opt/prometheus/jmx-exporter/jmx_prometheus_javaagent-${JMX_EXPORTER_VERSION}.jar
5656COPY docker/kafka-jmx-exporter.yml /opt/prometheus/jmx-exporter/.
57- ENV KAFKA_OPTS="-javaagent:/opt/prometheus/jmx-exporter/jmx_prometheus_javaagent-${JMX_EXPORTER_VERSION}.jar=7000 :/opt/prometheus/jmx-exporter/kafka-jmx-exporter.yml"
57+ ENV KAFKA_OPTS="-javaagent:/opt/prometheus/jmx-exporter/jmx_prometheus_javaagent-${JMX_EXPORTER_VERSION}.jar=7001 :/opt/prometheus/jmx-exporter/kafka-jmx-exporter.yml"
5858
5959# Restore the user.
6060USER appuser
Original file line number Diff line number Diff line change 1- # base configs from: https://raw.githubusercontent.com/prometheus/jmx_exporter/main/example_configs/kafka-2_0_0.yml
21lowercaseOutputName : true
32lowercaseOutputLabelNames : true
43whitelistObjectNames : ["*:*"]
You can’t perform that action at this time.
0 commit comments