Prometheus JMX exporter

#1

Hi,

I try to use

java -javaagent:./jmx_prometheus_javaagent-0.11.0.jar=18080 ..

to monitor my elasticsearch JVM with https://github.com/prometheus/jmx_exporter

However, when the security plugin is active, curl :18080/metrics gives me tcp reset (it works before the plugin is loaded).

How can I “whitelist” this in the security plugin?

#2

Hi

Can you share a gist of the config.yml file you have used to monitor your Elasticsearch JVM with the JMX exporter?

And your Elasticsearch logs with the active security plugin?