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

Include remote address string in Request, Call #2253

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Apr 10, 2024

  1. Include remote address, port in Request, Call

    This allows the application to log the remote address for a connection.
    It is primarily aimed at debugging and audit use cases. One can imagine
    it can be injected to a logging context, for example.
    
    e.g.
    ```
    peerAddrPort := yarpc.CallFromContext(ctx).CallerPeerAddrPort().String()
    ```
    jquirke committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    2ed706c View commit details
    Browse the repository at this point in the history