美文网首页
监控数据

监控数据

作者: zackxizi | 来源:发表于2019-10-31 09:43 被阅读0次
let data = {
          groups: [
            { name: 'HRL', type: 'tree', direction: 'forward', id: 'HRL' },
            { name: 'Topic', type: 'tree', direction: 'reverse', id: 'Topic' },
            { name: 'Hadoop', type: 'loop', id: 'Hadoop' },
            { name: 'CDR', type: 'group', id: 'CDR' },
            { name: 'Greenplum', type: 'only', id: 'Greenplum' }
          ],
          nodes: {
            HRL: [
              {
                name: 'HIS',
                id: 'HIS',
                state: 1,
                children: [
                  {
                    name: 'Extra1',
                    id: 'Extra1',
                    state: null
                  },
                  {
                    name: 'Extra2',
                    id: 'Extra2',
                    state: 0
                  },
                  {
                    name: 'Extra3',
                    id: 'Extra3',
                    state: 1
                  },
                  {
                    name: 'Extra4',
                    id: 'Extra4',
                    state: null
                  },
                  {
                    name: 'Extra5',
                    id: 'Extra5',
                    state: 0
                  },
                  {
                    name: 'Extra6',
                    id: 'Extra6',
                    state: 1
                  }
                ]
              },
              {
                name: 'RIS',
                id: 'RIS',
                state: 1,
                children: [
                  {
                    name: 'Extra7',
                    id: 'Extra7',
                    state: 1
                  },
                  {
                    name: 'Extra8',
                    id: 'Extra8',
                    state: 1
                  },
                  {
                    name: 'Extra9',
                    id: 'Extra9',
                    state: 1
                  }
                ]
              },
              {
                name: 'LIS',
                id: 'LIS',
                state: 1,
                children: [
                  {
                    name: 'Extra10',
                    id: 'Extra10',
                    state: 1
                  }
                ]
              }
            ],
            Topic: [
              {
                name: 'Topic1',
                id: 'Topic1',
                state: 1,
                children: [
                  {
                    name: 'Rep1',
                    id: 'Rep1',
                    state: 1
                  },
                  {
                    name: 'Rep2',
                    id: 'Rep2',
                    state: 1
                  },
                  {
                    name: 'Rep3',
                    id: 'Rep3',
                    state: 1
                  },
                  {
                    name: 'Rep4',
                    id: 'Rep4',
                    state: 1
                  },
                  {
                    name: 'Rep5',
                    id: 'Rep5',
                    state: 1
                  },
                  {
                    name: 'Rep6',
                    id: 'Rep6',
                    state: 1
                  }
                ]
              },
              {
                name: 'Topic2',
                id: 'Topic2',
                state: 1,
                children: [
                  {
                    name: 'Rep7',
                    id: 'Rep7',
                    state: 1
                  },
                  {
                    name: 'Rep8',
                    id: 'Rep8',
                    state: 1
                  },
                  {
                    name: 'Rep9',
                    id: 'Rep9',
                    state: 1
                  }
                ]
              },
              {
                name: 'Topic3',
                id: 'Topic3',
                state: 1,
                children: [
                  {
                    name: 'Rep10',
                    id: 'Rep10',
                    state: 1
                  }
                ]
              }
            ],
            Hadoop: {
              id: 'Hadoop',
              name: 'Hadoop',
              spark: {
                state: 1,
                id: 'spark'
              },
              harse: {
                state: -1,
                id: 'harse'
              },
              hive: {
                state: 0,
                id: 'hive'
              },
              hdfs: {
                state: 1,
                id: 'hdfs'
              },
              impala: {
                state: 1,
                id: 'impala'
              }
            },
            CDR: [
              {
                name: 'CDR-患者信息',
                id: 'CDR-患者信息',
                state: 1,
                children: [
                  {
                    name: 'CDR_PA1',
                    id: 'CDR_PA1',
                    state: 1
                  },
                  {
                    name: 'CDR_PA2',
                    id: 'CDR_PA2',
                    state: 1
                  },
                  {
                    name: 'CDR_PA3',
                    id: 'CDR_PA3',
                    state: 1
                  },
                  {
                    name: 'CDR_PA4',
                    id: 'CDR_PA4',
                    state: 1
                  },
                  {
                    name: 'CDR_PA5',
                    id: 'CDR_PA5',
                    state: 1
                  },
                  {
                    name: 'CDR_PA6',
                    id: 'CDR_PA6',
                    state: 1
                  }
                ]
              },
              {
                name: 'CDR-患者信息1',
                id: 'CDR-患者信息1',
                state: 1,
                children: [
                  {
                    name: 'CDR_PA7',
                    id: 'CDR_PA7',
                    state: 1
                  },
                  {
                    name: 'CDR_PA8',
                    id: 'CDR_PA8',
                    state: 1
                  },
                  {
                    name: 'CDR_PA9',
                    id: 'CDR_PA9',
                    state: 1
                  }
                ]
              },
              {
                name: 'CDR-患者信息3',
                id: 'CDR-患者信息3',
                state: 1,
                children: [
                  {
                    name: 'CDR_PA10',
                    id: 'CDR_PA10',
                    state: 1
                  }
                ]
              }
            ],
            Greenplum: {
              name: 'Greenplum',
              id: 'Greenplum',
              state: 1
            }
          },
          links: [
            {
              from: 'Extra1',
              to: 'Rep1',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra2',
              to: 'Rep3',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra3',
              to: 'Rep6',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra4',
              to: 'Rep2',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra5',
              to: 'Rep4',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra6',
              to: 'Rep5',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra7',
              to: 'Rep10',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra8',
              to: 'Rep8',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra9',
              to: 'Rep7',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Extra10',
              to: 'Rep9',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Topic1',
              to: 'Hadoop',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Topic2',
              to: 'Hadoop',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Topic3',
              to: 'Hadoop',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA1',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA2',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA3',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA4',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA5',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA6',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA7',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA8',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA9',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'Hadoop',
              to: 'CDR_PA10',
              rate: '1m/s',
              state: 1
            },

            {
              from: 'CDR_PA1',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA2',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA3',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA4',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA5',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA6',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA7',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA8',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA9',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            },
            {
              from: 'CDR_PA10',
              to: 'Greenplum',
              rate: '1m/s',
              state: 1
            }
          ]
        }

相关文章

  • 第9章 数据库监控

    数据库监控 数据库可用性监控 ## **

  • 前端监控原理

    前端监控分为性能监控和错误监控。其中监控又分为两个环节:数据采集和数据上报。本文主要讲的就是如何进行数据采集和数据...

  • 数据监控(DQC)

    日常监控 数据重复 数据落地 数据掉0 数据同比环比 性能监控 ?? 数据对账 ?? 目前已实现: 检测数据是否落...

  • 2021-07-30 监控Linux服务器

    1. 如何监控服务 如果要想监控,前提是能获取被监控端指标数据,并且这个数据格式必须遵循Prometheus数据模...

  • 监控系列讲座(二)常用的监控数据库

    2. 常用的监控数据库 2.1. 监控数据的存储软件 说到监控数据的存储软禁,无非就是在说数据库。咱们现在常见的大...

  • 干货丨Zabbix 源码解析之监控项数据采集流程

    一、概述 监控项数据采集是一个监控工具最基本的功能,监控数据采集的准确、实时、有效是Zabbix其它监控功能正常运...

  • 描述常见监控系统及SNMP协议

    一、监控系统 1、监控系统概念 监控系统应用在监控硬件、软件和业务上,并及时获取相应的数据并分析保存数据,发送报警...

  • 大数据监控平台之Grafana

    1: 背景 大数据监控平台大数据监控平台的有利保证,本章节讲解一下grafana监控平台 2: Grafana...

  • 大数据平台建设 —— 监控预警组件之OpenFalcon + G

    监控系统介绍 集群监控&平台监控: 开发一个大数据平台不是我们的目的,稳定的对其使用才是 大数据平台的日志和监控是...

  • 数据中心规划

    基础设施 数据接入(数据源)。数据源接入即ETL及数据分层。数据主题建设。 数据管控。准实时监控,波动监控,异常数...

网友评论

      本文标题:监控数据

      本文链接:https://www.haomeiwen.com/subject/cncrvctx.html