jmx_exporter
jmx_exporter copied to clipboard
rmi timeout
trafficstars
How to configure the timeout of jmx_prometheus_httpserver rmi
connectTimeout and responseTimeout
I add parameters(-Dsun.rmi.transport.tcp.responseTimeout=10000) that have no effect on the command line
Hmm, I don't see why standard configuration wouldn't work. The JmxScraper creates a straightforward MBeanServerConnection:
https://github.com/prometheus/jmx_exporter/blob/master/collector/src/main/java/io/prometheus/jmx/JmxScraper.java#L95-L96
Closing as stale. Please reopen if you would like to continue the discussion.