ArafatKhan2198 commented on code in PR #12145:
URL: https://github.com/apache/ozone/pull/12145#discussion_r4696436267
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/tracing/TracingUtil.java:
##########
@@ -623,6 +627,13 @@ public static void addAttributesToCurrentSpan(String key,
boolean value) {
}
}
+ public static void addAttributesToCurrentSpan(Map<String, String>
attributes) {
+ if (attributes == null) {
+ return;
+ }
+ attributes.forEach(TracingUtil::addAttributesToCurrentSpan);
Review Comment:
Thanks for addressing the first point.
@sravani-revuri raised a very good point from her testing. While creating 1
million files of 1 KB each with 100% sampling, she observed around 4 GB of
trace data being stored.
We havent figured out how much of this comes from attributes alone but
adding the entire audit map could increase this overhead even futher.
--
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]