Skip to content

Commit 82bffea

Browse files
Remove redundant status description from span error status
The gRPC status code is already captured in the RPC_GRPC_STATUS_CODE attribute, making the description in span status unnecessary.
1 parent d2fc6ed commit 82bffea

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc

instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def callback(response_future):
6464
span.set_status(
6565
Status(
6666
status_code=StatusCode.ERROR,
67-
description=str(code),
6867
)
6968
)
7069
return

0 commit comments

Comments
 (0)