12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- /**
- * 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'
- ],
- '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'
- ]
- };
|