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

grpc: Use provided service name for all spans #67

Merged
merged 2 commits into from
May 15, 2017

Conversation

conorbranagan
Copy link
Member

@conorbranagan conorbranagan commented May 14, 2017

Previously we were parsing the service from the rpc endpoint but we were never actually using the service name that was provided.

Note that while the API doesn't change this will rename every service so we may want make this an option instead to enable it going forward. I'm open to whichever is preferred!

service = method[start:idx]
method = method[idx+1:]
return service, method
return method[idx+1:]
Copy link
Contributor

Choose a reason for hiding this comment

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

If we put all behind the same service, I guess we could keep the entire method as a resource name.

@conorbranagan conorbranagan merged commit 8853132 into master May 15, 2017
@conorbranagan conorbranagan deleted the conor/grpc-server branch May 15, 2017 14:52
@ufoot ufoot added this to the 0.5.0 milestone Jun 19, 2017
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.

4 participants