-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
prometheus_client: Internal Server Error does not log anything #2868
Comments
I wonder if it is caused by a particular input, can you try enabling only a single "system" input and see if you still receive a 500 error? |
It is indeed caused by docker input, but these metrics are exported to influxdb without issues. |
This might be a duplicate of #2822, is there anything in the response body? |
Sorry I've been careless, I used wget at the beginning which did not print a response in case of error. With curl I had the complete response, and a lot of " label dimensions inconsistent with previously collected metrics" |
I'm going to close this one, will track over on the other issue. |
Bug report
With the Prometheus_client plugin, I get 500 Internal Server Error for some reason.
I don't have any information to debug it (even with agent.debug = true).
Relevant telegraf.conf:
[[outputs.prometheus_client]]
listen = ":9126"
expiration_interval = "60s"
System info:
Telegraf 1.3.0, Linux
Steps to reproduce:
wget http://localhost:9126/metrics
Connecting to localhost:9126 (127.0.0.1:9126)
wget: server returned error: HTTP/1.1 500 Internal Server Error
Expected behavior:
See something in stderr
Actual behavior:
Nothing gets logged
The text was updated successfully, but these errors were encountered: