diff --git a/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/om-metrics.html b/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/om-metrics.html
index 15fba2fcb3d..839c64c1ea3 100644
--- a/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/om-metrics.html
+++ b/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/om-metrics.html
@@ -20,7 +20,7 @@
-
Requests ({{numbers.ops}} ops)
+ Requests ({{numbers.ops || numbers.total}} ops)
diff --git a/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/ozoneManager.js b/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/ozoneManager.js
index 00d5614ad8b..fda6d8fc0b5 100644
--- a/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/ozoneManager.js
+++ b/hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/ozoneManager.js
@@ -76,7 +76,8 @@
var failed = numericalStatistic[3];
groupedMetrics.nums[type] = groupedMetrics.nums[type] || {
failures: [],
- all: []
+ all: [],
+ total: 0,
};
if (failed) {
groupedMetrics.nums[type].failures.push({
@@ -87,6 +88,7 @@
if (name == "Ops") {
groupedMetrics.nums[type].ops = metrics[key]
} else {
+ groupedMetrics.nums[type].total += metrics[key];
groupedMetrics.nums[type].all.push({
key: name,
value: metrics[key]