Prometheus JMX exporter



I try to use

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

to monitor my elasticsearch JVM with

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?



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?