-
Notifications
You must be signed in to change notification settings - Fork 897
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
Avoid using gRPC when generic RPC systems have same properties #1914
Conversation
aa9c37b
to
50429cd
Compare
The concept of "streaming" is supported by multiple protocols including gRPC, but also others. Signed-off-by: Bogdan Drutu <[email protected]>
841eda5
to
2b5bb41
Compare
Think this may need a telemetry schema update cc @tigrannajaryan |
@jsuereth no idea since the JSON was added after the last release, only change is that the event applies to all RPC systems :D which I have no idea how to define in schema url change :D |
I do no think this needs a schema update. If I understand correctly this change says that a source that previously was not emitting the event should now do so (i.e. all RPCs, not just gRPC). There are no changes in the attribute names or values so the schema does not change in any way. |
Co-authored-by: Armin Ruech <[email protected]>
@open-telemetry/specs-approvers @open-telemetry/specs-trace-approvers @open-telemetry/technical-committee all comments are addressed, if no more comments in the next 24h we will merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I have one more question about this: The message.id attribute has a very specific definition. Does that make sense for RPC generally? Did it even make sense for gRPC? Should we (temporarily) mark it as deprecated until we decide if it makes sense?
@Oberon00 The message.id thing is for streaming RPCs and is the current status quo for gRPC instrumentation See: https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/gRPC.md#message-events |
Then maybe that property should be kept as rpc.grpc.message.id? |
I'd be ok with keeping things grpc specific when we're not sure if it applies to non gRPC systems. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@bogdandrutu ^ ? |
Well we need some ID, but maybe not one generated in exactly that way. Some RPC systems may already have an ID. |
…telemetry#1914) * Avoid using gRPC when generic RPC systems have same properties The concept of "streaming" is supported by multiple protocols including gRPC, but also others. Signed-off-by: Bogdan Drutu <[email protected]> * Update specification/trace/semantic_conventions/rpc.md Co-authored-by: Armin Ruech <[email protected]> Co-authored-by: Armin Ruech <[email protected]>
The concept of "streaming" is supported by multiple protocols including gRPC, but also others.
Signed-off-by: Bogdan Drutu [email protected]