-
Notifications
You must be signed in to change notification settings - Fork 619
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
Add service name to access log fields #278
Comments
This patch adds a $upstream_service field to the available access log fields. Fixes #278
Thanks. I'm glad you like it :) I've added a patch which should do what you want. This sounds like a good idea and the metrics should probably expose that as well. Could you let me know whether that works for you? |
Erm, the metrics already export this. Time for ☕️ Enjoy 😄 |
Perfect. That's exactly what I was looking for! Enjoy I shall. |
I realized I should probably leave this open until it's merged in :) |
yeah ;) it is merged now. Have fun |
I have a use case where I'm parsing the streamed access logs to calculate request statistics on a more granular level than the metrics output gives. I have no issues with this but, given a path that is split between two services - I can't figure out a way (other than keeping track of all of the service ips) to track which service the request is headed towards. Is this available at the time the access log is being created?
If not, any ideas or clever ways to workaround this?
Thanks for the awesome lb!
The text was updated successfully, but these errors were encountered: