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

Http connections not being closed #31

Open
Codexxl opened this issue Oct 31, 2019 · 4 comments
Open

Http connections not being closed #31

Codexxl opened this issue Oct 31, 2019 · 4 comments

Comments

@Codexxl
Copy link

Codexxl commented Oct 31, 2019

We're running prometheus-to-cloudwatch in a kubernetes pod to scrape our selenium endpoint for metrics. This is working but after a couple of hours it causes the selenium exporter to become unavailable as the http connections are being held open so no new ones can be created. We're having to restart the exporter to get everything working again. Is there a way to get prometheus-to-cloudwatch to close the http connections after it has made them so that it isn't leaving them hanging?

@jjuraszek
Copy link

this is what I'm struggling as well. Any workaround?

@Codexxl
Copy link
Author

Codexxl commented Jun 4, 2020

@jjuraszek We had to resort to a cron job that restarted our exporter every couple of hours so that we could force close the connections.

@dcwangmit01
Copy link

dcwangmit01 commented Jun 10, 2020

This open PR #39 seems to fix the problem.

@carljohnstone
Copy link

Now that #39 is merged, can this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants