smengcl commented on code in PR #10988:
URL: https://github.com/apache/ozone/pull/10988#discussion_r3757008498


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/DatanodeStorageMetrics.java:
##########
@@ -65,16 +80,16 @@ private DatanodeStorageMetrics(MutableVolumeSet volumeSet) {
    */
   public static DatanodeStorageMetrics create(MutableVolumeSet volumeSet) {
     DatanodeStorageMetrics datanodeStorageMetrics = new 
DatanodeStorageMetrics(volumeSet);
-    DefaultMetricsSystem.instance().register(
-        SOURCE_NAME, "DataNode node-level storage totals", 
datanodeStorageMetrics);
+    DefaultMetricsSystem.instance().register(datanodeStorageMetrics.sourceName,

Review Comment:
   done



-- 
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]

Reply via email to