Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ability to configured the HTTPServer socket timeout #924

Closed
dhoard opened this issue Feb 22, 2024 · 1 comment
Closed

Added the ability to configured the HTTPServer socket timeout #924

dhoard opened this issue Feb 22, 2024 · 1 comment
Assignees

Comments

@dhoard
Copy link
Collaborator

dhoard commented Feb 22, 2024

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"

prometheus/jmx_exporter#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.

@dhoard
Copy link
Collaborator Author

dhoard commented Mar 21, 2024

Closed with PR #932

@dhoard dhoard closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant