rajeshkumarchandolu commented on code in PR #11993:
URL: https://github.com/apache/ozone/pull/11993#discussion_r4538410009
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java:
##########
@@ -224,8 +227,11 @@ public List<AllocatedBlock> allocateBlock(
long startNanos = Time.monotonicNowNanos();
Map<String, String> auditMap = Maps.newHashMap();
auditMap.put("size", String.valueOf(size));
+ TracingUtil.addAttributesToCurrentSpan("size", size);
auditMap.put("num", String.valueOf(num));
+ TracingUtil.addAttributesToCurrentSpan("num", num);
auditMap.put("replication", replicationConfig.toString());
+ TracingUtil.addAttributesToCurrentSpan("replication",
replicationConfig.toString());
Review Comment:
@adoroszlai . i am working to address this auditMap in a better way so i
don't duplicate this.
same for the TracingUtil hepers as well.
--
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]