This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 419dd0f  HDDS-2134. OM Metrics graphs include empty request type
419dd0f is described below

commit 419dd0faf6b49a9a876d88caf26cf692caeaa620
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Sep 18 14:09:15 2019 +0200

    HDDS-2134. OM Metrics graphs include empty request type
    
    Closes #1451
---
 .../src/main/resources/webapps/ozoneManager/ozoneManager.js             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ca03554..00d5614 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
@@ -69,7 +69,7 @@
                     var groupedMetrics = {others: [], nums: {}};
                     var metrics = result.data.beans[0]
                     for (var key in metrics) {
-                        var numericalStatistic = 
key.match(/Num([A-Z][a-z]+)(.+?)(Fails)?$/);
+                        var numericalStatistic = 
key.match(/Num([A-Z][a-z]+)([A-Z].+?)(Fails)?$/);
                         if (numericalStatistic) {
                             var type = numericalStatistic[1];
                             var name = numericalStatistic[2];


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to