Skip to content

Commit

Permalink
Adding status code to grpc-1.40.0 client instrumentation (#1673)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiao authored Dec 21, 2023
1 parent 5b55659 commit ad84f2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public void onClose(Status status, Metadata trailers) {
.uri(uri)
.procedure(methodDescriptor.getFullMethodName())
.inboundHeaders(wrapper)
.status(status.getCode().value(), status.getDescription())
.build();
if (segment != null) {
segment.reportAsExternal(params);
Expand Down

0 comments on commit ad84f2e

Please sign in to comment.