-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Reverting user-agent change that came with rename. #2284
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
Conversation
|
LGTM. The primary / secondary bit doesn't really make sense, but if it is what the back-end team wants, I can acquiesce. |
|
Added the "don't merge" label. I'll hold off on merging until @nathanielmanistaatgoogle and/or @murgatroid99 can weigh in. |
|
Luhguhtum, but I'd also appreciate hearing from @murgatroid99. |
|
I don't actually know what the primary vs secondary user agents are supposed to be, semantically. Node appends its own user agent string to the provided primary user agent string, so I just assumed that the calling library was expected to provide its own primary user agent string. |
|
I'm going to merge then since the consensus from the two gRPC maintainers is like 75% of a thumbs up: "do it" and "not sure" I'd say this should probably be documented somewhere though? |
|
@dhermes: Aww, phooey, I just had a conversation on your behalf with @ctiller. A few takeaways:
I've filed grpc.github.io issue 380 to track improving our documentation for |
|
It's an easy fix, I'll send the PR to fix post-haste. Thanks for looking into it. |
Fixes #2271.
See https://github.com/GoogleCloudPlatform/gcloud-common/issues/179 for context.
Also moving gRPC user-agent from plugin to channel options. For context on that change, see the comment by @murgatroid99: https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1568/files#r77727186
As for
grpc.primary_user_agentvsgrpc.secondary_user_agent, @nathanielmanistaatgoogle said