-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error: Get http://localhost:9661/metrics/main: EOF #5
Comments
Not sure, but I fixed a serious bug (race condition) a few days ago, so you might want to try updating. Otherwise, are you seeing anything in the exporter's stdout/stderr? Are any of the script_exporter internal error metrics nonzero? |
I see the exact same issue randomly appearing for one of my targets. The script logs that it was invoked, but somehow Prometheus does not receive the response. Can't see anything in Prometheus' or the script exporter's logs. Using the 0.1.3 release. |
@zstoth I'm having similar issue. What happens when you curl the exporter directly?
Seeing the same EOF error in Prometheus targets, and curl returns with the empty reply message shown above. Couple things of note.
|
For me setting |
I also had a similar error, but it happened in the process of prometheus notifying alertmanager, please move: prometheus/prometheus#9176 |
Hi ncabatoff,
Thank you for providing such an awesome exporter. I'm fairly new to Prometheus, so please bear with me :)
I have been using your script-exporter against a python executable file that runs some oracle sql query and output in the Prometheus text exposision format.
Out of the 3 queries, 2 of them are working fine (script duration is less than 5sec) and prometheus did not display any errors. The third one sometimes works fine, and sometimes gives me and EOF error as shown:
This script duration runs between 5-60sec. This depends on how busy the database is, the script duration will vary.
To be honest, I dont think this is a script duration issue. Looking at the error, would you be able to tell me what could be the problem and how I could fix it?
Thank you in advance :)
Regards,
Kevin
The text was updated successfully, but these errors were encountered: