Prometheus JMX exporter

Hi,

I try to use

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

to monitor my elasticsearch JVM with GitHub - prometheus/jmx_exporter: A process for exposing JMX Beans via HTTP for Prometheus consumption

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?

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?

@roidelapluie Did you manage to get this working? Just wondering if this question is still relevant giving new versions since the post.