Skip to content
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

Enhance debug logging for ReservableRequestConcurrencyControllers #2645

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

Provide more visibility for ReservableRequestConcurrencyControllers and how it changes internal state when new events received.

Modifications:

  • Pass a connection to ReservableRequestConcurrencyControllers to always include connectionId when logging;
  • Log when retrying MaxConcurrentStreamsViolatedStacklessHttp2Exception;
  • Remove logging transport events from AbstractLBHttpConnectionFactory because we log it in ReservableRequestConcurrencyControllers now;

Results:

All ReservableRequestConcurrencyControllers logs contain connectionId.

Motivation:

Provide more visibility for `ReservableRequestConcurrencyControllers`
and how it changes internal state when new events received.

Modifications:

- Pass a connection to `ReservableRequestConcurrencyControllers` to
always include connectionId when logging;
- Log when retrying MaxConcurrentStreamsViolatedStacklessHttp2Exception;
- Remove logging transport events from `AbstractLBHttpConnectionFactory`
because we log it in `ReservableRequestConcurrencyControllers` now;

Results:

All `ReservableRequestConcurrencyControllers` logs contain connectionId.
Copy link
Contributor

@bryce-anderson bryce-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm after fixing the log format string.

@idelpivnitskiy idelpivnitskiy merged commit cf1da8d into apple:main Jul 6, 2023
15 checks passed
@idelpivnitskiy idelpivnitskiy deleted the rcc-logging branch July 6, 2023 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants