chiabre / jmeter_prom_exporter

Docker image to run Jmeter exposing Prometheus Listener for Jmeter metrics.
MIT License
3 stars 0 forks source link
docker-image jmeter jmeter-listener prometheus-exporter

Docker image for Apache JMeter + Prometheus Listener for Jmeter

Docker image to run Jmeter exposing Prometheus Listener for Jmeter metrics.

Apache JMeter an application designed to load test functional behavior and measure performance - https://jmeter.apache.org

Prometheus Listener for Jmeter an independent JMeter pluign to expose JMeter metrics to Prometheuss - https://github.com/johrstrom/jmeter-prometheus-plugin

The version number of this images is composed of two version numbers

Apache JMeter including + Prometheus Listener for Jmeter

chiabre/jmeter_prom_exporter

This images provides:

Additional info:

Supported tags

How to use this image

Build using

build.sh

Run using

docker run --rm --name jmeter -i -vpwd:\tmp-p 9270:9270 chiabre/jmeter_prom_exporter:5.4.1-0.6.0 -t [YOUR_SCRIPT].jmx

[YOUR_SCRIPT].jmx as to be present in the current path path, Additional JMeter or Promethues listern argument can be appended to the command.

During test execution the Prometheus JMX exporter metrics are at:

http://[JMETER]:9270/metrics/

JMeter plugins

Additional JMeter plugins can me mounted in container in the following folder /opt/apache-jmeter-${JMETER_VERSION}/lib/ext

Credits

Thanks to https://github.com/hauptmedia/docker-jmeter, https://github.com/hhcordero/docker-jmeter-server and https://github.com/justb4/docker-jmeter for providing the Dockerfiles that inspired me.