123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- var App = require('app');
- /**
- This determines the graphs to display on the service page under each service.
- This is based on the name of the object associated with it.
- The name of the object is of the format: 'App.ChartServiceMetrics<name>' where <name>
- is one of the items below.
- **/
- App.service_graph_config = {
- 'hdfs': [
- 'HDFS_SpaceUtilization',
- 'HDFS_FileOperations',
- 'HDFS_BlockStatus',
- 'HDFS_IO',
- 'HDFS_RPC',
- 'HDFS_GC',
- 'HDFS_JVMHeap',
- 'HDFS_JVMThreads'
- ],
- 'yarn': [
- 'YARN_AllocatedMemory',
- 'YARN_QMR',
- 'YARN_AllocatedContainer',
- 'YARN_NMS',
- 'YARN_ApplicationCurrentStates',
- 'YARN_ApplicationFinishedStates',
- 'YARN_RPC',
- 'YARN_GC',
- 'YARN_JVMThreads',
- 'YARN_JVMHeap'
- ],
- 'mapreduce': [
- 'MapReduce_JobsStatus',
- 'MapReduce_TasksRunningWaiting',
- 'MapReduce_MapSlots',
- 'MapReduce_ReduceSlots',
- 'MapReduce_GC',
- 'MapReduce_RPC',
- 'MapReduce_JVMHeap',
- 'MapReduce_JVMThreads'
- ],
- 'hbase': [
- 'HBASE_ClusterRequests',
- 'HBASE_RegionServerReadWriteRequests',
- 'HBASE_RegionServerRegions',
- 'HBASE_RegionServerQueueSize',
- 'HBASE_HlogSplitTime',
- 'HBASE_HlogSplitSize'
- ],
- 'flume': [
- 'Flume_ChannelSizeMMA',
- 'Flume_ChannelSizeSum',
- 'Flume_IncommingMMA',
- 'Flume_IncommingSum',
- 'Flume_OutgoingMMA',
- 'Flume_OutgoingSum'
- ],
- 'storm': [
- 'STORM_SlotsNumber',
- 'STORM_Executors',
- 'STORM_Topologies',
- 'STORM_Tasks'
- ],
- 'kafka': [
- 'Kafka_BrokerTopicMetrics',
- 'Kafka_Controller',
- 'Kafka_ControllerStatus',
- 'Kafka_ReplicaManager',
- 'Kafka_LogFlush',
- 'Kafka_ReplicaFetcher'
- ]
- };
|