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

Fix panic in gRPC UnaryServerInfo #740

Merged
merged 3 commits into from
May 19, 2020
Merged

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented May 18, 2020

Fixes unresolved issue identified in #691 and attempted in #697.

Adds unit test to ensure the UnaryServerInfo function does not panic during an error returned from the handler and appropriately annotates the span with the correct event.

Restructures the interceptor to remove this class of errors.

Actually Fixes #691

Fixes unresolved issue identified in #691 and attempted in #697.

Adds unit test to ensure the UnaryServerInfo function does not panic
during an error returned from the handler and appropriately annotates
the span with the correct event.

Restructures the interceptor to remove this class of errors.
@MrAlias MrAlias added this to the Beta v0.6 milestone May 18, 2020
@MrAlias MrAlias self-assigned this May 18, 2020
@jmacd jmacd merged commit 1e36a61 into open-telemetry:master May 19, 2020
@MrAlias MrAlias deleted the grpc-int branch May 19, 2020 02:03
@@ -43,9 +43,29 @@ var (
messageUncompressedSizeKey = kv.Key("message.uncompressed_size")
Copy link
Contributor

Choose a reason for hiding this comment

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

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.

grpctrace addEventForMessageSent tries to type-assert nil to proto.Message
4 participants