-
Notifications
You must be signed in to change notification settings - Fork 609
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
Update gRPC server status code to span status code mapping #1756
Comments
Hello @srikanthccv I would like to contribute to this project |
This is already taken. You can find other good-first-issues not assigned to anybody here https://github.com/open-telemetry/opentelemetry-python-contrib/issues?q=is%3Aopen+label%3A%22good+first+issue%22+no%3Aassignee |
thanks |
Any movement on this issue? Would be happy to help here. |
For anyone picking this up (as I've been reviewing the same issue in the Java implementation) - The problem in Python land is in the handling of grpc.RpcError when it gets thrown: As per the upstream docs, anything that doesn't return OK will throw RpcError(): However, rather than just treating that as an error, as the code currently does, we need to be checking the status first, and then decide if that status is actually one we should mark the span as error or not (e.g. NOT_FOUND should not mark the span as an error). |
@srikanthccv I'd be happy to pick this up. |
Spec ref: open-telemetry/opentelemetry-specification#3333
The text was updated successfully, but these errors were encountered: