Browse Source

AMBARI-5557. Reorder flume agent metric sections. (akovalenko)

Aleksandr Kovalenko 11 years ago
parent
commit
fee25b4d83
1 changed files with 6 additions and 6 deletions
  1. 6 6
      ambari-web/app/views/main/service/services/flume.js

+ 6 - 6
ambari-web/app/views/main/service/services/flume.js

@@ -144,27 +144,27 @@ App.MainDashboardServiceFlumeView = App.TableView.extend({
     var agentHostMock = agent.get('host.hostName');
     var agentHostMock = agent.get('host.hostName');
     var mockMetricData = [
     var mockMetricData = [
       {
       {
-        header: 'sinkName',
+        header: 'channelName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
         metricViewData: {
           agent: agent,
           agent: agent,
-          metricType: 'SINK'
+          metricType: 'CHANNEL'
         }
         }
       },
       },
       {
       {
-        header: 'sourceName',
+        header: 'sinkName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
         metricViewData: {
           agent: agent,
           agent: agent,
-          metricType: 'SOURCE'
+          metricType: 'SINK'
         }
         }
       },
       },
       {
       {
-        header: 'channelName',
+        header: 'sourceName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
         metricViewData: {
           agent: agent,
           agent: agent,
-          metricType: 'CHANNEL'
+          metricType: 'SOURCE'
         }
         }
       }
       }
     ];
     ];