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 Tue, 13 Sep 2016 20:03:34 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 52b268af2 -> 8581975f9


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/8581975f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8581975f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8581975f

Branch: refs/heads/branch-2.5
Commit: 8581975f9b08b1edbe4e0807ac50c66c0e7d379f
Parents: 52b268a
Author: Zhe (Joe) Wang <zhewang@apache.org>
Authored: Wed Aug 31 17:38:44 2016 -0700
Committer: Zhe (Joe) Wang <zhewang@apache.org>
Committed: Tue Sep 13 13:03:17 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/8581975f/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 4802bc2..e148363 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -1100,7 +1100,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/8581975f/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