Skip to content

Conversation

@amuraru
Copy link

@amuraru amuraru commented Sep 28, 2025

Currently the jmx-javaagent docker image is built from https://github.com/amuraru/jmx_exporter (and it's an old/unmantained version)

In order to bring that dependency in-tree here, this PR extends kafka image(s) release (kafka-*) action to also build a docker image directly from https://github.com/prometheus/jmx_exporter

The image is published to:
https://github.com/adobe/koperator/pkgs/container/koperator%2Fjmx-javaagent

@amuraru amuraru force-pushed the master branch 2 times, most recently from dafe225 to 04d55a5 Compare September 28, 2025 13:33
@amuraru amuraru force-pushed the jmx_exporter branch 9 times, most recently from d0876a7 to 84fe514 Compare September 29, 2025 06:53
@amuraru amuraru force-pushed the jmx_exporter branch 2 times, most recently from 211d5df to 33fdc50 Compare September 29, 2025 10:55
@amuraru amuraru requested review from ecojan and hvan September 29, 2025 11:41
@amuraru amuraru force-pushed the jmx_exporter branch 6 times, most recently from 92e9a36 to 695620e Compare October 3, 2025 17:58
@amuraru amuraru requested a review from dobrerazvan October 10, 2025 08:52
@amuraru amuraru force-pushed the jmx_exporter branch 2 times, most recently from 647ac5f to 5f449a0 Compare October 10, 2025 10:55
@amuraru amuraru force-pushed the master branch 2 times, most recently from bc5898c to d38a92c Compare October 13, 2025 11:47
@amuraru amuraru force-pushed the master branch 5 times, most recently from a354dcb to 527226f Compare October 13, 2025 14:44
@amuraru amuraru force-pushed the jmx_exporter branch 3 times, most recently from 670659a to 8a79e77 Compare October 20, 2025 12:14

WORKDIR /src
RUN mvn -B -Dmaven.javadoc.skip=true -Dskip.javadoc=true \
-Dmaven.compiler.source=21 -Dmaven.compiler.target=21 -Dmaven.compiler.release=21 \
Copy link
Author

@amuraru amuraru Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using https://hub.docker.com/r/bitnami/jmx-exporter and docker-hub-remote mirror?

@dobrerazvan the main reason is that I want to align the compilation of jmx_exporter with the same jre target as the kafka itself (i.e java 21). this is an agent attached to the actual broker so I think it's better to control the built of that

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, didn't think of that.

@amuraru amuraru changed the title Upgrade jmx-exporter to v1.4.0 Upgrade jmx-exporter to v1.5.0 Nov 1, 2025
@amuraru amuraru force-pushed the jmx_exporter branch 8 times, most recently from 8872603 to 8851c74 Compare November 2, 2025 13:35
Build jmx_exporter from upstream prometheus releases.
Currently the jmx-javaagent docker image is built from https://github.com/amuraru/jmx_exporter

In order to bring that dependency in-tree here, this PR extends kafka image(s) release (kafka-*) action
to also build a docker image directly from https://github.com/prometheus/jmx_exporter

The image is published to:
https://github.com/adobe/koperator/pkgs/container/koperator%2Fjmx-javaagent
@amuraru amuraru merged commit 12af6af into master Nov 2, 2025
7 checks passed
@amuraru amuraru deleted the jmx_exporter branch November 2, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants