-
Notifications
You must be signed in to change notification settings - Fork 29
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
Align gRPC server status code to span status code #144
Align gRPC server status code to span status code #144
Conversation
60704dd
to
8b5cd78
Compare
Thank you for the contribution, @dragon3! This repository - and the OpenTelemetry RPC semantic conventions - are in a strange state right now, because Google's gRPC projects are planning to directly support OpenTelemetry, but they don't plan to follow the OTel RPC semantic conventions. (See grpc/proposal#380 for details.) If Google's gRPC implementations aren't following the proposed semantic conventions, there may not be much value in us following it either. Before merging this PR, we'd like to discuss the best path forward a bit more among the maintainers, followed by a more open discussion on a GitHub issue. Let's keep this PR open until we make a decision. |
@akshayjshah I didn't know the situation and it's interesting 😅 I also find grpc/proposal#389 Let me explain my motivation to create this PR. I develop and maintain both gRPC and ConnectRPC services every day for my company. Of course, I use OpenTelemetry for both gRPC and ConnectRPC services observability. That's great but the difference in the span status code between them is a bit hassle. For example, in gRPC I'd like to unify the span status ( follow the current gRPC's status ), that's my motivation. Anyway, I'm looking forward to your decision. Thank you! |
@dragon3, I think we've come around to wanting to merge this change. It looks like it will only bring us closer to Google's gRPC implementation, which is the desired direction. (The main initial concern was trying to adhere to an Otel spec that Google's gRPC implementation does not follow.) Do you mind rebasing this pull request? |
8b5cd78
to
b55de1c
Compare
@jhump |
b55de1c
to
10beddf
Compare
@dragon3, can you address the lint issues? BTW, you can run the linter locally, before pushing commits to GitHub, by running |
@jhump |
Thanks for the contribution, @dragon3 |
@jhump Could you create a new tag including this change? |
@dragon3, I think we can do that later this week. I'm hoping to get one more change (maybe two) merged before cutting the next release. |
@jhump |
@dragon3, apologies for the delay, and thanks for pinging me about it. v0.7.0 is now released. |
@jhump Thank you! |
This pull request fixes #122
refs: