A process for exposing JMX Beans via HTTP for Prometheus consumption.
This container image contains the JMX Exporter (Java Agent and HTTP Server) from the Prometheus project.
Run a temporary container with the JMX Exporter to see help:
docker run --rm -it sourcemation/jmx-exporter:latest --help
To run the standalone HTTP server:
docker run -p 5556:5556 -v $(pwd)/config.yaml:/config.yaml sourcemation/jmx-exporter:latest 5556 /config.yaml
To use the Java Agent, you can mount the jar from this image or copy it in a multi-stage build.
COPY --from=sourcemation/jmx-exporter:latest /opt/jmx_exporter/jmx_prometheus_javaagent.jar /opt/jmx_exporter/
The sourcemation/jmx-exporter image is based on sourcemation/jre-21, the
build is based on the sourcemation/maven image.
This image exposes the JMX Exporter.
We'd love for you to contribute! You can request new features, report bugs, or submit a pull request with your contribution to this image on the Sourcemation GitHub repository.
Disclaimer: The sourcemation/jmx-exporter image is not affiliated with
the Prometheus project. The respective companies and
organisations own the trademarks mentioned in the offering. The
sourcemation/jmx-exporter image is a separate project and is maintained by
Sourcemation.
A detailed risk analysis report of the image and its components can be found on the Sourcemation platform.
For more information, check out the JMX Exporter documentation.
The base license for the solution is the Apache 2.0 License.
Content type
Image
Digest
sha256:1ed395a69…
Size
118.5 MB
Last updated
12 days ago
docker pull sourcemation/jmx-exporter