Skip to content

Commit

Permalink
Merge ab085b0 into 89c5ab6
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlu-xcq authored Jan 24, 2024
2 parents 89c5ab6 + ab085b0 commit fffaaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/naming_client/naming_grpc/naming_grpc_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (proxy *NamingGrpcProxy) requestToServer(request rpc_request.IRequest) (rpc
proxy.nacosServer.InjectSign(request, request.GetHeaders(), proxy.clientConfig)
proxy.nacosServer.InjectSecurityInfo(request.GetHeaders())
response, err := proxy.rpcClient.GetRpcClient().Request(request, int64(proxy.clientConfig.TimeoutMs))
monitor.GetConfigRequestMonitor(constant.GRPC, request.GetRequestType(), rpc_response.GetGrpcResponseStatusCode(response)).Observe(float64(time.Now().Nanosecond() - start.Nanosecond()))
monitor.GetNamingRequestMonitor(constant.GRPC, request.GetRequestType(), rpc_response.GetGrpcResponseStatusCode(response)).Observe(float64(time.Now().Nanosecond() - start.Nanosecond()))
return response, err
}

Expand Down

0 comments on commit fffaaee

Please sign in to comment.