-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Multiple upstream values not supported #274
Labels
Comments
I've sent a PR to fix this (#267 ), but it was autoclosed today. |
There has not been any activity to this issue in the last 30 days. It will automatically be closed after 7 more days. Remove the |
Apologies, this should not have gotten stale. I'll have a look at the provided PR. |
Fixed with #267 -- thanks for the contribution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
As explain here, nginx can log multiple responses in the upstream variables
request_time=0.016 upstream_response_time=0.000, 0.016 upstream_connect_time=0.000, 0.000 upstream_header_time=0.000, 0.016
which is not supportted by the nginx-log-exporter
To Reproduce
Using a proxy or I think having multiple upstream servers with one failing to force the double responses should do it
Expected behavior
At least parse the line with no error and consider the last value
Configuration file
Nginx conf.d
nginx-log-exporter config
Example log file
Metrics output
Environment:
The text was updated successfully, but these errors were encountered: