Skip to content

Add support for local and remote addresses on the server for child ch…#13343

Merged
normanmaurer merged 6 commits intomainfrom
domainsocket_address
Apr 21, 2023
Merged

Add support for local and remote addresses on the server for child ch…#13343
normanmaurer merged 6 commits intomainfrom
domainsocket_address

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

…annels when UDS (#13323)

Motivation:
Local and remote addresses are not available on the server for child channels when Unix Domain Sockets is used. There are use cases where one may need this information in order to collect metrics per local or remote addresses.

Modifications:

  • Add JNI code for obtaining local/remote address
  • When creating a child channel initialise the local/remote addresses.
  • Add junit tests

Result:
Local and remote addresses are now available on the server for child channels when Unix Domain Sockets is used.

violetagg and others added 6 commits April 19, 2023 14:18
…annels when UDS (#13323)

Motivation:
Local and remote addresses are not available on the server for child channels when
Unix Domain Sockets is used. There are use cases where one may need this information
in order to collect metrics per local or remote addresses.

Modifications:
- Add JNI code for obtaining local/remote address
- When creating a child channel initialise the local/remote addresses.
- Add junit tests

Result:
Local and remote addresses are now available on the server for child channels when
Unix Domain Sockets is used.

Co-Authored-by: Norman Maurer <norman_maurer@apple.com>
@normanmaurer normanmaurer merged commit 6840f98 into main Apr 21, 2023
@normanmaurer normanmaurer deleted the domainsocket_address branch April 21, 2023 06:34
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.

2 participants