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

contrib/google.golang.org/grpc: use service name from function #613

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

knusbaum
Copy link
Contributor

This commit changes the service name in a call to startSpanFromContex from
cfg.serviceName to cfg.serverServiceName(). Everywhere else in the grpc
server integration, the service name is taken from cfg.serverServiceName(),
except this one place which erroneously uses cfg.serviceName directly.

This commit changes the service name in a call to startSpanFromContex from
cfg.serviceName to cfg.serverServiceName(). Everywhere else in the grpc
server integration, the service name is taken from cfg.serverServiceName(),
except this one place which erroneously uses cfg.serviceName directly.
@knusbaum knusbaum added this to the 1.23.0 milestone Mar 19, 2020
@knusbaum knusbaum requested a review from gbbr March 19, 2020 00:45
Copy link
Contributor

@gbbr gbbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@knusbaum knusbaum merged commit 3895869 into v1 Mar 19, 2020
@knusbaum knusbaum deleted the knusbaum/grpc-fix branch March 19, 2020 21:01
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
…og#613)

This commit changes the service name in a call to startSpanFromContex from
cfg.serviceName to cfg.serverServiceName(). Everywhere else in the grpc
server integration, the service name is taken from cfg.serverServiceName(),
except this one place which erroneously uses cfg.serviceName directly.
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