sravani-revuri commented on code in PR #11993:
URL: https://github.com/apache/ozone/pull/11993#discussion_r4662706704
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/protocol/ScmBlockLocationProtocolServerSideTranslatorPB.java:
##########
@@ -133,6 +135,7 @@ public SCMBlockLocationResponse send(RpcController
controller,
private SCMBlockLocationResponse processMessage(
SCMBlockLocationRequest request) throws ServiceException {
+ TracingUtil.addAttributesToCurrentSpan(ScmTracingAttributes.SCM_CMD_TYPE,
request.getCmdType().name());
Review Comment:
I think scm.cmd_type equal to the span name (AllocateScmBlock). this
attribute seems to be redundant , can this be dropped?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]