prometheus jmx_exporter in kubernetes

1/20/2021

Im using kubenetes and I have a pod contain ignite db I added to the pod another container - sscaling/jmx-prometheus-exporter:latest I read in git I should run this

To run as a javaagent download the jar and run:

 java -javaagent:./jmx_prometheus_javaagent-0.14.0.jar=8080:config.yaml -jar yourJar.jar

but I didnt understand, should I also download the file for the kubenrtes container as well? can someone assist how can I continue from here

I have the following default configuration:

---
hostPort: localhost:5555
username:
password:

rules:
- pattern: ".*"
-- NoamiA
ignite
java
jmx-exporter
kubernetes
prometheus

0 Answers