-
Notifications
You must be signed in to change notification settings - Fork 682
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
v2: WithFieldExtractorForInitialReq equivalent #592
Comments
I tried wrapping the stream, and setting the context of the wrapped stream in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The old
grpc_ctxtags
interceptor had an optionWithFieldExtractorForInitialReq
, to extract the tags from the first message passed from client to server.Now that
grpc_ctxtags
has been removed, what would be the right way to do this?The README mentions that
logging.InjectFields
should be used, but can it be used to add fields using the content of the first message received on a stream?The text was updated successfully, but these errors were encountered: