ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhew...@apache.org
Subject ambari git commit: AMBARI-18280 Ambari widget graph is not aggregating the data correctly for Total Request Count (zhewang)
Date Thu, 01 Sep 2016 00:39:16 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 4f84718b6 -> f4ce46f0b


AMBARI-18280 Ambari widget graph is not aggregating the data correctly for Total Request Count
(zhewang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f4ce46f0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f4ce46f0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f4ce46f0

Branch: refs/heads/trunk
Commit: f4ce46f0bbe1ed78182b3f56a03f69a8c68af432
Parents: 4f84718
Author: Zhe (Joe) Wang <zhewang@apache.org>
Authored: Wed Aug 31 17:38:44 2016 -0700
Committer: Zhe (Joe) Wang <zhewang@apache.org>
Committed: Wed Aug 31 17:38:44 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/utils/ajax/ajax.js                                | 2 +-
 .../service/info/metrics/ambari_metrics/regionserver_requests.js | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f4ce46f0/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index dd15f9f..e8c4b97 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -1124,7 +1124,7 @@ var urls = {
     'testInProduction': true
   },
   'service.metrics.ambari_metrics.region_server.request': {
-    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/requests[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/requests._rate[{fromSeconds},{toSeconds},{stepSeconds}]',
     'mock': '/data/services/metrics/ambari_metrics/regionserver_requests.json',
     'testInProduction': true
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/f4ce46f0/ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
b/ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
index fe8ea70..2ca44f2 100644
--- a/ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
+++ b/ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
@@ -33,9 +33,9 @@ App.ChartServiceMetricsAMS_RegionServerRequests = App.ChartServiceMetricsAMS_Reg
 
   loadGroup: {
     name: 'service.metrics.ambari_metrics.aggregated',
-    fields: ['metrics/hbase/regionserver/requests']
+    fields: ['metrics/hbase/regionserver/requests._rate']
   },
 
   displayName: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.requestCount'),
-  regionServerName: 'requests'
+  regionServerName: 'requests._rate'
 });
\ No newline at end of file


Mime
View raw message