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

Finish tracing when failing to create a client stream #491

Merged
merged 2 commits into from
Jan 14, 2016

Conversation

iamqizhao
Copy link
Contributor

No description provided.

@dsymonds
Copy link
Contributor

I don't think this is right. If NewStream fails, it could be for some reason that you'd want to see in a trace. For instance, one way NewStream can fail is if the context has already expired. If someone tried to start an RPC that way, we should show the trace as failing (and for that reason), not silently avoid tracing it.

@iamqizhao iamqizhao changed the title Don't trace when failing to create a cleint stream Finish tracing when failing to create a client stream Jan 14, 2016
@iamqizhao
Copy link
Contributor Author

sgtm. Done.

@dsymonds
Copy link
Contributor

LGTM

iamqizhao added a commit that referenced this pull request Jan 14, 2016
Finish tracing when failing to create a client stream
@iamqizhao iamqizhao merged commit b24c357 into grpc:master Jan 14, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
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.

None yet

2 participants