-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RoundRobinLoadBalancer
: further logging enhancements (#1870)
Motivation: There are still a few gaps in RRLB logging. Modifications: - Add a counter for `targetResource` to distinguish different clients for the same target host; - Enhance `RoundRobinLoadBalancer#toString()` to include all hosts; - Use consistent "Load balancer for" pattern for all log events; - Avoid double logging when health check passes (it also logs that it cancelled); - Log the full `host` state when health check is cancelled to let us know its new state; - Log connection id if we close a new connection when health check finishes; - Log if the health check terminated with an unexpected error; - Fix order of log arguments when we observe connect failure; Result: Better visibility into RRLB execution.
- Loading branch information
1 parent
8c007d7
commit f9558ef
Showing
2 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters