client_java
client_java copied to clipboard
Added the ability to configured the HTTPServer socket timeout
Issue
For scenarios where metrics take a long time to retrieve/timeout, we are dependent on the operating system to timeout the socket, resulting in collections getting "stuck"
https://github.com/prometheus/jmx_exporter/issues/911
Proposal
Add a method to HTTPServer.Builder
to configure the underline socket timeout for the HTTPServer
. Once added, we can expose configuration in the Prometheus JMX Exporter to configure the value.