Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

add a callinfo implementation for the mysql server protocol#104

Merged
demmer merged 2 commits intomasterfrom
sync-grpc-improvements
Aug 24, 2018
Merged

add a callinfo implementation for the mysql server protocol#104
demmer merged 2 commits intomasterfrom
sync-grpc-improvements

Conversation

@rafael
Copy link
Copy Markdown

@rafael rafael commented Aug 24, 2018

demmer added 2 commits August 24, 2018 11:01
Building off the analogous structure for GRPC, include a callinfo
implementation so that query logs and debug output in vtgate includes
context about the caller.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Since grpc has a convenient method for getting the peer information
from the context, add the necessary hooks to extract this for the
vitess Callinfo interface so it shows up in query logs and debug
messages.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
@rafael rafael requested a review from demmer August 24, 2018 18:04
@demmer demmer merged commit 5a0427e into master Aug 24, 2018
@rafael rafael deleted the sync-grpc-improvements branch August 24, 2018 18:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants