Created
May 29, 2019 15:29
-
-
Save afirth/de8dd62365b89677cea8e37fbf2e482a to your computer and use it in GitHub Desktop.
Add jmx_exporter to Camunda BPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM camunda/camunda-bpm-platform:tomcat-7.11.0 | |
## Add prometheus exporter | |
RUN wget https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.11.0/jmx_prometheus_javaagent-0.11.0.jar -P lib/ | |
#9404 is the reserved prometheus-jmx port | |
ENV CATALINA_OPTS -javaagent:lib/jmx_prometheus_javaagent-0.11.0.jar=9404:/etc/config/prometheus-jmx.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment