diff --git a/src/views/charts2/charts/linkMonitor/LinkBlock.vue b/src/views/charts2/charts/linkMonitor/LinkBlock.vue index 3cec4205..59ec39c0 100644 --- a/src/views/charts2/charts/linkMonitor/LinkBlock.vue +++ b/src/views/charts2/charts/linkMonitor/LinkBlock.vue @@ -1,13 +1,13 @@ @@ -125,13 +125,13 @@ export default { } }) this.tableData = res.data.result - console.log('打印tableData', this.tableData) } else { - // this.isNoData = true + this.isNoData = false this.showError = true this.errorMsg = res.message } }).catch(error => { + this.isNoData = false this.showError = true this.errorMsg = error.message }).finally(() => { diff --git a/test/views/charts2/charts/linkMonitor/LinkBlock.test.js b/test/views/charts2/charts/linkMonitor/LinkBlock.test.js index 6510dd12..58deea6d 100644 --- a/test/views/charts2/charts/linkMonitor/LinkBlock.test.js +++ b/test/views/charts2/charts/linkMonitor/LinkBlock.test.js @@ -1,14 +1,11 @@ import linkBlock from '@/views/charts2/charts/linkMonitor/LinkBlock' import { mount } from '@vue/test-utils' import axios from 'axios' +import { mockData, linkInfoData } from './MockData/LinkBlock' + +const mockGet1 = mockData.common.data1 +const mockGet2 = mockData.common.data2 -const mockGet1 = { - data: { status: 200, code: 200, queryKey: '549b4c3bcabf0feee193b834671879de', success: true, message: null, statistics: { elapsed: 3, rows_read: 11480, bytes_read: 459200, result_size: 1214, result_rows: 21 }, job: null, formatType: 'json', meta: [{ name: 'link_id', type: 'string', category: 'Dimension' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ linkId: '257', egressBytes: '0', egressBitsRate: 0, ingressBytes: '493739879', ingressBitsRate: 1097199.76 }, { linkId: '256', egressBytes: '4147998874', egressBitsRate: 9217775.28, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1024', egressBytes: '4229808296', egressBitsRate: 9399574, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1793', egressBytes: '0', egressBitsRate: 0, ingressBytes: '604840505', ingressBitsRate: 1344090 }, { linkId: '2817', egressBytes: '0', egressBitsRate: 0, ingressBytes: '430811638', ingressBitsRate: 957359.2 }, { linkId: '0', egressBytes: '819878366014', egressBitsRate: 1821951924.48, ingressBytes: '140774357362', ingressBitsRate: 312831905.28 }, { linkId: '1281', egressBytes: '0', egressBitsRate: 0, ingressBytes: '544675122', ingressBitsRate: 1210389.12 }, { linkId: '2049', egressBytes: '0', egressBitsRate: 0, ingressBytes: '711346274', ingressBitsRate: 1580769.52 }, { linkId: '1536', egressBytes: '4195896971', egressBitsRate: 9324215.52, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '2305', egressBytes: '0', egressBitsRate: 0, ingressBytes: '524865003', ingressBitsRate: 1166366.64 }, { linkId: '1792', egressBytes: '4145790227', egressBitsRate: 9212867.2, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1025', egressBytes: '0', egressBitsRate: 0, ingressBytes: '492227445', ingressBitsRate: 1093838.8 }, { linkId: '2816', egressBytes: '4000074817', egressBitsRate: 8889055.12, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '513', egressBytes: '0', egressBitsRate: 0, ingressBytes: '1444814826', ingressBitsRate: 3210699.6 }, { linkId: '768', egressBytes: '4370006099', egressBitsRate: 9711124.64, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '512', egressBytes: '3894190397', egressBitsRate: 8653756.4, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '769', egressBytes: '0', egressBitsRate: 0, ingressBytes: '1877580759', ingressBitsRate: 4172401.68 }, { linkId: '2304', egressBytes: '3767761711', egressBitsRate: 8372803.84, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1537', egressBytes: '0', egressBitsRate: 0, ingressBytes: '367986916', ingressBitsRate: 817748.72 }, { linkId: '1280', egressBytes: '4040444894', egressBitsRate: 8978766.4, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '2048', egressBytes: '4682050724', egressBitsRate: 10404557.2, ingressBytes: '0', ingressBitsRate: 0 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20arrayJoin%28splitByChar%28%27_%27%2C%20concat%28toString%28common_egress_link_id%29%2C%20%27_%27%2C%20toString%28common_ingress_link_id%29%29%29%29%20AS%20link_id%2CSUM%28IF%28toString%28common_egress_link_id%29%20%3D%20link_id%2C%20traffic_outbound_byte%2C%200%29%29%20AS%20egress_bytes%2CSUM%28IF%28toString%28common_ingress_link_id%29%20%3D%20link_id%2C%20traffic_inbound_byte%2C%200%29%29%20AS%20ingress_bytes%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675303793%20AND%20stat_time%20%3C%201675307393%20GROUP%20BY%20link_id&format=json&option=real-time', msg: 'OK' } -} -const mockGet2 = { - data: { status: 200, code: 200, queryKey: 'ee2e820b1275748167cdee82b2b4ea40', success: true, message: null, statistics: { elapsed: 3, rows_read: 11480, bytes_read: 618564, result_size: 1053, result_rows: 10 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_direction', type: 'string', category: 'Dimension' }, { name: 'ingress_link_direction', type: 'string', category: 'Dimension' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkDirection: '太原', ingressLinkDirection: '西宁', egressBytes: '2407509269', egressBitsRate: 5350020.56, ingressBytes: '193368911', ingressBitsRate: 429708.72 }, { egressLinkDirection: '西安', ingressLinkDirection: '西安', egressBytes: '3609358392', egressBitsRate: 8020796.4, ingressBytes: '345009143', ingressBitsRate: 766686.96 }, { egressLinkDirection: '西宁', ingressLinkDirection: '西安', egressBytes: '1273508499', egressBitsRate: 2830018.88, ingressBytes: '122646511', ingressBitsRate: 272547.84 }, { egressLinkDirection: '太原', ingressLinkDirection: '太原', egressBytes: '14840136119', egressBitsRate: 32978080.24, ingressBytes: '3386427658', ingressBitsRate: 7525394.8 }, { egressLinkDirection: '西安', ingressLinkDirection: '太原', egressBytes: '7070361369', egressBitsRate: 15711914.16, ingressBytes: '1853445429', ingressBitsRate: 4118767.6 }, { egressLinkDirection: '西宁', ingressLinkDirection: '太原', egressBytes: '2619231460', egressBitsRate: 5820514.32, ingressBytes: '291561196', ingressBitsRate: 647913.76 }, { egressLinkDirection: '', ingressLinkDirection: '', egressBytes: '409939183007', egressBitsRate: 910975962.24, ingressBytes: '70387178681', ingressBitsRate: 156415952.64 }, { egressLinkDirection: '太原', ingressLinkDirection: '西安', egressBytes: '7808050741', egressBitsRate: 17351223.84, ingressBytes: '1001570985', ingressBitsRate: 2225713.28 }, { egressLinkDirection: '西宁', ingressLinkDirection: '西宁', egressBytes: '337068337', egressBitsRate: 749040.72, ingressBytes: '165230290', ingressBitsRate: 367178.4 }, { egressLinkDirection: '西安', ingressLinkDirection: '西宁', egressBytes: '1508798824', egressBitsRate: 3352886.24, ingressBytes: '133628244', ingressBitsRate: 296951.68 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20egress_link_direction%20AS%20egress_link_direction%2C%20ingress_link_direction%20AS%20ingress_link_direction%2C%20SUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675303793%20AND%20stat_time%20%3C%201675307393%20GROUP%20BY%20egress_link_direction%2C%20ingress_link_direction&format=json&option=real-time', msg: 'OK' } -} -const linkInfoData = [{ originalLinkId: '256', linkId: 'Hundredgige1', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '257', linkId: 'Hundredgige1', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '512', linkId: 'Hundredgige2', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '513', linkId: 'Hundredgige2', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '768', linkId: 'Hundredgige3', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '769', linkId: 'Hundredgige3', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1024', linkId: 'Hundredgige4', direction: 'egress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1025', linkId: 'Hundredgige4', direction: 'ingress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1280', linkId: 'Hundredgige5', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1281', linkId: 'Hundredgige5', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1536', linkId: 'Hundredgige6', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1537', linkId: 'Hundredgige6', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1792', linkId: 'Hundredgige7', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1793', linkId: 'Hundredgige7', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2048', linkId: 'Hundredgige8', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2049', linkId: 'Hundredgige8', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2304', linkId: 'Hundredgige9', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2305', linkId: 'Hundredgige9', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2816', linkId: 'Hundredgige10', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '2817', linkId: 'Hundredgige10', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }] const linkInfo = JSON.stringify(linkInfoData) const timeFilter = { dateRangeValue: -1, @@ -20,25 +17,26 @@ var wrapper = null /** * 进行axios请求,并挂载vue实例 - * @param list + * */ -function axiosPostAndMounted (list) { +function axiosPostAndMounted (list1, list2) { require('vue-router').useRoute.mockReturnValue({ query: {} }) - const data = list || mockGet1 + const data1 = list1 || mockGet1 + const data2 = list2 || mockGet2 // 模拟axios返回数据 axios.get.mockImplementation(url => { switch (url) { case '/interface/link/overview/analysis': - return Promise.resolve(data) + return Promise.resolve(data1) case '/interface/link/overview/nextHopAnalysis': - return Promise.resolve(mockGet2) + return Promise.resolve(data2) } }) // 模拟localStorage获取数据 // eslint-disable-next-line no-proto - jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(key => linkInfo) + jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(() => linkInfo) // 加载vue组件,获得实例 wrapper = mount(linkBlock, { @@ -86,44 +84,79 @@ describe('views/charts2/charts/linkMonitor/LinkBlock.vue测试', () => { resolve() }, 200)) }) - test('鼠标移动到链路蜂窝图第一个,测试total显示', async () => { - // 以"Hundredgige3"为例,对应出方向linkId为768,对应出方向流量为9711124.64 - // 对应入方向linkId为769,对应入方向流量为4172401.68,修改流量测试total - const list = JSON.parse(JSON.stringify(mockGet1)) - list.data.data.result[14].egressBitsRate = 9000000.00 - list.data.data.result[16].ingressBitsRate = 4000000.00 + test('链路蜂窝图和下一跳蜂窝图均无数据', async () => { + const list1 = mockData.empty.data1 + const list2 = mockData.empty.data2 - axiosPostAndMounted(list) + axiosPostAndMounted(list1, list2) - // 延迟等待渲染。使用wrapper.vm.$nextTick有时不管用(例如组件中使用了setTimeout的时候) await new Promise(resolve => setTimeout(() => { - const linkBlockTotal0 = wrapper.get('[test-id="linkBlockTotal0"]') - const linkBlockEgressUsage0 = wrapper.get('[test-id="linkBlockEgressUsage0"]') - const linkBlockIngressUsage0 = wrapper.get('[test-id="linkBlockIngressUsage0"]') + const linkBlockNoData = wrapper.get('[test-id="linkBlockNoData"]') + const nextHpNoData = wrapper.get('[test-id="nextHpNoData"]') - expect(linkBlockTotal0.text()).toBe('13 Mbps') - expect(linkBlockEgressUsage0.text()).toBe('< 0.01%') - expect(linkBlockIngressUsage0.text()).toBe('< 0.01%') + expect(linkBlockNoData.text()).toBe('npm.noData') + expect(nextHpNoData.text()).toBe('npm.noData') resolve() }, 200)) }) - test('鼠标移动到链路蜂窝图第一个,测试出入流量占比', async () => { - // 以"Hundredgige3"为例,修改其出入流量为100000000000,测试上行流量占比为100%,下行占比为0%的情况 - const list = JSON.parse(JSON.stringify(mockGet1)) - list.data.data.result[14].egressBitsRate = 100000000000.00 - list.data.data.result[16].ingressBitsRate = 0 + test('链路蜂窝图上行流量大数值', async () => { + const list1 = mockData.boundary.data1 - axiosPostAndMounted(list) + axiosPostAndMounted(list1) - // 延迟等待渲染。使用wrapper.vm.$nextTick有时不管用(例如组件中使用了setTimeout的时候) await new Promise(resolve => setTimeout(() => { const linkBlockTotal0 = wrapper.get('[test-id="linkBlockTotal0"]') const linkBlockEgressUsage0 = wrapper.get('[test-id="linkBlockEgressUsage0"]') - const linkBlockIngressUsage0 = wrapper.get('[test-id="linkBlockIngressUsage0"]') + const linkBlockEgressUsage1 = wrapper.get('[test-id="linkBlockEgressUsage1"]') + const linkBlockEgressUsage2 = wrapper.get('[test-id="linkBlockEgressUsage2"]') + const linkBlockEgressUsage3 = wrapper.get('[test-id="linkBlockEgressUsage3"]') + const linkBlockEgressUsage4 = wrapper.get('[test-id="linkBlockEgressUsage4"]') + const linkBlockEgressUsage5 = wrapper.get('[test-id="linkBlockEgressUsage5"]') + const linkBlockEgressUsage6 = wrapper.get('[test-id="linkBlockEgressUsage6"]') + const linkBlockEgressUsage7 = wrapper.get('[test-id="linkBlockEgressUsage7"]') + const linkBlockEgressUsage8 = wrapper.get('[test-id="linkBlockEgressUsage8"]') + const linkBlockEgressUsage9 = wrapper.get('[test-id="linkBlockEgressUsage9"]') + // 超大流量时total显示 expect(linkBlockTotal0.text()).toBe('100 Gbps') + // 超大上行流量,上行占比情况 expect(linkBlockEgressUsage0.text()).toBe('100.00%') - expect(linkBlockIngressUsage0.text()).toBe('0%') + expect(linkBlockEgressUsage1.text()).toBe('100.00%') + expect(linkBlockEgressUsage2.text()).toBe('100.00%') + expect(linkBlockEgressUsage3.text()).toBe('100.00%') + expect(linkBlockEgressUsage4.text()).toBe('100.00%') + expect(linkBlockEgressUsage5.text()).toBe('100.00%') + expect(linkBlockEgressUsage6.text()).toBe('100.00%') + expect(linkBlockEgressUsage7.text()).toBe('100.00%') + expect(linkBlockEgressUsage8.text()).toBe('100.00%') + expect(linkBlockEgressUsage9.text()).toBe('100.00%') + resolve() + }, 200)) + }) + test('下一跳蜂窝图下行流量大数值', async () => { + const list1 = mockData.common.data1 + const list2 = mockData.boundary.data2 + + axiosPostAndMounted(list1, list2) + + await new Promise(resolve => setTimeout(() => { + const nextHopTotal0 = wrapper.get('[test-id="nextHopTotal0"]') + const nextHopIngressUsage0 = wrapper.get('[test-id="nextHopIngressUsage0"]') + const nextHopIngressUsage1 = wrapper.get('[test-id="nextHopIngressUsage1"]') + const nextHopIngressUsage2 = wrapper.get('[test-id="nextHopIngressUsage2"]') + const nextHopEgressUsage0 = wrapper.get('[test-id="nextHopEgressUsage0"]') + const nextHopEgressUsage1 = wrapper.get('[test-id="nextHopEgressUsage1"]') + const nextHopEgressUsage2 = wrapper.get('[test-id="nextHopEgressUsage2"]') + + // 超大流量时total显示 + expect(nextHopTotal0.text()).toBe('30 Tbps') + // 超大上行流量,上行、下行占比情况 + expect(nextHopEgressUsage0.text()).toBe('0%') + expect(nextHopEgressUsage1.text()).toBe('0%') + expect(nextHopEgressUsage2.text()).toBe('0%') + expect(nextHopIngressUsage0.text()).toBe('100.00%') + expect(nextHopIngressUsage1.text()).toBe('100.00%') + expect(nextHopIngressUsage2.text()).toBe('100.00%') resolve() }, 200)) }) diff --git a/test/views/charts2/charts/linkMonitor/LinkDirectionGrid.test.js b/test/views/charts2/charts/linkMonitor/LinkDirectionGrid.test.js index 5faace89..b91e7320 100644 --- a/test/views/charts2/charts/linkMonitor/LinkDirectionGrid.test.js +++ b/test/views/charts2/charts/linkMonitor/LinkDirectionGrid.test.js @@ -2,14 +2,11 @@ import LinkDirectionGrid from '@/views/charts2/charts/linkMonitor/LinkDirectionG import { mount } from '@vue/test-utils' import axios from 'axios' import ElementPlus from 'element-plus' +import { mockData } from './MockData/LinkDirectionGrid' +import { linkInfoData } from './MockData/LinkBlock' -const mockGet1 = { - data: { status: 200, code: 200, queryKey: '610b4a743fa62b58cf5d70dab84b8b6f', success: true, message: null, statistics: { elapsed: 5, rows_read: 14027, bytes_read: 1416727, result_size: 25460, result_rows: 101 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_id', type: 'long', category: 'Dimension' }, { name: 'ingress_link_id', type: 'long', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkId: '0', ingressLinkId: '0', totalBytes: '434765502450', totalBitsRate: 966145560.96, egressBytes: '363544351329', egressBitsRate: 807876336.32, ingressBytes: '41292202303', ingressBitsRate: 91760449.6, establishLatencyMs: 90.0669, httpResponseLatency: 184.3881, sslConLatency: 0, tcpLostlenPercent: 0.0101, pktRetransPercent: 0.0226 }, { egressLinkId: '256', ingressLinkId: '257', totalBytes: '534995002', totalBitsRate: 1188877.76, egressBytes: '447206140', egressBitsRate: 993791.44, ingressBytes: '36435444', ingressBitsRate: 80967.68, establishLatencyMs: 75.5612, httpResponseLatency: 240.396, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.0111, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '257', totalBytes: '382047632', totalBitsRate: 848994.72, egressBytes: '352856271', egressBitsRate: 784125.04, ingressBytes: '18385230', ingressBitsRate: 40856.08, establishLatencyMs: 98.59, httpResponseLatency: 100.5516, sslConLatency: 0, tcpLostlenPercent: 0.0127, pktRetransPercent: 0.0137, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '257', totalBytes: '301459240', totalBitsRate: 669909.44, egressBytes: '245480754', egressBitsRate: 545512.8, ingressBytes: '34220091', ingressBitsRate: 76044.64, establishLatencyMs: 108.9343, httpResponseLatency: 160.9725, sslConLatency: 0, tcpLostlenPercent: 0.0022, pktRetransPercent: 0.0173, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '257', totalBytes: '428032397', totalBitsRate: 951183.12, egressBytes: '376399588', egressBitsRate: 836443.52, ingressBytes: '37870336', ingressBitsRate: 84156.32, establishLatencyMs: 88.6706, httpResponseLatency: 131.524, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0126, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '257', totalBytes: '593122664', totalBitsRate: 1318050.4, egressBytes: '555791176', egressBitsRate: 1235091.52, ingressBytes: '18981210', ingressBitsRate: 42180.48, establishLatencyMs: 101.3537, httpResponseLatency: 254.3362, sslConLatency: 0, tcpLostlenPercent: 0.0044, pktRetransPercent: 0.0135, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '257', totalBytes: '377183386', totalBitsRate: 838185.28, egressBytes: '327968719', egressBitsRate: 728819.36, ingressBytes: '24566904', ingressBitsRate: 54593.12, establishLatencyMs: 79.7386, httpResponseLatency: 95.8814, sslConLatency: 0, tcpLostlenPercent: 0.012, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '257', totalBytes: '301778612', totalBitsRate: 670619.12, egressBytes: '280107213', egressBitsRate: 622460.48, ingressBytes: '10638455', ingressBitsRate: 23641.04, establishLatencyMs: 91.1497, httpResponseLatency: 152.3226, sslConLatency: 0, tcpLostlenPercent: 0.0013, pktRetransPercent: 0.0181, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '257', totalBytes: '412927429', totalBitsRate: 917616.48, egressBytes: '367353610', egressBitsRate: 816341.36, ingressBytes: '29730481', ingressBitsRate: 66067.76, establishLatencyMs: 76.6838, httpResponseLatency: 94.3495, sslConLatency: 0, tcpLostlenPercent: 0.0053, pktRetransPercent: 0.0198, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '257', totalBytes: '257255077', totalBitsRate: 571677.92, egressBytes: '233167830', egressBitsRate: 518150.72, ingressBytes: '11320646', ingressBitsRate: 25156.96, establishLatencyMs: 78.8745, httpResponseLatency: 241.5664, sslConLatency: 0, tcpLostlenPercent: 0.0037, pktRetransPercent: 0.0113, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '257', totalBytes: '391380150', totalBitsRate: 869733.68, egressBytes: '358497570', egressBitsRate: 796661.28, ingressBytes: '20314164', ingressBitsRate: 45142.56, establishLatencyMs: 104.9262, httpResponseLatency: 137.3243, sslConLatency: 0, tcpLostlenPercent: 0.0097, pktRetransPercent: 0.0107, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '513', totalBytes: '517401256', totalBitsRate: 1149780.56, egressBytes: '468690408', egressBitsRate: 1041534.24, ingressBytes: '31206282', ingressBitsRate: 69347.28, establishLatencyMs: 95.7474, httpResponseLatency: 117.9447, sslConLatency: 0, tcpLostlenPercent: 0.0035, pktRetransPercent: 0.0108, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '513', totalBytes: '286609222', totalBitsRate: 636909.36, egressBytes: '253449086', egressBitsRate: 563220.16, ingressBytes: '6606987', ingressBitsRate: 14682.16, establishLatencyMs: 111.8724, httpResponseLatency: 151.1935, sslConLatency: 0, tcpLostlenPercent: 0.0064, pktRetransPercent: 0.0181, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '513', totalBytes: '427290221', totalBitsRate: 949533.84, egressBytes: '288163262', egressBitsRate: 640362.8, ingressBytes: '124378803', ingressBitsRate: 276397.36, establishLatencyMs: 84.4296, httpResponseLatency: 107.7755, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0136, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '513', totalBytes: '426123014', totalBitsRate: 946940, egressBytes: '378583688', egressBitsRate: 841297.12, ingressBytes: '34027267', ingressBitsRate: 75616.16, establishLatencyMs: 129.1622, httpResponseLatency: 135.7024, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.0293, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '513', totalBytes: '480617318', totalBitsRate: 1068038.48, egressBytes: '355592692', egressBitsRate: 790206, ingressBytes: '107451059', ingressBitsRate: 238780.16, establishLatencyMs: 81.3479, httpResponseLatency: 110.0703, sslConLatency: 0, tcpLostlenPercent: 0.001, pktRetransPercent: 0.0122, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '513', totalBytes: '378829607', totalBitsRate: 841843.6, egressBytes: '340354481', egressBitsRate: 756343.28, ingressBytes: '23667236', ingressBitsRate: 52593.84, establishLatencyMs: 72.8997, httpResponseLatency: 155.1332, sslConLatency: 0, tcpLostlenPercent: 0.0055, pktRetransPercent: 0.0192, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '513', totalBytes: '262609018', totalBitsRate: 583575.6, egressBytes: '214741913', egressBitsRate: 477204.24, ingressBytes: '36558657', ingressBitsRate: 81241.44, establishLatencyMs: 107.3446, httpResponseLatency: 128.785, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.021, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '513', totalBytes: '836277105', totalBitsRate: 1858393.6, egressBytes: '762938193', egressBitsRate: 1695418.24, ingressBytes: '51506746', ingressBitsRate: 114459.44, establishLatencyMs: 106.0485, httpResponseLatency: 101.236, sslConLatency: 0, tcpLostlenPercent: 0.005, pktRetransPercent: 0.0195, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '513', totalBytes: '463632587', totalBitsRate: 1030294.64, egressBytes: '399024852', egressBitsRate: 886721.92, ingressBytes: '54635227', ingressBitsRate: 121411.6, establishLatencyMs: 70.067, httpResponseLatency: 82.2698, sslConLatency: 0, tcpLostlenPercent: 0.0105, pktRetransPercent: 0.016, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '513', totalBytes: '375090527', totalBitsRate: 833534.48, egressBytes: '337080747', egressBitsRate: 749068.32, ingressBytes: '19278792', ingressBitsRate: 42841.76, establishLatencyMs: 78.1834, httpResponseLatency: 140.8154, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.013, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '769', totalBytes: '394768512', totalBitsRate: 877263.36, egressBytes: '359885579', egressBitsRate: 799745.76, ingressBytes: '20504968', ingressBitsRate: 45566.56, establishLatencyMs: 122.3644, httpResponseLatency: 206.5775, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0242, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '769', totalBytes: '364786783', totalBitsRate: 810637.28, egressBytes: '325142570', egressBitsRate: 722539.04, ingressBytes: '29059460', ingressBitsRate: 64576.56, establishLatencyMs: 72.3282, httpResponseLatency: 115.4195, sslConLatency: 0, tcpLostlenPercent: 0.0076, pktRetransPercent: 0.0103, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '769', totalBytes: '569429971', totalBitsRate: 1265399.92, egressBytes: '397984191', egressBitsRate: 884409.28, ingressBytes: '157860292', ingressBitsRate: 350800.64, establishLatencyMs: 71.1193, httpResponseLatency: 169.7063, sslConLatency: 0, tcpLostlenPercent: 0.0048, pktRetransPercent: 0.0225, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '769', totalBytes: '579478002', totalBitsRate: 1287728.88, egressBytes: '214792325', egressBitsRate: 477316.24, ingressBytes: '94103478', ingressBitsRate: 209118.8, establishLatencyMs: 91.5207, httpResponseLatency: 165.092, sslConLatency: 0, tcpLostlenPercent: 0.006, pktRetransPercent: 0.0105, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '769', totalBytes: '496892965', totalBitsRate: 1104206.56, egressBytes: '457600850', egressBitsRate: 1016890.8, ingressBytes: '24748500', ingressBitsRate: 54996.64, establishLatencyMs: 74.9958, httpResponseLatency: 584.5813, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.014, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '769', totalBytes: '623165485', totalBitsRate: 1384812.16, egressBytes: '526692235', egressBitsRate: 1170427.2, ingressBytes: '70998403', ingressBitsRate: 157774.24, establishLatencyMs: 80.2485, httpResponseLatency: 1100.2457, sslConLatency: 0, tcpLostlenPercent: 0.0057, pktRetransPercent: 0.0165, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '769', totalBytes: '376219195', totalBitsRate: 836042.64, egressBytes: '320229891', egressBitsRate: 711622, ingressBytes: '42082573', ingressBitsRate: 93516.8, establishLatencyMs: 89.2396, httpResponseLatency: 176.6074, sslConLatency: 0, tcpLostlenPercent: 0.0017, pktRetransPercent: 0.0129, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '769', totalBytes: '537023143', totalBitsRate: 1193384.8, egressBytes: '485285786', egressBitsRate: 1078412.88, ingressBytes: '33957352', ingressBitsRate: 75460.8, establishLatencyMs: 161.714, httpResponseLatency: 299.7771, sslConLatency: 0, tcpLostlenPercent: 0.009, pktRetransPercent: 0.0205, usageMore90: false, score: 4, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '769', totalBytes: '408668842', totalBitsRate: 908152.96, egressBytes: '364103470', egressBitsRate: 809118.8, ingressBytes: '27943863', ingressBitsRate: 62097.44, establishLatencyMs: 84.474, httpResponseLatency: 233.6678, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0191, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '769', totalBytes: '281357790', totalBitsRate: 625239.52, egressBytes: '246576400', egressBitsRate: 547947.52, ingressBytes: '22861043', ingressBitsRate: 50802.32, establishLatencyMs: 73.8313, httpResponseLatency: 101.7295, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0161, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1025', totalBytes: '298043232', totalBitsRate: 662318.32, egressBytes: '277239595', egressBitsRate: 616088, ingressBytes: '9157756', ingressBitsRate: 20350.56, establishLatencyMs: 76.5483, httpResponseLatency: 107.388, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.012, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1025', totalBytes: '437964797', totalBitsRate: 973255.12, egressBytes: '392328303', egressBitsRate: 871840.64, ingressBytes: '25486621', ingressBitsRate: 56636.96, establishLatencyMs: 73.2709, httpResponseLatency: 124.8192, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0243, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1025', totalBytes: '464792996', totalBitsRate: 1032873.36, egressBytes: '429292974', egressBitsRate: 953984.4, ingressBytes: '24968412', ingressBitsRate: 55485.36, establishLatencyMs: 73.624, httpResponseLatency: 143.2992, sslConLatency: 0, tcpLostlenPercent: 0.0028, pktRetransPercent: 0.0327, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1025', totalBytes: '309813302', totalBitsRate: 688474, egressBytes: '275012816', egressBitsRate: 611139.6, ingressBytes: '14787925', ingressBitsRate: 32862.08, establishLatencyMs: 69.9228, httpResponseLatency: 224.0711, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1025', totalBytes: '625851341', totalBitsRate: 1390780.72, egressBytes: '533489719', egressBitsRate: 1185532.72, ingressBytes: '77867845', ingressBitsRate: 173039.68, establishLatencyMs: 117.7443, httpResponseLatency: 234.0509, sslConLatency: 0, tcpLostlenPercent: 0.008, pktRetransPercent: 0.0153, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1025', totalBytes: '511034764', totalBitsRate: 1135632.8, egressBytes: '464176598', egressBitsRate: 1031503.52, ingressBytes: '31537941', ingressBitsRate: 70084.32, establishLatencyMs: 79.7973, httpResponseLatency: 108.2308, sslConLatency: 0, tcpLostlenPercent: 0.0097, pktRetransPercent: 0.0127, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1025', totalBytes: '510497154', totalBitsRate: 1134438.16, egressBytes: '477831366', egressBitsRate: 1061847.44, ingressBytes: '12705069', ingressBitsRate: 28233.52, establishLatencyMs: 90.772, httpResponseLatency: 138.007, sslConLatency: 0, tcpLostlenPercent: 0.0073, pktRetransPercent: 0.0289, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1025', totalBytes: '705186479', totalBitsRate: 1567081.04, egressBytes: '609149182', egressBitsRate: 1353664.88, ingressBytes: '61214875', ingressBitsRate: 136033.04, establishLatencyMs: 68.2169, httpResponseLatency: 159.491, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0182, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1025', totalBytes: '295233728', totalBitsRate: 656074.96, egressBytes: '211230066', egressBitsRate: 469400.16, ingressBytes: '25660250', ingressBitsRate: 57022.8, establishLatencyMs: 151.2545, httpResponseLatency: 228.9587, sslConLatency: 0, tcpLostlenPercent: 0.0031, pktRetransPercent: 0.0173, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1025', totalBytes: '304032381', totalBitsRate: 675627.52, egressBytes: '275012404', egressBitsRate: 611138.64, ingressBytes: '15041391', ingressBitsRate: 33425.28, establishLatencyMs: 87.4599, httpResponseLatency: 163.9644, sslConLatency: 0, tcpLostlenPercent: 0.0036, pktRetransPercent: 0.0142, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1281', totalBytes: '417367176', totalBitsRate: 927482.64, egressBytes: '367204335', egressBitsRate: 816009.6, ingressBytes: '34011146', ingressBitsRate: 75580.32, establishLatencyMs: 76.0439, httpResponseLatency: 133.8785, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0066, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1281', totalBytes: '383696444', totalBitsRate: 852658.8, egressBytes: '333439743', egressBitsRate: 740977.2, ingressBytes: '41316879', ingressBitsRate: 91815.28, establishLatencyMs: 74.6806, httpResponseLatency: 252.2572, sslConLatency: 0, tcpLostlenPercent: 0.0059, pktRetransPercent: 0.011, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1281', totalBytes: '259621097', totalBitsRate: 576935.76, egressBytes: '232771102', egressBitsRate: 517269.12, ingressBytes: '16746429', ingressBitsRate: 37214.32, establishLatencyMs: 82.902, httpResponseLatency: 107.0519, sslConLatency: 0, tcpLostlenPercent: 0.0038, pktRetransPercent: 0.0091, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1281', totalBytes: '393383026', totalBitsRate: 874184.48, egressBytes: '351396318', egressBitsRate: 780880.72, ingressBytes: '31340065', ingressBitsRate: 69644.56, establishLatencyMs: 64.413, httpResponseLatency: 85.3855, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.0114, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1281', totalBytes: '387129909', totalBitsRate: 860288.72, egressBytes: '302488556', egressBitsRate: 672196.8, ingressBytes: '72455586', ingressBitsRate: 161012.4, establishLatencyMs: 76.4561, httpResponseLatency: 192.1006, sslConLatency: 0, tcpLostlenPercent: 0.0052, pktRetransPercent: 0.0168, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1281', totalBytes: '425879588', totalBitsRate: 946399.12, egressBytes: '263435832', egressBitsRate: 585412.96, ingressBytes: '146140145', ingressBitsRate: 324755.84, establishLatencyMs: 144.9736, httpResponseLatency: 145.7219, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.019, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1281', totalBytes: '287483397', totalBitsRate: 638852, egressBytes: '257365122', egressBitsRate: 571922.48, ingressBytes: '20811515', ingressBitsRate: 46247.84, establishLatencyMs: 115.147, httpResponseLatency: 190.5346, sslConLatency: 0, tcpLostlenPercent: 0.0117, pktRetransPercent: 0.0218, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1281', totalBytes: '261944760', totalBitsRate: 582099.44, egressBytes: '224739060', egressBitsRate: 499420.16, ingressBytes: '22733255', ingressBitsRate: 50518.32, establishLatencyMs: 70.5032, httpResponseLatency: 88.7246, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0119, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1281', totalBytes: '384921036', totalBitsRate: 855380.08, egressBytes: '287289027', egressBitsRate: 638420.08, ingressBytes: '85851016', ingressBitsRate: 190780, establishLatencyMs: 77.1338, httpResponseLatency: 119.3661, sslConLatency: 0, tcpLostlenPercent: 0.0038, pktRetransPercent: 0.0157, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1281', totalBytes: '747219384', totalBitsRate: 1660487.52, egressBytes: '711493451', egressBitsRate: 1581096.56, ingressBytes: '19888607', ingressBitsRate: 44196.88, establishLatencyMs: 94.9185, httpResponseLatency: 174.1762, sslConLatency: 0, tcpLostlenPercent: 0.0033, pktRetransPercent: 0.0225, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1537', totalBytes: '314181123', totalBitsRate: 698180.24, egressBytes: '290716163', egressBitsRate: 646035.92, ingressBytes: '12528086', ingressBitsRate: 27840.16, establishLatencyMs: 64.4391, httpResponseLatency: 83.7041, sslConLatency: 0, tcpLostlenPercent: 0.0119, pktRetransPercent: 0.0142, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1537', totalBytes: '491448414', totalBitsRate: 1092107.6, egressBytes: '373279539', egressBitsRate: 829510.08, ingressBytes: '58058567', ingressBitsRate: 129019.04, establishLatencyMs: 118.2363, httpResponseLatency: 117.7304, sslConLatency: 0, tcpLostlenPercent: 0.0072, pktRetransPercent: 0.0116, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1537', totalBytes: '398005843', totalBitsRate: 884457.44, egressBytes: '267392714', egressBitsRate: 594206, ingressBytes: '101268761', ingressBitsRate: 225041.68, establishLatencyMs: 83.3056, httpResponseLatency: 147.8219, sslConLatency: 0, tcpLostlenPercent: 0.0032, pktRetransPercent: 0.0151, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1537', totalBytes: '344047174', totalBitsRate: 764549.28, egressBytes: '318533531', egressBitsRate: 707852.32, ingressBytes: '16906918', ingressBitsRate: 37570.96, establishLatencyMs: 121.1739, httpResponseLatency: 126.4862, sslConLatency: 0, tcpLostlenPercent: 0.0073, pktRetransPercent: 0.0186, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1537', totalBytes: '471587736', totalBitsRate: 1047972.72, egressBytes: '410880816', egressBitsRate: 913068.48, ingressBytes: '28281853', ingressBitsRate: 62848.56, establishLatencyMs: 70.9806, httpResponseLatency: 185.4856, sslConLatency: 0, tcpLostlenPercent: 0.0035, pktRetransPercent: 0.0125, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1537', totalBytes: '435477272', totalBitsRate: 967727.28, egressBytes: '354445790', egressBitsRate: 787657.28, ingressBytes: '57547816', ingressBitsRate: 127884, establishLatencyMs: 77.2037, httpResponseLatency: 120.3639, sslConLatency: 0, tcpLostlenPercent: 0.0058, pktRetransPercent: 0.0211, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1537', totalBytes: '421275299', totalBitsRate: 936167.36, egressBytes: '394027515', egressBitsRate: 875616.72, ingressBytes: '11330580', ingressBitsRate: 25179.04, establishLatencyMs: 87.0062, httpResponseLatency: 185.6153, sslConLatency: 0, tcpLostlenPercent: 0.0065, pktRetransPercent: 0.0141, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1537', totalBytes: '753697278', totalBitsRate: 1674882.88, egressBytes: '671374082', egressBitsRate: 1491942.4, ingressBytes: '62801227', ingressBitsRate: 139558.32, establishLatencyMs: 89.8664, httpResponseLatency: 117.8758, sslConLatency: 0, tcpLostlenPercent: 0.0032, pktRetransPercent: 0.0144, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1537', totalBytes: '460044320', totalBitsRate: 1022320.72, egressBytes: '389631794', egressBitsRate: 865848.4, ingressBytes: '51549641', ingressBitsRate: 114554.72, establishLatencyMs: 88.5266, httpResponseLatency: 126.5988, sslConLatency: 0, tcpLostlenPercent: 0.0012, pktRetransPercent: 0.0203, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1537', totalBytes: '350106467', totalBitsRate: 778014.4, egressBytes: '273295970', egressBitsRate: 607324.4, ingressBytes: '68060771', ingressBitsRate: 151246.16, establishLatencyMs: 73.7358, httpResponseLatency: 116.135, sslConLatency: 0, tcpLostlenPercent: 0.0045, pktRetransPercent: 0.0341, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1793', totalBytes: '452268295', totalBitsRate: 1005040.64, egressBytes: '379485980', egressBitsRate: 843302.16, ingressBytes: '55074312', ingressBitsRate: 122387.36, establishLatencyMs: 78.7998, httpResponseLatency: 93.5587, sslConLatency: 0, tcpLostlenPercent: 0.003, pktRetransPercent: 0.021, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1793', totalBytes: '700042073', totalBitsRate: 1555649.04, egressBytes: '673088759', egressBitsRate: 1495752.8, ingressBytes: '10410544', ingressBitsRate: 23134.56, establishLatencyMs: 85.8763, httpResponseLatency: 159.1093, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0157, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1793', totalBytes: '271912982', totalBitsRate: 604251.04, egressBytes: '227792078', egressBitsRate: 506204.64, ingressBytes: '31821353', ingressBitsRate: 70714.08, establishLatencyMs: 73.8296, httpResponseLatency: 84.6696, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0084, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1793', totalBytes: '502977380', totalBitsRate: 1117727.52, egressBytes: '324437335', egressBitsRate: 720971.84, ingressBytes: '167435918', ingressBitsRate: 372079.84, establishLatencyMs: 68.3019, httpResponseLatency: 120.6175, sslConLatency: 0, tcpLostlenPercent: 0.0083, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1793', totalBytes: '473709275', totalBitsRate: 1052687.28, egressBytes: '408981966', egressBitsRate: 908848.8, ingressBytes: '50085555', ingressBitsRate: 111301.2, establishLatencyMs: 80.0523, httpResponseLatency: 138.3115, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.0205, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1793', totalBytes: '419864446', totalBitsRate: 933032.08, egressBytes: '365874375', egressBitsRate: 813054.16, ingressBytes: '37465965', ingressBitsRate: 83257.68, establishLatencyMs: 71.3478, httpResponseLatency: 77.8483, sslConLatency: 0, tcpLostlenPercent: 0.0013, pktRetransPercent: 0.0116, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1793', totalBytes: '339160607', totalBitsRate: 753690.24, egressBytes: '301992422', egressBitsRate: 671094.24, ingressBytes: '23961274', ingressBitsRate: 53247.28, establishLatencyMs: 87.9845, httpResponseLatency: 135.7731, sslConLatency: 0, tcpLostlenPercent: 0.0036, pktRetransPercent: 0.013, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1793', totalBytes: '616101903', totalBitsRate: 1369115.36, egressBytes: '522679143', egressBitsRate: 1161509.2, ingressBytes: '74691412', ingressBitsRate: 165980.88, establishLatencyMs: 146.3266, httpResponseLatency: 382.936, sslConLatency: 0, tcpLostlenPercent: 0.011, pktRetransPercent: 0.0218, usageMore90: false, score: 4, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1793', totalBytes: '353905850', totalBitsRate: 786457.44, egressBytes: '303343002', egressBitsRate: 674095.6, ingressBytes: '35558267', ingressBitsRate: 79018.4, establishLatencyMs: 65.5383, httpResponseLatency: 182.1653, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.0176, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1793', totalBytes: '310621344', totalBitsRate: 690269.68, egressBytes: '270045410', egressBitsRate: 600100.88, ingressBytes: '25119191', ingressBitsRate: 55820.4, establishLatencyMs: 77.1911, httpResponseLatency: 100.1092, sslConLatency: 0, tcpLostlenPercent: 0.0034, pktRetransPercent: 0.0123, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2049', totalBytes: '388093577', totalBitsRate: 862430.16, egressBytes: '348827067', egressBitsRate: 775171.28, ingressBytes: '20464561', ingressBitsRate: 45476.8, establishLatencyMs: 77.5916, httpResponseLatency: 147.349, sslConLatency: 0, tcpLostlenPercent: 0.0111, pktRetransPercent: 0.011, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2049', totalBytes: '711311059', totalBitsRate: 1580691.28, egressBytes: '653169387', egressBitsRate: 1451487.52, ingressBytes: '23736470', ingressBitsRate: 52747.68, establishLatencyMs: 88.1133, httpResponseLatency: 442.7744, sslConLatency: 0, tcpLostlenPercent: 0.0037, pktRetransPercent: 0.0282, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2049', totalBytes: '544169365', totalBitsRate: 1209265.28, egressBytes: '480502970', egressBitsRate: 1067784.4, ingressBytes: '42064720', ingressBitsRate: 93477.12, establishLatencyMs: 86.859, httpResponseLatency: 96.2626, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0188, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2049', totalBytes: '511188364', totalBitsRate: 1135974.16, egressBytes: '439810340', egressBitsRate: 977356.32, ingressBytes: '60103971', ingressBitsRate: 133564.4, establishLatencyMs: 100.5463, httpResponseLatency: 183.6345, sslConLatency: 0, tcpLostlenPercent: 0.0094, pktRetransPercent: 0.0087, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2049', totalBytes: '666928930', totalBitsRate: 1482064.32, egressBytes: '626185114', egressBitsRate: 1391522.48, ingressBytes: '23926270', ingressBitsRate: 53169.52, establishLatencyMs: 119.9707, httpResponseLatency: 205.3038, sslConLatency: 0, tcpLostlenPercent: 0.0052, pktRetransPercent: 0.0272, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2049', totalBytes: '329173462', totalBitsRate: 731496.56, egressBytes: '255905021', egressBitsRate: 568677.84, ingressBytes: '57317526', ingressBitsRate: 127372.24, establishLatencyMs: 66.6872, httpResponseLatency: 286.5033, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0227, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2049', totalBytes: '308368988', totalBitsRate: 685264.4, egressBytes: '237340865', egressBitsRate: 527424.16, ingressBytes: '60510292', ingressBitsRate: 134467.28, establishLatencyMs: 72.5769, httpResponseLatency: 255.8301, sslConLatency: 0, tcpLostlenPercent: 0.0083, pktRetransPercent: 0.014, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2049', totalBytes: '321568878', totalBitsRate: 714597.52, egressBytes: '273035831', egressBitsRate: 606746.32, ingressBytes: '28038175', ingressBitsRate: 62307.04, establishLatencyMs: 66.0751, httpResponseLatency: 312.7351, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0156, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2049', totalBytes: '380061893', totalBitsRate: 844582, egressBytes: '315061822', egressBitsRate: 700137.36, ingressBytes: '52657744', ingressBitsRate: 117017.2, establishLatencyMs: 75.8593, httpResponseLatency: 132.0823, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0101, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2049', totalBytes: '433349564', totalBitsRate: 962999.04, egressBytes: '310273265', egressBitsRate: 689496.16, ingressBytes: '107419516', ingressBitsRate: 238710, establishLatencyMs: 79.7628, httpResponseLatency: 127.4814, sslConLatency: 0, tcpLostlenPercent: 0.0031, pktRetransPercent: 0.0137, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2305', totalBytes: '441740953', totalBitsRate: 981646.56, egressBytes: '344031397', egressBitsRate: 764514.24, ingressBytes: '89500725', ingressBitsRate: 198890.48, establishLatencyMs: 83.4651, httpResponseLatency: 184.2666, sslConLatency: 0, tcpLostlenPercent: 0.006, pktRetransPercent: 0.0132, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2305', totalBytes: '492163025', totalBitsRate: 1093695.6, egressBytes: '452782283', egressBitsRate: 1006182.88, ingressBytes: '24458788', ingressBitsRate: 54352.88, establishLatencyMs: 75.3955, httpResponseLatency: 120.5217, sslConLatency: 0, tcpLostlenPercent: 0.0062, pktRetransPercent: 0.0091, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2305', totalBytes: '412085678', totalBitsRate: 915745.92, egressBytes: '386711916', egressBitsRate: 859359.84, ingressBytes: '16901737', ingressBitsRate: 37559.44, establishLatencyMs: 89.1835, httpResponseLatency: 188.111, sslConLatency: 0, tcpLostlenPercent: 0.0147, pktRetransPercent: 0.0127, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2305', totalBytes: '493492790', totalBitsRate: 1096650.64, egressBytes: '452074866', egressBitsRate: 1004610.8, ingressBytes: '31521658', ingressBitsRate: 70048.16, establishLatencyMs: 82.6305, httpResponseLatency: 83.2076, sslConLatency: 0, tcpLostlenPercent: 0.0075, pktRetransPercent: 0.0123, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2305', totalBytes: '512733888', totalBitsRate: 1139408.64, egressBytes: '471200897', egressBitsRate: 1047113.12, ingressBytes: '28133375', ingressBitsRate: 62518.64, establishLatencyMs: 70.762, httpResponseLatency: 101.5263, sslConLatency: 0, tcpLostlenPercent: 0.0046, pktRetransPercent: 0.0214, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2305', totalBytes: '747694085', totalBitsRate: 1661542.4, egressBytes: '691510780', egressBitsRate: 1536690.64, ingressBytes: '25897699', ingressBitsRate: 57550.48, establishLatencyMs: 83.79, httpResponseLatency: 90.0623, sslConLatency: 0, tcpLostlenPercent: 0.0091, pktRetransPercent: 0.0242, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2305', totalBytes: '376892219', totalBitsRate: 837538.24, egressBytes: '336286147', egressBitsRate: 747302.56, ingressBytes: '25717104', ingressBitsRate: 57149.12, establishLatencyMs: 104.1186, httpResponseLatency: 134.8195, sslConLatency: 0, tcpLostlenPercent: 0.0051, pktRetransPercent: 0.018, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2305', totalBytes: '350689016', totalBitsRate: 779308.96, egressBytes: '324109790', egressBitsRate: 720244, ingressBytes: '14540455', ingressBitsRate: 32312.16, establishLatencyMs: 77.1332, httpResponseLatency: 497.0389, sslConLatency: 0, tcpLostlenPercent: 0.0063, pktRetransPercent: 0.0111, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2305', totalBytes: '365450281', totalBitsRate: 812111.76, egressBytes: '254568603', egressBitsRate: 565708, ingressBytes: '101035884', ingressBitsRate: 224524.16, establishLatencyMs: 96.1349, httpResponseLatency: 127.3401, sslConLatency: 0, tcpLostlenPercent: 0.0043, pktRetransPercent: 0.0178, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2305', totalBytes: '582756711', totalBitsRate: 1295014.88, egressBytes: '418332040', egressBitsRate: 929626.72, ingressBytes: '151309467', ingressBitsRate: 336243.28, establishLatencyMs: 92.9852, httpResponseLatency: 92.9446, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0201, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2817', totalBytes: '297004684', totalBitsRate: 660010.4, egressBytes: '237149513', egressBitsRate: 526998.88, ingressBytes: '52715080', ingressBitsRate: 117144.64, establishLatencyMs: 75.9443, httpResponseLatency: 100.3348, sslConLatency: 0, tcpLostlenPercent: 0.025, pktRetransPercent: 0.0149, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2817', totalBytes: '244871384', totalBitsRate: 544158.64, egressBytes: '182387351', egressBitsRate: 405305.2, ingressBytes: '52813649', ingressBitsRate: 117363.68, establishLatencyMs: 90.5676, httpResponseLatency: 87.4456, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0174, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2817', totalBytes: '529048700', totalBitsRate: 1175663.76, egressBytes: '385067667', egressBitsRate: 855705.92, ingressBytes: '80988511', ingressBitsRate: 179974.48, establishLatencyMs: 146.6385, httpResponseLatency: 139.8804, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0126, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2817', totalBytes: '361792234', totalBitsRate: 803982.72, egressBytes: '330465149', egressBitsRate: 734366.96, ingressBytes: '17966232', ingressBitsRate: 39924.96, establishLatencyMs: 122.4222, httpResponseLatency: 136.6981, sslConLatency: 0, tcpLostlenPercent: 0.0027, pktRetransPercent: 0.0072, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2817', totalBytes: '421038470', totalBitsRate: 935641.04, egressBytes: '324989968', egressBitsRate: 722199.92, ingressBytes: '84806395', ingressBitsRate: 188458.64, establishLatencyMs: 92.1301, httpResponseLatency: 114.9592, sslConLatency: 0, tcpLostlenPercent: 0.0039, pktRetransPercent: 0.0172, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2817', totalBytes: '362980681', totalBitsRate: 806623.76, egressBytes: '311642328', egressBitsRate: 692538.48, ingressBytes: '38988231', ingressBitsRate: 86640.48, establishLatencyMs: 97.0047, httpResponseLatency: 155.4382, sslConLatency: 0, tcpLostlenPercent: 0.0069, pktRetransPercent: 0.0197, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2817', totalBytes: '621237185', totalBitsRate: 1380527.04, egressBytes: '568359927', egressBitsRate: 1263022.08, ingressBytes: '41110785', ingressBitsRate: 91357.28, establishLatencyMs: 64.7608, httpResponseLatency: 119.7391, sslConLatency: 0, tcpLostlenPercent: 0.0044, pktRetransPercent: 0.0252, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2817', totalBytes: '260368736', totalBitsRate: 578597.2, egressBytes: '205185994', egressBitsRate: 455968.88, ingressBytes: '46626869', ingressBitsRate: 103615.28, establishLatencyMs: 99.6428, httpResponseLatency: 99.8736, sslConLatency: 0, tcpLostlenPercent: 0.003, pktRetransPercent: 0.0126, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2817', totalBytes: '318716905', totalBitsRate: 708259.76, egressBytes: '295082544', egressBitsRate: 655738.96, ingressBytes: '11859656', ingressBitsRate: 26354.8, establishLatencyMs: 70.4628, httpResponseLatency: 110.3507, sslConLatency: 0, tcpLostlenPercent: 0.0107, pktRetransPercent: 0.0272, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2817', totalBytes: '314302936', totalBitsRate: 698450.96, egressBytes: '266218480', egressBitsRate: 591596.64, ingressBytes: '37481378', ingressBitsRate: 83291.92, establishLatencyMs: 73.5813, httpResponseLatency: 479.376, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0163, usageMore90: false, score: 6, scoreLow3: false }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20common_egress_link_id%20AS%20egress_link_id%2Ccommon_ingress_link_id%20AS%20ingress_link_id%2CSUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2CSUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2CSUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675387137%20AND%20stat_time%20%3C%201675390737%20GROUP%20BY%20egress_link_id%2Cingress_link_id&format=json&option=real-time', msg: 'OK' } -} -const mockGet2 = { - data: { status: 200, code: 200, queryKey: '3b148e81873eb2621bbd77fffbd0a008', success: true, message: null, statistics: { elapsed: 4, rows_read: 14027, bytes_read: 1611437, result_size: 2393, result_rows: 9 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_direction', type: 'string', category: 'Dimension' }, { name: 'ingress_link_direction', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkDirection: '太原', ingressLinkDirection: '太原', totalBytes: '16535105415', totalBitsRate: 36744678.72, egressBytes: '14184016558', egressBitsRate: 31520036.8, ingressBytes: '1688597600', ingressBitsRate: 3752439.12, establishLatencyMs: 88.0242, httpResponseLatency: 203.7159, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0166, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '太原', totalBytes: '7944206231', totalBitsRate: 17653791.6, egressBytes: '6777682761', egressBitsRate: 15061517.28, ingressBytes: '885954326', ingressBitsRate: 1968787.36, establishLatencyMs: 83.1217, httpResponseLatency: 157.7391, sslConLatency: 0, tcpLostlenPercent: 0.0046, pktRetransPercent: 0.0173, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '太原', totalBytes: '2857306724', totalBitsRate: 6349570.48, egressBytes: '2128232085', egressBitsRate: 4729404.64, ingressBytes: '404099210', ingressBitsRate: 897998.24, establishLatencyMs: 98.8892, httpResponseLatency: 136.1593, sslConLatency: 0, tcpLostlenPercent: 0.0068, pktRetransPercent: 0.0147, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '太原', ingressLinkDirection: '西安', totalBytes: '6373421289', totalBitsRate: 14163158.4, egressBytes: '5353700094', egressBitsRate: 11897111.36, ingressBytes: '734848747', ingressBitsRate: 1632997.2, establishLatencyMs: 92.7275, httpResponseLatency: 137.1145, sslConLatency: 0, tcpLostlenPercent: 0.0057, pktRetransPercent: 0.0162, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '西安', totalBytes: '4103560375', totalBitsRate: 9119023.04, egressBytes: '3571039189', egressBitsRate: 7935642.64, ingressBytes: '377089010', ingressBitsRate: 837975.6, establishLatencyMs: 85.6573, httpResponseLatency: 201.6159, sslConLatency: 0, tcpLostlenPercent: 0.0069, pktRetransPercent: 0.0144, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '西安', totalBytes: '1183207657', totalBitsRate: 2629350.32, egressBytes: '1058261055', egressBitsRate: 2351691.2, ingressBytes: '87176633', ingressBitsRate: 193725.84, establishLatencyMs: 91.4916, httpResponseLatency: 117.5389, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.0104, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '太原', ingressLinkDirection: '西宁', totalBytes: '2924709918', totalBitsRate: 6499355.36, egressBytes: '2584008489', egressBitsRate: 5742241.12, ingressBytes: '181573168', ingressBitsRate: 403495.92, establishLatencyMs: 89.4893, httpResponseLatency: 151.1124, sslConLatency: 0, tcpLostlenPercent: 0.0053, pktRetransPercent: 0.0224, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '西宁', totalBytes: '1227926954', totalBitsRate: 2728726.56, egressBytes: '1085741718', egressBitsRate: 2412759.36, ingressBytes: '102066992', ingressBitsRate: 226815.52, establishLatencyMs: 93.9175, httpResponseLatency: 168.1369, sslConLatency: 0, tcpLostlenPercent: 0.0048, pktRetransPercent: 0.0139, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '西宁', totalBytes: '309813302', totalBitsRate: 688474, egressBytes: '275012816', egressBitsRate: 611139.6, ingressBytes: '14787925', ingressBitsRate: 32862.08, establishLatencyMs: 69.9228, httpResponseLatency: 224.0711, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20egress_link_direction%20AS%20egress_link_direction%2Cingress_link_direction%20AS%20ingress_link_direction%2CSUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2CSUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2CSUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675387137%20AND%20stat_time%20%3C%201675390737%20AND%20%28notEmpty%28egress_link_direction%29%20AND%20notEmpty%28ingress_link_direction%29%29%20GROUP%20BY%20egress_link_direction%2Cingress_link_direction&format=json&option=real-time', msg: 'OK' } -} -const linkInfoData = [{ originalLinkId: '256', linkId: 'Hundredgige1', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '257', linkId: 'Hundredgige1', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '512', linkId: 'Hundredgige2', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '513', linkId: 'Hundredgige2', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '768', linkId: 'Hundredgige3', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '769', linkId: 'Hundredgige3', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1024', linkId: 'Hundredgige4', direction: 'egress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1025', linkId: 'Hundredgige4', direction: 'ingress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1280', linkId: 'Hundredgige5', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1281', linkId: 'Hundredgige5', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1536', linkId: 'Hundredgige6', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1537', linkId: 'Hundredgige6', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1792', linkId: 'Hundredgige7', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1793', linkId: 'Hundredgige7', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2048', linkId: 'Hundredgige8', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2049', linkId: 'Hundredgige8', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2304', linkId: 'Hundredgige9', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2305', linkId: 'Hundredgige9', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2816', linkId: 'Hundredgige10', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '2817', linkId: 'Hundredgige10', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }] +const mockGet1 = mockData.common.data1 +const mockGet2 = mockData.common.data2 const linkInfo = JSON.stringify(linkInfoData) const timeFilter = { @@ -43,7 +40,7 @@ function axiosPostAndMounted (list1, list2) { jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(() => linkInfo) } -describe('views/charts2/charts/linkMonitor/LinkBlock.vue测试', () => { +describe('views/charts2/charts/linkMonitor/LinkDirectionGrid.vue测试', () => { test('鼠标移动到链路网格图第5行第3列,下一跳网格图第3行第1列,测试链路编号和悬浮框dom内容', async () => { axiosPostAndMounted() // 加载vue组件,获得实例 @@ -169,4 +166,25 @@ describe('views/charts2/charts/linkMonitor/LinkBlock.vue测试', () => { resolve() }, 200)) }) + test('链路网格图、下一跳网格图无数据', async () => { + const list1 = mockData.empty.data1 + const list2 = mockData.empty.data2 + + axiosPostAndMounted(list1, list2) + + const wrapper = mount(LinkDirectionGrid, { + global: { + plugins: [ElementPlus] + }, + propsData: { + timeFilter + } + }) + + await new Promise(resolve => setTimeout(() => { + const noData0 = wrapper.find('[test-id="noData0"]') + expect(noData0.text()).toBe('npm.noData') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/linkMonitor/LinkTrafficLine.test.js b/test/views/charts2/charts/linkMonitor/LinkTrafficLine.test.js index ab19f121..d4f5d109 100644 --- a/test/views/charts2/charts/linkMonitor/LinkTrafficLine.test.js +++ b/test/views/charts2/charts/linkMonitor/LinkTrafficLine.test.js @@ -1,6 +1,11 @@ import LinkTrafficLine from '@/views/charts2/charts/linkMonitor/LinkTrafficLine' import { mount } from '@vue/test-utils' import axios from 'axios' +import { mockData } from './MockData/LinkTrafficLine' +import { linkInfoData } from './MockData/LinkBlock' + +const mockGet = mockData.common.data1 +const mockGet1 = mockData.common.data2 const timeFilter = { dateRangeValue: -1, @@ -8,16 +13,7 @@ const timeFilter = { endTime: 1673247600 } -const mockGet = { - data: { status: 200, code: 200, queryKey: '87649896d5b7547a0128eb47c2d40853', success: true, message: null, statistics: { elapsed: 4, rows_read: 1033063, bytes_read: 8618120, result_size: 13807, result_rows: 101 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }, { name: 'egress_pkt', type: 'long', category: 'Metric' }, { name: 'ingress_pkt', type: 'long', category: 'Metric' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', ingressBitsRate: { values: [['1675388124', '0'], ['1675388160', '4253144'], ['1675388196', '470709.36'], ['1675388232', '0'], ['1675388268', '148192.24'], ['1675388304', '0'], ['1675388340', '577072.48'], ['1675388376', '160431.12'], ['1675388412', '0'], ['1675388448', '1639602.64'], ['1675388484', '0'], ['1675388520', '2074017.36'], ['1675388556', '798924.64'], ['1675388592', '0'], ['1675388628', '884606'], ['1675388664', '0'], ['1675388700', '1373220.48'], ['1675388736', '21305.36'], ['1675388772', '0'], ['1675388808', '1398940.24'], ['1675388844', '0'], ['1675388880', '4474519.52'], ['1675388916', '383473.12'], ['1675388952', '0'], ['1675388988', '582813.36'], ['1675389024', '0'], ['1675389060', '3545078.24'], ['1675389096', '766672'], ['1675389132', '0'], ['1675389168', '2877694'], ['1675389204', '0'], ['1675389240', '2195562.48'], ['1675389276', '2268681.12'], ['1675389312', '0'], ['1675389348', '1438248.88'], ['1675389384', '0'], ['1675389420', '88914.24'], ['1675389456', '363776.24'], ['1675389492', '0'], ['1675389528', '103931.36'], ['1675389564', '0'], ['1675389600', '930861.12'], ['1675389636', '473982.48'], ['1675389672', '0'], ['1675389708', '210004.88'], ['1675389744', '0'], ['1675389780', '764367.52'], ['1675389816', '236745.52'], ['1675389852', '0'], ['1675389888', '199598'], ['1675389924', '0'], ['1675389960', '385563.36'], ['1675389996', '353556.64'], ['1675390032', '0'], ['1675390068', '380246.48'], ['1675390104', '0'], ['1675390140', '456284'], ['1675390176', '2560143.76'], ['1675390212', '0'], ['1675390248', '3806779.36'], ['1675390284', '0'], ['1675390320', '382829.52'], ['1675390356', '225432.48'], ['1675390392', '0'], ['1675390428', '1024283.52'], ['1675390464', '0'], ['1675390500', '494194.88'], ['1675390536', '718094.88'], ['1675390572', '0'], ['1675390608', '373146.64'], ['1675390644', '0'], ['1675390680', '101628.64'], ['1675390716', '977218'], ['1675390752', '0'], ['1675390788', '7263452.48'], ['1675390824', '0'], ['1675390860', '2613115.76'], ['1675390896', '2987862'], ['1675390932', '0'], ['1675390968', '1376989.36'], ['1675391004', '0'], ['1675391040', '2245663.12'], ['1675391076', '602240.64'], ['1675391112', '0'], ['1675391148', '437569.12'], ['1675391184', '0'], ['1675391220', '115680.88'], ['1675391256', '42582.24'], ['1675391292', '0'], ['1675391328', '42002'], ['1675391364', '0'], ['1675391400', '720716'], ['1675391436', '5382.88'], ['1675391472', '0'], ['1675391508', '169074.64'], ['1675391544', '0'], ['1675391580', '1214277.76'], ['1675391616', '1523679.76'], ['1675391652', '0'], ['1675391688', '6382256'], ['1675391724', '0']], analysis: { avg: '756870.4', max: '7263452.48', min: '0', p95: '3545078.24' } }, totalBitsRate: { values: [['1675388124', '0'], ['1675388160', '17581092.48'], ['1675388196', '9918148.64'], ['1675388232', '0'], ['1675388268', '13213336.64'], ['1675388304', '0'], ['1675388340', '41123655.76'], ['1675388376', '14569548.64'], ['1675388412', '0'], ['1675388448', '39157977.52'], ['1675388484', '0'], ['1675388520', '15875735.76'], ['1675388556', '10885102.24'], ['1675388592', '0'], ['1675388628', '8943487.12'], ['1675388664', '0'], ['1675388700', '18985121.76'], ['1675388736', '7659627.36'], ['1675388772', '0'], ['1675388808', '9288266.88'], ['1675388844', '0'], ['1675388880', '15999674.24'], ['1675388916', '16802700.48'], ['1675388952', '0'], ['1675388988', '17836499.52'], ['1675389024', '0'], ['1675389060', '22368492'], ['1675389096', '12570182.88'], ['1675389132', '0'], ['1675389168', '19977345.36'], ['1675389204', '0'], ['1675389240', '7747381.76'], ['1675389276', '29050230.64'], ['1675389312', '0'], ['1675389348', '5834855.36'], ['1675389384', '0'], ['1675389420', '22798420.24'], ['1675389456', '9061622.64'], ['1675389492', '0'], ['1675389528', '2391149.76'], ['1675389564', '0'], ['1675389600', '10752915.76'], ['1675389636', '72671214'], ['1675389672', '0'], ['1675389708', '23536865.76'], ['1675389744', '0'], ['1675389780', '6080925.76'], ['1675389816', '27096624.64'], ['1675389852', '0'], ['1675389888', '47355125.36'], ['1675389924', '0'], ['1675389960', '7525635.52'], ['1675389996', '12312211.76'], ['1675390032', '0'], ['1675390068', '9587065.36'], ['1675390104', '0'], ['1675390140', '7763073.36'], ['1675390176', '12692375.36'], ['1675390212', '0'], ['1675390248', '13007133.76'], ['1675390284', '0'], ['1675390320', '3241344.88'], ['1675390356', '13811041.12'], ['1675390392', '0'], ['1675390428', '38206391.36'], ['1675390464', '0'], ['1675390500', '5489114'], ['1675390536', '17855136.88'], ['1675390572', '0'], ['1675390608', '18409624.48'], ['1675390644', '0'], ['1675390680', '15132633.12'], ['1675390716', '19189583.52'], ['1675390752', '0'], ['1675390788', '16803327.36'], ['1675390824', '0'], ['1675390860', '19972804.88'], ['1675390896', '22541580.48'], ['1675390932', '0'], ['1675390968', '21671364.88'], ['1675391004', '0'], ['1675391040', '25293518.24'], ['1675391076', '34056467.52'], ['1675391112', '0'], ['1675391148', '13181229.76'], ['1675391184', '0'], ['1675391220', '12337126.88'], ['1675391256', '5989032.64'], ['1675391292', '0'], ['1675391328', '7393281.36'], ['1675391364', '0'], ['1675391400', '29175007.36'], ['1675391436', '17228925.76'], ['1675391472', '0'], ['1675391508', '7375468'], ['1675391544', '0'], ['1675391580', '16675685.76'], ['1675391616', '22908316'], ['1675391652', '0'], ['1675391688', '13867890.88'], ['1675391724', '0']], analysis: { avg: '10578267.2', max: '72671214', min: '0', p95: '34056467.52' } }, egressBitsRate: { values: [['1675388124', '0'], ['1675388160', '13327948.48'], ['1675388196', '9447439.36'], ['1675388232', '0'], ['1675388268', '13065144.48'], ['1675388304', '0'], ['1675388340', '40546583.36'], ['1675388376', '14409117.52'], ['1675388412', '0'], ['1675388448', '37518374.88'], ['1675388484', '0'], ['1675388520', '13801718.48'], ['1675388556', '10086177.52'], ['1675388592', '0'], ['1675388628', '8058881.12'], ['1675388664', '0'], ['1675388700', '17611901.36'], ['1675388736', '7638322'], ['1675388772', '0'], ['1675388808', '7889326.64'], ['1675388844', '0'], ['1675388880', '11525154.64'], ['1675388916', '16419227.36'], ['1675388952', '0'], ['1675388988', '17253686.24'], ['1675389024', '0'], ['1675389060', '18823413.76'], ['1675389096', '11803510.88'], ['1675389132', '0'], ['1675389168', '17099651.36'], ['1675389204', '0'], ['1675389240', '5551819.36'], ['1675389276', '26781549.52'], ['1675389312', '0'], ['1675389348', '4396606.48'], ['1675389384', '0'], ['1675389420', '22709506'], ['1675389456', '8697846.48'], ['1675389492', '0'], ['1675389528', '2287218.48'], ['1675389564', '0'], ['1675389600', '9822054.64'], ['1675389636', '72197231.52'], ['1675389672', '0'], ['1675389708', '23326860.88'], ['1675389744', '0'], ['1675389780', '5316558.24'], ['1675389816', '26859879.12'], ['1675389852', '0'], ['1675389888', '47155527.36'], ['1675389924', '0'], ['1675389960', '7140072.24'], ['1675389996', '11958655.12'], ['1675390032', '0'], ['1675390068', '9206818.88'], ['1675390104', '0'], ['1675390140', '7306789.36'], ['1675390176', '10132231.52'], ['1675390212', '0'], ['1675390248', '9200354.48'], ['1675390284', '0'], ['1675390320', '2858515.36'], ['1675390356', '13585608.64'], ['1675390392', '0'], ['1675390428', '37182107.76'], ['1675390464', '0'], ['1675390500', '4994919.12'], ['1675390536', '17137042'], ['1675390572', '0'], ['1675390608', '18036477.76'], ['1675390644', '0'], ['1675390680', '15031004.48'], ['1675390716', '18212365.52'], ['1675390752', '0'], ['1675390788', '9539874.88'], ['1675390824', '0'], ['1675390860', '17359689.12'], ['1675390896', '19553718.48'], ['1675390932', '0'], ['1675390968', '20294375.52'], ['1675391004', '0'], ['1675391040', '23047855.12'], ['1675391076', '33454226.88'], ['1675391112', '0'], ['1675391148', '12743660.64'], ['1675391184', '0'], ['1675391220', '12221446'], ['1675391256', '5946450.48'], ['1675391292', '0'], ['1675391328', '7351279.36'], ['1675391364', '0'], ['1675391400', '28454291.36'], ['1675391436', '17223542.88'], ['1675391472', '0'], ['1675391508', '7206393.36'], ['1675391544', '0'], ['1675391580', '15461408'], ['1675391616', '21384636.24'], ['1675391652', '0'], ['1675391688', '7485634.88'], ['1675391724', '0']], analysis: { avg: '9821396.8', max: '72197231.52', min: '0', p95: '33454226.88' } } }, { type: 'packets', ingressPacketsRate: { values: [['1675388124', '0.00'], ['1675388160', '382.61'], ['1675388196', '44.67'], ['1675388232', '0.00'], ['1675388268', '23.64'], ['1675388304', '0.00'], ['1675388340', '53.75'], ['1675388376', '34.89'], ['1675388412', '0.00'], ['1675388448', '155.25'], ['1675388484', '0.00'], ['1675388520', '186.17'], ['1675388556', '77.81'], ['1675388592', '0.00'], ['1675388628', '84.75'], ['1675388664', '0.00'], ['1675388700', '140.39'], ['1675388736', '9.69'], ['1675388772', '0.00'], ['1675388808', '126.83'], ['1675388844', '0.00'], ['1675388880', '398.50'], ['1675388916', '94.92'], ['1675388952', '0.00'], ['1675388988', '57.33'], ['1675389024', '0.00'], ['1675389060', '326.89'], ['1675389096', '69.06'], ['1675389132', '0.00'], ['1675389168', '253.61'], ['1675389204', '0.00'], ['1675389240', '201.11'], ['1675389276', '203.14'], ['1675389312', '0.00'], ['1675389348', '126.33'], ['1675389384', '0.00'], ['1675389420', '13.86'], ['1675389456', '34.81'], ['1675389492', '0.00'], ['1675389528', '12.47'], ['1675389564', '0.00'], ['1675389600', '107.08'], ['1675389636', '54.39'], ['1675389672', '0.00'], ['1675389708', '24.42'], ['1675389744', '0.00'], ['1675389780', '67.47'], ['1675389816', '35.94'], ['1675389852', '0.00'], ['1675389888', '22.44'], ['1675389924', '0.00'], ['1675389960', '45.64'], ['1675389996', '32.81'], ['1675390032', '0.00'], ['1675390068', '37.72'], ['1675390104', '0.00'], ['1675390140', '43.69'], ['1675390176', '228.97'], ['1675390212', '0.00'], ['1675390248', '392.69'], ['1675390284', '0.00'], ['1675390320', '55.33'], ['1675390356', '47.44'], ['1675390392', '0.00'], ['1675390428', '106.06'], ['1675390464', '0.00'], ['1675390500', '47.58'], ['1675390536', '64.56'], ['1675390572', '0.00'], ['1675390608', '35.94'], ['1675390644', '0.00'], ['1675390680', '17.31'], ['1675390716', '95.47'], ['1675390752', '0.00'], ['1675390788', '638.00'], ['1675390824', '0.00'], ['1675390860', '239.11'], ['1675390896', '290.89'], ['1675390932', '0.00'], ['1675390968', '129.31'], ['1675391004', '0.00'], ['1675391040', '208.83'], ['1675391076', '65.31'], ['1675391112', '0.00'], ['1675391148', '42.17'], ['1675391184', '0.00'], ['1675391220', '17.94'], ['1675391256', '14.33'], ['1675391292', '0.00'], ['1675391328', '6.31'], ['1675391364', '0.00'], ['1675391400', '62.83'], ['1675391436', '2.53'], ['1675391472', '0.00'], ['1675391508', '37.06'], ['1675391544', '0.00'], ['1675391580', '110.00'], ['1675391616', '148.53'], ['1675391652', '0.00'], ['1675391688', '583.64'], ['1675391724', '0.00']], analysis: { avg: '72.72', max: '638.00', min: '0.00', p95: '326.89' } }, egressPacketsRate: { values: [['1675388124', '0.00'], ['1675388160', '1835.75'], ['1675388196', '865.61'], ['1675388232', '0.00'], ['1675388268', '1202.69'], ['1675388304', '0.00'], ['1675388340', '3864.69'], ['1675388376', '1428.56'], ['1675388412', '0.00'], ['1675388448', '3433.61'], ['1675388484', '0.00'], ['1675388520', '1228.06'], ['1675388556', '896.42'], ['1675388592', '0.00'], ['1675388628', '740.83'], ['1675388664', '0.00'], ['1675388700', '1576.75'], ['1675388736', '721.92'], ['1675388772', '0.00'], ['1675388808', '700.17'], ['1675388844', '0.00'], ['1675388880', '1058.28'], ['1675388916', '1487.19'], ['1675388952', '0.00'], ['1675388988', '1536.19'], ['1675389024', '0.00'], ['1675389060', '1671.50'], ['1675389096', '1083.58'], ['1675389132', '0.00'], ['1675389168', '1561.64'], ['1675389204', '0.00'], ['1675389240', '549.50'], ['1675389276', '2454.47'], ['1675389312', '0.00'], ['1675389348', '404.53'], ['1675389384', '0.00'], ['1675389420', '2011.22'], ['1675389456', '810.75'], ['1675389492', '0.00'], ['1675389528', '228.50'], ['1675389564', '0.00'], ['1675389600', '910.58'], ['1675389636', '6422.11'], ['1675389672', '0.00'], ['1675389708', '2123.44'], ['1675389744', '0.00'], ['1675389780', '481.97'], ['1675389816', '2462.33'], ['1675389852', '0.00'], ['1675389888', '4183.94'], ['1675389924', '0.00'], ['1675389960', '677.81'], ['1675389996', '1103.31'], ['1675390032', '0.00'], ['1675390068', '851.08'], ['1675390104', '0.00'], ['1675390140', '659.33'], ['1675390176', '936.56'], ['1675390212', '0.00'], ['1675390248', '835.78'], ['1675390284', '0.00'], ['1675390320', '296.28'], ['1675390356', '1205.39'], ['1675390392', '0.00'], ['1675390428', '3288.14'], ['1675390464', '0.00'], ['1675390500', '471.14'], ['1675390536', '1577.00'], ['1675390572', '0.00'], ['1675390608', '1645.36'], ['1675390644', '0.00'], ['1675390680', '1390.75'], ['1675390716', '1612.75'], ['1675390752', '0.00'], ['1675390788', '880.92'], ['1675390824', '0.00'], ['1675390860', '1573.47'], ['1675390896', '1809.56'], ['1675390932', '0.00'], ['1675390968', '1847.53'], ['1675391004', '0.00'], ['1675391040', '2160.33'], ['1675391076', '3126.36'], ['1675391112', '0.00'], ['1675391148', '1166.14'], ['1675391184', '0.00'], ['1675391220', '1166.81'], ['1675391256', '538.75'], ['1675391292', '0.00'], ['1675391328', '681.00'], ['1675391364', '0.00'], ['1675391400', '2580.83'], ['1675391436', '1693.17'], ['1675391472', '0.00'], ['1675391508', '695.89'], ['1675391544', '0.00'], ['1675391580', '1395.19'], ['1675391616', '1920.39'], ['1675391652', '0.00'], ['1675391688', '679.08'], ['1675391724', '0.00']], analysis: { avg: '904.03', max: '6422.11', min: '0.00', p95: '3126.36' } }, totalPacketsRate: { values: [['1675388124', '0.00'], ['1675388160', '2218.36'], ['1675388196', '910.28'], ['1675388232', '0.00'], ['1675388268', '1226.33'], ['1675388304', '0.00'], ['1675388340', '3918.44'], ['1675388376', '1463.44'], ['1675388412', '0.00'], ['1675388448', '3588.86'], ['1675388484', '0.00'], ['1675388520', '1414.22'], ['1675388556', '974.22'], ['1675388592', '0.00'], ['1675388628', '825.58'], ['1675388664', '0.00'], ['1675388700', '1717.14'], ['1675388736', '731.61'], ['1675388772', '0.00'], ['1675388808', '827.00'], ['1675388844', '0.00'], ['1675388880', '1456.78'], ['1675388916', '1582.11'], ['1675388952', '0.00'], ['1675388988', '1593.53'], ['1675389024', '0.00'], ['1675389060', '1998.39'], ['1675389096', '1152.64'], ['1675389132', '0.00'], ['1675389168', '1815.25'], ['1675389204', '0.00'], ['1675389240', '750.61'], ['1675389276', '2657.61'], ['1675389312', '0.00'], ['1675389348', '530.86'], ['1675389384', '0.00'], ['1675389420', '2025.08'], ['1675389456', '845.56'], ['1675389492', '0.00'], ['1675389528', '240.97'], ['1675389564', '0.00'], ['1675389600', '1017.67'], ['1675389636', '6476.50'], ['1675389672', '0.00'], ['1675389708', '2147.86'], ['1675389744', '0.00'], ['1675389780', '549.44'], ['1675389816', '2498.28'], ['1675389852', '0.00'], ['1675389888', '4206.39'], ['1675389924', '0.00'], ['1675389960', '723.44'], ['1675389996', '1136.11'], ['1675390032', '0.00'], ['1675390068', '888.81'], ['1675390104', '0.00'], ['1675390140', '703.03'], ['1675390176', '1165.53'], ['1675390212', '0.00'], ['1675390248', '1228.47'], ['1675390284', '0.00'], ['1675390320', '351.61'], ['1675390356', '1252.83'], ['1675390392', '0.00'], ['1675390428', '3394.19'], ['1675390464', '0.00'], ['1675390500', '518.72'], ['1675390536', '1641.56'], ['1675390572', '0.00'], ['1675390608', '1681.31'], ['1675390644', '0.00'], ['1675390680', '1408.06'], ['1675390716', '1708.22'], ['1675390752', '0.00'], ['1675390788', '1518.92'], ['1675390824', '0.00'], ['1675390860', '1812.58'], ['1675390896', '2100.44'], ['1675390932', '0.00'], ['1675390968', '1976.83'], ['1675391004', '0.00'], ['1675391040', '2369.17'], ['1675391076', '3191.67'], ['1675391112', '0.00'], ['1675391148', '1208.31'], ['1675391184', '0.00'], ['1675391220', '1184.75'], ['1675391256', '553.08'], ['1675391292', '0.00'], ['1675391328', '687.31'], ['1675391364', '0.00'], ['1675391400', '2643.67'], ['1675391436', '1695.69'], ['1675391472', '0.00'], ['1675391508', '732.94'], ['1675391544', '0.00'], ['1675391580', '1505.19'], ['1675391616', '2068.92'], ['1675391652', '0.00'], ['1675391688', '1262.72'], ['1675391724', '0.00']], analysis: { avg: '976.75', max: '6476.50', min: '0.00', p95: '3191.67' } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT36S%27%2C%27zero%27%29%20AS%20stat_time%2CSUM%28IF%28%20common_egress_link_id%20%3D%202048%2C%20traffic_outbound_byte%2C%200%29%29%20AS%20egress_bytes%2CSUM%28IF%28%20common_ingress_link_id%20%3D%202049%2C%20traffic_inbound_byte%2C%200%29%29%20AS%20ingress_bytes%2CSUM%28IF%28%20common_egress_link_id%20%3D%202048%2C%20traffic_outbound_pkt%2C%200%29%29%20AS%20egress_pkt%2CSUM%28IF%28%20common_ingress_link_id%20%3D%202049%2C%20traffic_inbound_pkt%2C%200%29%29%20AS%20ingress_pkt%2C%28egress_bytes%20%2B%20ingress_bytes%29%20AS%20bytes_total%2C%28egress_pkt%20%2B%20ingress_pkt%29%20AS%20packets_total%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675388125%20AND%20stat_time%20%3C%201675391725%20%20GROUP%20BY%20stat_time%20ORDER%20BY%20bytes_total%20DESC%20&format=json&option=real-time', msg: 'OK' } -} - -const mockGet1 = { - data: { status: 200, code: 200, queryKey: 'a54916e7f363fd065dfaa44ad23d31b5', success: true, message: null, statistics: { elapsed: 4, rows_read: 10518, bytes_read: 1062318, result_size: 186, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'total_packets', type: 'long', category: 'Metric' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'table', result: [{ totalBytes: '4426409159', totalBitsRate: 9836464.8, totalPackets: '3324302', establishLatencyMs: 92.9489, httpResponseLatency: 154.2884, sslConLatency: 0, tcpLostlenPercent: 0.0069, pktRetransPercent: 0.0165 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20SUM%28IF%28%20common_egress_link_id%20%3D%201792%2C%20traffic_outbound_byte%2C%200%29%20%2B%20IF%28%20common_ingress_link_id%20%3D%201793%2C%20traffic_inbound_byte%2C%200%29%29%20as%20total_bytes%2CSUM%28IF%28%20common_egress_link_id%20%3D%201792%2C%20traffic_outbound_pkt%2C%200%29%20%2B%20IF%28%20common_ingress_link_id%20%3D%201793%2C%20traffic_inbound_pkt%2C%200%29%29%20AS%20total_packets%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675403646%20AND%20stat_time%20%3C%201675407246%20&format=json&option=real-time', msg: 'OK' } -} - -const cnLinkInfo = [{ originalLinkId: '256', linkId: 'Hundredgige1', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '257', linkId: 'Hundredgige1', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '512', linkId: 'Hundredgige2', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '513', linkId: 'Hundredgige2', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '768', linkId: 'Hundredgige3', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '769', linkId: 'Hundredgige3', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1024', linkId: 'Hundredgige4', direction: 'egress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1025', linkId: 'Hundredgige4', direction: 'ingress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1280', linkId: 'Hundredgige5', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1281', linkId: 'Hundredgige5', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1536', linkId: 'Hundredgige6', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1537', linkId: 'Hundredgige6', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1792', linkId: 'Hundredgige7', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1793', linkId: 'Hundredgige7', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2048', linkId: 'Hundredgige8', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2049', linkId: 'Hundredgige8', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2304', linkId: 'Hundredgige9', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2305', linkId: 'Hundredgige9', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2816', linkId: 'Hundredgige10', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '2817', linkId: 'Hundredgige10', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }] -const linkInfo = JSON.stringify(cnLinkInfo) +const linkInfo = JSON.stringify(linkInfoData) const query1 = { t: '1675395023486', thirdPanel: '15', thirdMenu: 'Link ID: Hundredgige10', panelName: 'Link ID: Hundredgige10', queryCondition: 'common_egress_link_id = 1792 or common_ingress_link_id = 1793', curTab: 'ip', startTime: 1675391498, endTime: 1675395098, range: 60 } const query2 = { t: '1675409029937', thirdPanel: '15', thirdMenu: 'Link ID: Hundredgige10', panelName: 'Link ID: Hundredgige10', queryCondition: 'common_egress_link_id = 2816 or common_ingress_link_id = 2817', curTab: 'ip', startTime: 1675388605, endTime: 1675410205, range: 360, lineMetric: 'Bits/s' } @@ -28,21 +24,25 @@ let wrapper = null * 进行axios请求,并挂载vue实例 * 模拟localStorage获取数据 * @param query + * @param data1 + * @param data2 */ -function axiosPostAndMounted (query) { +function axiosPostAndMounted (query, data1, data2) { require('vue-router').useRoute.mockReturnValue({ query: query }) + const _data1 = data1 || mockGet + const _data2 = data2 || mockGet1 // 模拟 axios 数据 axios.get.mockImplementation(url => { switch (url) { case '/interface/link/overview/drilldown/totalTrafficAnalysis': - return Promise.resolve(mockGet) + return Promise.resolve(_data1) case '/interface/link/overview/drilldown/networkAnalysis': - return Promise.resolve(mockGet1) + return Promise.resolve(_data2) } }) // 模拟localStorage获取数据 // eslint-disable-next-line no-proto - jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(key => linkInfo) + jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(() => linkInfo) // 加载vue组件,获得实例 wrapper = mount(LinkTrafficLine, { propsData: { @@ -106,4 +106,69 @@ describe('views/charts2/charts/linkMonitor/LinkTrafficLine.vue测试', () => { resolve() }, 200)) }) + test('左侧列表信息:link下钻折线图 大数值 ', async () => { + const data1 = mockData.boundary.large.data1 + const data2 = mockData.boundary.large.data2 + + axiosPostAndMounted(query1, data1, data2) + await new Promise(resolve => setTimeout(() => { + const textNode0 = wrapper.get('[test-id="line-tabContent"]') + const textNode1 = wrapper.get('[test-id="line-percent"]') + const textNode2 = wrapper.get('[test-id="line-score"]') + const textNode3 = wrapper.get('[test-id="line-tcp"]') + const textNode4 = wrapper.get('[test-id="line-http"]') + const textNode5 = wrapper.get('[test-id="line-ssl"]') + const textNode6 = wrapper.get('[test-id="line-packetLoss"]') + const textNode7 = wrapper.get('[test-id="line-packetRetrans"]') + + expect(textNode0.text()).toEqual('75.69Tbps') + expect(textNode1.text()).toEqual('37843.52%') + expect(textNode2.text()).toEqual('1') + expect(textNode3.text()).toEqual('9.29s') + expect(textNode4.text()).toEqual('154ms') + expect(textNode5.text()).toEqual('90ms') + expect(textNode6.text()).toEqual('69.00%') + expect(textNode7.text()).toEqual('16.50%') + resolve() + }, 200)) + }) + test('Metric=Packets/s:无数据', async () => { + const data1 = mockData.empty.data1 + const data2 = mockData.empty.data2 + axiosPostAndMounted(query3, data1, data2) + + await new Promise(resolve => setTimeout(() => { + const noData = wrapper.get('[test-id="noData"]') + expect(noData.text()).toBe('npm.noData') + resolve() + }, 200)) + }) + test('Metric=Packets/s:大数值', async () => { + const data = mockData.boundary.large.data1 + axiosPostAndMounted(query3, data) + const textNode0 = await wrapper.get('[test-id="tabContent0"]') + const textNode1 = await wrapper.get('[test-id="tabContent1"]') + const textNode2 = await wrapper.get('[test-id="tabContent2"]') + + await new Promise(resolve => setTimeout(() => { + expect(textNode0.text()).toEqual('727.20Mpackets/s') + expect(textNode1.text()).toEqual('904.03Gpackets/s') + expect(textNode2.text()).toEqual('976.75Gpackets/s') + resolve() + }, 200)) + }) + test('Metric=Bits/s:数值为0', async () => { + const data = mockData.boundary.zero.data1 + axiosPostAndMounted(query2, data) + const textNode0 = await wrapper.get('[test-id="tabContent0"]') + const textNode1 = await wrapper.get('[test-id="tabContent1"]') + const textNode2 = await wrapper.get('[test-id="tabContent2"]') + + await new Promise(resolve => setTimeout(() => { + expect(textNode0.text()).toEqual('0bps') + expect(textNode1.text()).toEqual('0bps') + expect(textNode2.text()).toEqual('0bps') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/linkMonitor/MockData/LinkBlock.js b/test/views/charts2/charts/linkMonitor/MockData/LinkBlock.js new file mode 100644 index 00000000..8ab25315 --- /dev/null +++ b/test/views/charts2/charts/linkMonitor/MockData/LinkBlock.js @@ -0,0 +1,240 @@ +export const mockData = { + common: { + data1: { + data: { status: 200, code: 200, queryKey: '549b4c3bcabf0feee193b834671879de', success: true, message: null, statistics: { elapsed: 3, rows_read: 11480, bytes_read: 459200, result_size: 1214, result_rows: 21 }, job: null, formatType: 'json', meta: [{ name: 'link_id', type: 'string', category: 'Dimension' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ linkId: '257', egressBytes: '0', egressBitsRate: 0, ingressBytes: '493739879', ingressBitsRate: 1097199.76 }, { linkId: '256', egressBytes: '4147998874', egressBitsRate: 9217775.28, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1024', egressBytes: '4229808296', egressBitsRate: 9399574, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1793', egressBytes: '0', egressBitsRate: 0, ingressBytes: '604840505', ingressBitsRate: 1344090 }, { linkId: '2817', egressBytes: '0', egressBitsRate: 0, ingressBytes: '430811638', ingressBitsRate: 957359.2 }, { linkId: '0', egressBytes: '819878366014', egressBitsRate: 1821951924.48, ingressBytes: '140774357362', ingressBitsRate: 312831905.28 }, { linkId: '1281', egressBytes: '0', egressBitsRate: 0, ingressBytes: '544675122', ingressBitsRate: 1210389.12 }, { linkId: '2049', egressBytes: '0', egressBitsRate: 0, ingressBytes: '711346274', ingressBitsRate: 1580769.52 }, { linkId: '1536', egressBytes: '4195896971', egressBitsRate: 9324215.52, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '2305', egressBytes: '0', egressBitsRate: 0, ingressBytes: '524865003', ingressBitsRate: 1166366.64 }, { linkId: '1792', egressBytes: '4145790227', egressBitsRate: 9212867.2, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1025', egressBytes: '0', egressBitsRate: 0, ingressBytes: '492227445', ingressBitsRate: 1093838.8 }, { linkId: '2816', egressBytes: '4000074817', egressBitsRate: 8889055.12, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '513', egressBytes: '0', egressBitsRate: 0, ingressBytes: '1444814826', ingressBitsRate: 3210699.6 }, { linkId: '768', egressBytes: '4370006099', egressBitsRate: 9711124.64, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '512', egressBytes: '3894190397', egressBitsRate: 8653756.4, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '769', egressBytes: '0', egressBitsRate: 0, ingressBytes: '1877580759', ingressBitsRate: 4172401.68 }, { linkId: '2304', egressBytes: '3767761711', egressBitsRate: 8372803.84, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '1537', egressBytes: '0', egressBitsRate: 0, ingressBytes: '367986916', ingressBitsRate: 817748.72 }, { linkId: '1280', egressBytes: '4040444894', egressBitsRate: 8978766.4, ingressBytes: '0', ingressBitsRate: 0 }, { linkId: '2048', egressBytes: '4682050724', egressBitsRate: 10404557.2, ingressBytes: '0', ingressBitsRate: 0 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20arrayJoin%28splitByChar%28%27_%27%2C%20concat%28toString%28common_egress_link_id%29%2C%20%27_%27%2C%20toString%28common_ingress_link_id%29%29%29%29%20AS%20link_id%2CSUM%28IF%28toString%28common_egress_link_id%29%20%3D%20link_id%2C%20traffic_outbound_byte%2C%200%29%29%20AS%20egress_bytes%2CSUM%28IF%28toString%28common_ingress_link_id%29%20%3D%20link_id%2C%20traffic_inbound_byte%2C%200%29%29%20AS%20ingress_bytes%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675303793%20AND%20stat_time%20%3C%201675307393%20GROUP%20BY%20link_id&format=json&option=real-time', msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, queryKey: 'ee2e820b1275748167cdee82b2b4ea40', success: true, message: null, statistics: { elapsed: 3, rows_read: 11480, bytes_read: 618564, result_size: 1053, result_rows: 10 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_direction', type: 'string', category: 'Dimension' }, { name: 'ingress_link_direction', type: 'string', category: 'Dimension' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkDirection: '太原', ingressLinkDirection: '西宁', egressBytes: '2407509269', egressBitsRate: 5350020.56, ingressBytes: '193368911', ingressBitsRate: 429708.72 }, { egressLinkDirection: '西安', ingressLinkDirection: '西安', egressBytes: '3609358392', egressBitsRate: 8020796.4, ingressBytes: '345009143', ingressBitsRate: 766686.96 }, { egressLinkDirection: '西宁', ingressLinkDirection: '西安', egressBytes: '1273508499', egressBitsRate: 2830018.88, ingressBytes: '122646511', ingressBitsRate: 272547.84 }, { egressLinkDirection: '太原', ingressLinkDirection: '太原', egressBytes: '14840136119', egressBitsRate: 32978080.24, ingressBytes: '3386427658', ingressBitsRate: 7525394.8 }, { egressLinkDirection: '西安', ingressLinkDirection: '太原', egressBytes: '7070361369', egressBitsRate: 15711914.16, ingressBytes: '1853445429', ingressBitsRate: 4118767.6 }, { egressLinkDirection: '西宁', ingressLinkDirection: '太原', egressBytes: '2619231460', egressBitsRate: 5820514.32, ingressBytes: '291561196', ingressBitsRate: 647913.76 }, { egressLinkDirection: '', ingressLinkDirection: '', egressBytes: '409939183007', egressBitsRate: 910975962.24, ingressBytes: '70387178681', ingressBitsRate: 156415952.64 }, { egressLinkDirection: '太原', ingressLinkDirection: '西安', egressBytes: '7808050741', egressBitsRate: 17351223.84, ingressBytes: '1001570985', ingressBitsRate: 2225713.28 }, { egressLinkDirection: '西宁', ingressLinkDirection: '西宁', egressBytes: '337068337', egressBitsRate: 749040.72, ingressBytes: '165230290', ingressBitsRate: 367178.4 }, { egressLinkDirection: '西安', ingressLinkDirection: '西宁', egressBytes: '1508798824', egressBitsRate: 3352886.24, ingressBytes: '133628244', ingressBitsRate: 296951.68 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20egress_link_direction%20AS%20egress_link_direction%2C%20ingress_link_direction%20AS%20ingress_link_direction%2C%20SUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675303793%20AND%20stat_time%20%3C%201675307393%20GROUP%20BY%20egress_link_direction%2C%20ingress_link_direction&format=json&option=real-time', msg: 'OK' } + } + }, + empty: { + data1: { + data: { status: 200, code: 200, data: { resultType: 'table', result: [] }, msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, data: { resultType: 'table', result: [] }, msg: 'OK' } + } + }, + boundary: { + data1: { + data: { + status: 200, + code: 200, + queryKey: '549b4c3bcabf0feee193b834671879de', + data: { + result: [ + { + linkId: '257', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '493739879', + ingressBitsRate: 0 + }, { + linkId: '256', + egressBytes: '4147998874', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '1024', + egressBytes: '4229808296', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '1793', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '604840505', + ingressBitsRate: 0 + }, { + linkId: '2817', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '430811638', + ingressBitsRate: 0 + }, { + linkId: '0', + egressBytes: '819878366014', + egressBitsRate: 1821951924.48, + ingressBytes: '140774357362', + ingressBitsRate: 312831905.28 + }, { + linkId: '1281', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '544675122', + ingressBitsRate: 0 + }, { + linkId: '2049', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '711346274', + ingressBitsRate: 0 + }, { + linkId: '1536', + egressBytes: '4195896971', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '2305', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '524865003', + ingressBitsRate: 0 + }, { + linkId: '1792', + egressBytes: '4145790227', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '1025', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '492227445', + ingressBitsRate: 0 + }, { + linkId: '2816', + egressBytes: '4000074817', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '513', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '1444814826', + ingressBitsRate: 0 + }, { + linkId: '768', + egressBytes: '4370006099', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '512', + egressBytes: '3894190397', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '769', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '1877580759', + ingressBitsRate: 0 + }, { + linkId: '2304', + egressBytes: '3767761711', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '1537', + egressBytes: '0', + egressBitsRate: 0, + ingressBytes: '367986916', + ingressBitsRate: 0 + }, { + linkId: '1280', + egressBytes: '4040444894', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }, { + linkId: '2048', + egressBytes: '4682050724', + egressBitsRate: 100000000000.00, + ingressBytes: '0', + ingressBitsRate: 0 + }] + } + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [{ + egressLinkDirection: '太原', + ingressLinkDirection: '西宁', + egressBytes: '2407509269', + egressBitsRate: 0, + ingressBytes: '193368911', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西安', + ingressLinkDirection: '西安', + egressBytes: '3609358392', + egressBitsRate: 0, + ingressBytes: '345009143', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西宁', + ingressLinkDirection: '西安', + egressBytes: '1273508499', + egressBitsRate: 0, + ingressBytes: '122646511', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '太原', + ingressLinkDirection: '太原', + egressBytes: '14840136119', + egressBitsRate: 0, + ingressBytes: '3386427658', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西安', + ingressLinkDirection: '太原', + egressBytes: '7070361369', + egressBitsRate: 0, + ingressBytes: '1853445429', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西宁', + ingressLinkDirection: '太原', + egressBytes: '2619231460', + egressBitsRate: 0, + ingressBytes: '291561196', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '', + ingressLinkDirection: '', + egressBytes: '409939183007', + egressBitsRate: 0, + ingressBytes: '70387178681', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '太原', + ingressLinkDirection: '西安', + egressBytes: '7808050741', + egressBitsRate: 0, + ingressBytes: '1001570985', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西宁', + ingressLinkDirection: '西宁', + egressBytes: '337068337', + egressBitsRate: 0, + ingressBytes: '165230290', + ingressBitsRate: 10000000000000.00 + }, { + egressLinkDirection: '西安', + ingressLinkDirection: '西宁', + egressBytes: '1508798824', + egressBitsRate: 0, + ingressBytes: '133628244', + ingressBitsRate: 10000000000000.00 + }] + }, + msg: 'OK' + } + } + } +} + +export const linkInfoData = [{ originalLinkId: '256', linkId: 'Hundredgige1', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '257', linkId: 'Hundredgige1', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '512', linkId: 'Hundredgige2', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '513', linkId: 'Hundredgige2', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '768', linkId: 'Hundredgige3', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '769', linkId: 'Hundredgige3', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1024', linkId: 'Hundredgige4', direction: 'egress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1025', linkId: 'Hundredgige4', direction: 'ingress', nextHop: '西宁', bandwidth: 100000000000 }, { originalLinkId: '1280', linkId: 'Hundredgige5', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1281', linkId: 'Hundredgige5', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '1536', linkId: 'Hundredgige6', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1537', linkId: 'Hundredgige6', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1792', linkId: 'Hundredgige7', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '1793', linkId: 'Hundredgige7', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2048', linkId: 'Hundredgige8', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2049', linkId: 'Hundredgige8', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2304', linkId: 'Hundredgige9', direction: 'egress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2305', linkId: 'Hundredgige9', direction: 'ingress', nextHop: '太原', bandwidth: 100000000000 }, { originalLinkId: '2816', linkId: 'Hundredgige10', direction: 'egress', nextHop: '西安', bandwidth: 100000000000 }, { originalLinkId: '2817', linkId: 'Hundredgige10', direction: 'ingress', nextHop: '西安', bandwidth: 100000000000 }] diff --git a/test/views/charts2/charts/linkMonitor/MockData/LinkDirectionGrid.js b/test/views/charts2/charts/linkMonitor/MockData/LinkDirectionGrid.js new file mode 100644 index 00000000..875f7953 --- /dev/null +++ b/test/views/charts2/charts/linkMonitor/MockData/LinkDirectionGrid.js @@ -0,0 +1,26 @@ +export const mockData = { + common: { + data1: { + data: { status: 200, code: 200, queryKey: '610b4a743fa62b58cf5d70dab84b8b6f', success: true, message: null, statistics: { elapsed: 5, rows_read: 14027, bytes_read: 1416727, result_size: 25460, result_rows: 101 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_id', type: 'long', category: 'Dimension' }, { name: 'ingress_link_id', type: 'long', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkId: '0', ingressLinkId: '0', totalBytes: '434765502450', totalBitsRate: 966145560.96, egressBytes: '363544351329', egressBitsRate: 807876336.32, ingressBytes: '41292202303', ingressBitsRate: 91760449.6, establishLatencyMs: 90.0669, httpResponseLatency: 184.3881, sslConLatency: 0, tcpLostlenPercent: 0.0101, pktRetransPercent: 0.0226 }, { egressLinkId: '256', ingressLinkId: '257', totalBytes: '534995002', totalBitsRate: 1188877.76, egressBytes: '447206140', egressBitsRate: 993791.44, ingressBytes: '36435444', ingressBitsRate: 80967.68, establishLatencyMs: 75.5612, httpResponseLatency: 240.396, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.0111, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '257', totalBytes: '382047632', totalBitsRate: 848994.72, egressBytes: '352856271', egressBitsRate: 784125.04, ingressBytes: '18385230', ingressBitsRate: 40856.08, establishLatencyMs: 98.59, httpResponseLatency: 100.5516, sslConLatency: 0, tcpLostlenPercent: 0.0127, pktRetransPercent: 0.0137, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '257', totalBytes: '301459240', totalBitsRate: 669909.44, egressBytes: '245480754', egressBitsRate: 545512.8, ingressBytes: '34220091', ingressBitsRate: 76044.64, establishLatencyMs: 108.9343, httpResponseLatency: 160.9725, sslConLatency: 0, tcpLostlenPercent: 0.0022, pktRetransPercent: 0.0173, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '257', totalBytes: '428032397', totalBitsRate: 951183.12, egressBytes: '376399588', egressBitsRate: 836443.52, ingressBytes: '37870336', ingressBitsRate: 84156.32, establishLatencyMs: 88.6706, httpResponseLatency: 131.524, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0126, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '257', totalBytes: '593122664', totalBitsRate: 1318050.4, egressBytes: '555791176', egressBitsRate: 1235091.52, ingressBytes: '18981210', ingressBitsRate: 42180.48, establishLatencyMs: 101.3537, httpResponseLatency: 254.3362, sslConLatency: 0, tcpLostlenPercent: 0.0044, pktRetransPercent: 0.0135, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '257', totalBytes: '377183386', totalBitsRate: 838185.28, egressBytes: '327968719', egressBitsRate: 728819.36, ingressBytes: '24566904', ingressBitsRate: 54593.12, establishLatencyMs: 79.7386, httpResponseLatency: 95.8814, sslConLatency: 0, tcpLostlenPercent: 0.012, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '257', totalBytes: '301778612', totalBitsRate: 670619.12, egressBytes: '280107213', egressBitsRate: 622460.48, ingressBytes: '10638455', ingressBitsRate: 23641.04, establishLatencyMs: 91.1497, httpResponseLatency: 152.3226, sslConLatency: 0, tcpLostlenPercent: 0.0013, pktRetransPercent: 0.0181, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '257', totalBytes: '412927429', totalBitsRate: 917616.48, egressBytes: '367353610', egressBitsRate: 816341.36, ingressBytes: '29730481', ingressBitsRate: 66067.76, establishLatencyMs: 76.6838, httpResponseLatency: 94.3495, sslConLatency: 0, tcpLostlenPercent: 0.0053, pktRetransPercent: 0.0198, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '257', totalBytes: '257255077', totalBitsRate: 571677.92, egressBytes: '233167830', egressBitsRate: 518150.72, ingressBytes: '11320646', ingressBitsRate: 25156.96, establishLatencyMs: 78.8745, httpResponseLatency: 241.5664, sslConLatency: 0, tcpLostlenPercent: 0.0037, pktRetransPercent: 0.0113, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '257', totalBytes: '391380150', totalBitsRate: 869733.68, egressBytes: '358497570', egressBitsRate: 796661.28, ingressBytes: '20314164', ingressBitsRate: 45142.56, establishLatencyMs: 104.9262, httpResponseLatency: 137.3243, sslConLatency: 0, tcpLostlenPercent: 0.0097, pktRetransPercent: 0.0107, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '513', totalBytes: '517401256', totalBitsRate: 1149780.56, egressBytes: '468690408', egressBitsRate: 1041534.24, ingressBytes: '31206282', ingressBitsRate: 69347.28, establishLatencyMs: 95.7474, httpResponseLatency: 117.9447, sslConLatency: 0, tcpLostlenPercent: 0.0035, pktRetransPercent: 0.0108, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '513', totalBytes: '286609222', totalBitsRate: 636909.36, egressBytes: '253449086', egressBitsRate: 563220.16, ingressBytes: '6606987', ingressBitsRate: 14682.16, establishLatencyMs: 111.8724, httpResponseLatency: 151.1935, sslConLatency: 0, tcpLostlenPercent: 0.0064, pktRetransPercent: 0.0181, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '513', totalBytes: '427290221', totalBitsRate: 949533.84, egressBytes: '288163262', egressBitsRate: 640362.8, ingressBytes: '124378803', ingressBitsRate: 276397.36, establishLatencyMs: 84.4296, httpResponseLatency: 107.7755, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0136, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '513', totalBytes: '426123014', totalBitsRate: 946940, egressBytes: '378583688', egressBitsRate: 841297.12, ingressBytes: '34027267', ingressBitsRate: 75616.16, establishLatencyMs: 129.1622, httpResponseLatency: 135.7024, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.0293, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '513', totalBytes: '480617318', totalBitsRate: 1068038.48, egressBytes: '355592692', egressBitsRate: 790206, ingressBytes: '107451059', ingressBitsRate: 238780.16, establishLatencyMs: 81.3479, httpResponseLatency: 110.0703, sslConLatency: 0, tcpLostlenPercent: 0.001, pktRetransPercent: 0.0122, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '513', totalBytes: '378829607', totalBitsRate: 841843.6, egressBytes: '340354481', egressBitsRate: 756343.28, ingressBytes: '23667236', ingressBitsRate: 52593.84, establishLatencyMs: 72.8997, httpResponseLatency: 155.1332, sslConLatency: 0, tcpLostlenPercent: 0.0055, pktRetransPercent: 0.0192, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '513', totalBytes: '262609018', totalBitsRate: 583575.6, egressBytes: '214741913', egressBitsRate: 477204.24, ingressBytes: '36558657', ingressBitsRate: 81241.44, establishLatencyMs: 107.3446, httpResponseLatency: 128.785, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.021, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '513', totalBytes: '836277105', totalBitsRate: 1858393.6, egressBytes: '762938193', egressBitsRate: 1695418.24, ingressBytes: '51506746', ingressBitsRate: 114459.44, establishLatencyMs: 106.0485, httpResponseLatency: 101.236, sslConLatency: 0, tcpLostlenPercent: 0.005, pktRetransPercent: 0.0195, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '513', totalBytes: '463632587', totalBitsRate: 1030294.64, egressBytes: '399024852', egressBitsRate: 886721.92, ingressBytes: '54635227', ingressBitsRate: 121411.6, establishLatencyMs: 70.067, httpResponseLatency: 82.2698, sslConLatency: 0, tcpLostlenPercent: 0.0105, pktRetransPercent: 0.016, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '513', totalBytes: '375090527', totalBitsRate: 833534.48, egressBytes: '337080747', egressBitsRate: 749068.32, ingressBytes: '19278792', ingressBitsRate: 42841.76, establishLatencyMs: 78.1834, httpResponseLatency: 140.8154, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.013, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '769', totalBytes: '394768512', totalBitsRate: 877263.36, egressBytes: '359885579', egressBitsRate: 799745.76, ingressBytes: '20504968', ingressBitsRate: 45566.56, establishLatencyMs: 122.3644, httpResponseLatency: 206.5775, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0242, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '769', totalBytes: '364786783', totalBitsRate: 810637.28, egressBytes: '325142570', egressBitsRate: 722539.04, ingressBytes: '29059460', ingressBitsRate: 64576.56, establishLatencyMs: 72.3282, httpResponseLatency: 115.4195, sslConLatency: 0, tcpLostlenPercent: 0.0076, pktRetransPercent: 0.0103, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '769', totalBytes: '569429971', totalBitsRate: 1265399.92, egressBytes: '397984191', egressBitsRate: 884409.28, ingressBytes: '157860292', ingressBitsRate: 350800.64, establishLatencyMs: 71.1193, httpResponseLatency: 169.7063, sslConLatency: 0, tcpLostlenPercent: 0.0048, pktRetransPercent: 0.0225, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '769', totalBytes: '579478002', totalBitsRate: 1287728.88, egressBytes: '214792325', egressBitsRate: 477316.24, ingressBytes: '94103478', ingressBitsRate: 209118.8, establishLatencyMs: 91.5207, httpResponseLatency: 165.092, sslConLatency: 0, tcpLostlenPercent: 0.006, pktRetransPercent: 0.0105, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '769', totalBytes: '496892965', totalBitsRate: 1104206.56, egressBytes: '457600850', egressBitsRate: 1016890.8, ingressBytes: '24748500', ingressBitsRate: 54996.64, establishLatencyMs: 74.9958, httpResponseLatency: 584.5813, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.014, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '769', totalBytes: '623165485', totalBitsRate: 1384812.16, egressBytes: '526692235', egressBitsRate: 1170427.2, ingressBytes: '70998403', ingressBitsRate: 157774.24, establishLatencyMs: 80.2485, httpResponseLatency: 1100.2457, sslConLatency: 0, tcpLostlenPercent: 0.0057, pktRetransPercent: 0.0165, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '769', totalBytes: '376219195', totalBitsRate: 836042.64, egressBytes: '320229891', egressBitsRate: 711622, ingressBytes: '42082573', ingressBitsRate: 93516.8, establishLatencyMs: 89.2396, httpResponseLatency: 176.6074, sslConLatency: 0, tcpLostlenPercent: 0.0017, pktRetransPercent: 0.0129, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '769', totalBytes: '537023143', totalBitsRate: 1193384.8, egressBytes: '485285786', egressBitsRate: 1078412.88, ingressBytes: '33957352', ingressBitsRate: 75460.8, establishLatencyMs: 161.714, httpResponseLatency: 299.7771, sslConLatency: 0, tcpLostlenPercent: 0.009, pktRetransPercent: 0.0205, usageMore90: false, score: 4, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '769', totalBytes: '408668842', totalBitsRate: 908152.96, egressBytes: '364103470', egressBitsRate: 809118.8, ingressBytes: '27943863', ingressBitsRate: 62097.44, establishLatencyMs: 84.474, httpResponseLatency: 233.6678, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0191, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '769', totalBytes: '281357790', totalBitsRate: 625239.52, egressBytes: '246576400', egressBitsRate: 547947.52, ingressBytes: '22861043', ingressBitsRate: 50802.32, establishLatencyMs: 73.8313, httpResponseLatency: 101.7295, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0161, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1025', totalBytes: '298043232', totalBitsRate: 662318.32, egressBytes: '277239595', egressBitsRate: 616088, ingressBytes: '9157756', ingressBitsRate: 20350.56, establishLatencyMs: 76.5483, httpResponseLatency: 107.388, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.012, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1025', totalBytes: '437964797', totalBitsRate: 973255.12, egressBytes: '392328303', egressBitsRate: 871840.64, ingressBytes: '25486621', ingressBitsRate: 56636.96, establishLatencyMs: 73.2709, httpResponseLatency: 124.8192, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0243, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1025', totalBytes: '464792996', totalBitsRate: 1032873.36, egressBytes: '429292974', egressBitsRate: 953984.4, ingressBytes: '24968412', ingressBitsRate: 55485.36, establishLatencyMs: 73.624, httpResponseLatency: 143.2992, sslConLatency: 0, tcpLostlenPercent: 0.0028, pktRetransPercent: 0.0327, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1025', totalBytes: '309813302', totalBitsRate: 688474, egressBytes: '275012816', egressBitsRate: 611139.6, ingressBytes: '14787925', ingressBitsRate: 32862.08, establishLatencyMs: 69.9228, httpResponseLatency: 224.0711, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1025', totalBytes: '625851341', totalBitsRate: 1390780.72, egressBytes: '533489719', egressBitsRate: 1185532.72, ingressBytes: '77867845', ingressBitsRate: 173039.68, establishLatencyMs: 117.7443, httpResponseLatency: 234.0509, sslConLatency: 0, tcpLostlenPercent: 0.008, pktRetransPercent: 0.0153, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1025', totalBytes: '511034764', totalBitsRate: 1135632.8, egressBytes: '464176598', egressBitsRate: 1031503.52, ingressBytes: '31537941', ingressBitsRate: 70084.32, establishLatencyMs: 79.7973, httpResponseLatency: 108.2308, sslConLatency: 0, tcpLostlenPercent: 0.0097, pktRetransPercent: 0.0127, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1025', totalBytes: '510497154', totalBitsRate: 1134438.16, egressBytes: '477831366', egressBitsRate: 1061847.44, ingressBytes: '12705069', ingressBitsRate: 28233.52, establishLatencyMs: 90.772, httpResponseLatency: 138.007, sslConLatency: 0, tcpLostlenPercent: 0.0073, pktRetransPercent: 0.0289, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1025', totalBytes: '705186479', totalBitsRate: 1567081.04, egressBytes: '609149182', egressBitsRate: 1353664.88, ingressBytes: '61214875', ingressBitsRate: 136033.04, establishLatencyMs: 68.2169, httpResponseLatency: 159.491, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0182, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1025', totalBytes: '295233728', totalBitsRate: 656074.96, egressBytes: '211230066', egressBitsRate: 469400.16, ingressBytes: '25660250', ingressBitsRate: 57022.8, establishLatencyMs: 151.2545, httpResponseLatency: 228.9587, sslConLatency: 0, tcpLostlenPercent: 0.0031, pktRetransPercent: 0.0173, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1025', totalBytes: '304032381', totalBitsRate: 675627.52, egressBytes: '275012404', egressBitsRate: 611138.64, ingressBytes: '15041391', ingressBitsRate: 33425.28, establishLatencyMs: 87.4599, httpResponseLatency: 163.9644, sslConLatency: 0, tcpLostlenPercent: 0.0036, pktRetransPercent: 0.0142, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1281', totalBytes: '417367176', totalBitsRate: 927482.64, egressBytes: '367204335', egressBitsRate: 816009.6, ingressBytes: '34011146', ingressBitsRate: 75580.32, establishLatencyMs: 76.0439, httpResponseLatency: 133.8785, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0066, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1281', totalBytes: '383696444', totalBitsRate: 852658.8, egressBytes: '333439743', egressBitsRate: 740977.2, ingressBytes: '41316879', ingressBitsRate: 91815.28, establishLatencyMs: 74.6806, httpResponseLatency: 252.2572, sslConLatency: 0, tcpLostlenPercent: 0.0059, pktRetransPercent: 0.011, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1281', totalBytes: '259621097', totalBitsRate: 576935.76, egressBytes: '232771102', egressBitsRate: 517269.12, ingressBytes: '16746429', ingressBitsRate: 37214.32, establishLatencyMs: 82.902, httpResponseLatency: 107.0519, sslConLatency: 0, tcpLostlenPercent: 0.0038, pktRetransPercent: 0.0091, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1281', totalBytes: '393383026', totalBitsRate: 874184.48, egressBytes: '351396318', egressBitsRate: 780880.72, ingressBytes: '31340065', ingressBitsRate: 69644.56, establishLatencyMs: 64.413, httpResponseLatency: 85.3855, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.0114, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1281', totalBytes: '387129909', totalBitsRate: 860288.72, egressBytes: '302488556', egressBitsRate: 672196.8, ingressBytes: '72455586', ingressBitsRate: 161012.4, establishLatencyMs: 76.4561, httpResponseLatency: 192.1006, sslConLatency: 0, tcpLostlenPercent: 0.0052, pktRetransPercent: 0.0168, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1281', totalBytes: '425879588', totalBitsRate: 946399.12, egressBytes: '263435832', egressBitsRate: 585412.96, ingressBytes: '146140145', ingressBitsRate: 324755.84, establishLatencyMs: 144.9736, httpResponseLatency: 145.7219, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.019, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1281', totalBytes: '287483397', totalBitsRate: 638852, egressBytes: '257365122', egressBitsRate: 571922.48, ingressBytes: '20811515', ingressBitsRate: 46247.84, establishLatencyMs: 115.147, httpResponseLatency: 190.5346, sslConLatency: 0, tcpLostlenPercent: 0.0117, pktRetransPercent: 0.0218, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1281', totalBytes: '261944760', totalBitsRate: 582099.44, egressBytes: '224739060', egressBitsRate: 499420.16, ingressBytes: '22733255', ingressBitsRate: 50518.32, establishLatencyMs: 70.5032, httpResponseLatency: 88.7246, sslConLatency: 0, tcpLostlenPercent: 0.0026, pktRetransPercent: 0.0119, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1281', totalBytes: '384921036', totalBitsRate: 855380.08, egressBytes: '287289027', egressBitsRate: 638420.08, ingressBytes: '85851016', ingressBitsRate: 190780, establishLatencyMs: 77.1338, httpResponseLatency: 119.3661, sslConLatency: 0, tcpLostlenPercent: 0.0038, pktRetransPercent: 0.0157, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1281', totalBytes: '747219384', totalBitsRate: 1660487.52, egressBytes: '711493451', egressBitsRate: 1581096.56, ingressBytes: '19888607', ingressBitsRate: 44196.88, establishLatencyMs: 94.9185, httpResponseLatency: 174.1762, sslConLatency: 0, tcpLostlenPercent: 0.0033, pktRetransPercent: 0.0225, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1537', totalBytes: '314181123', totalBitsRate: 698180.24, egressBytes: '290716163', egressBitsRate: 646035.92, ingressBytes: '12528086', ingressBitsRate: 27840.16, establishLatencyMs: 64.4391, httpResponseLatency: 83.7041, sslConLatency: 0, tcpLostlenPercent: 0.0119, pktRetransPercent: 0.0142, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1537', totalBytes: '491448414', totalBitsRate: 1092107.6, egressBytes: '373279539', egressBitsRate: 829510.08, ingressBytes: '58058567', ingressBitsRate: 129019.04, establishLatencyMs: 118.2363, httpResponseLatency: 117.7304, sslConLatency: 0, tcpLostlenPercent: 0.0072, pktRetransPercent: 0.0116, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1537', totalBytes: '398005843', totalBitsRate: 884457.44, egressBytes: '267392714', egressBitsRate: 594206, ingressBytes: '101268761', ingressBitsRate: 225041.68, establishLatencyMs: 83.3056, httpResponseLatency: 147.8219, sslConLatency: 0, tcpLostlenPercent: 0.0032, pktRetransPercent: 0.0151, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1537', totalBytes: '344047174', totalBitsRate: 764549.28, egressBytes: '318533531', egressBitsRate: 707852.32, ingressBytes: '16906918', ingressBitsRate: 37570.96, establishLatencyMs: 121.1739, httpResponseLatency: 126.4862, sslConLatency: 0, tcpLostlenPercent: 0.0073, pktRetransPercent: 0.0186, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1537', totalBytes: '471587736', totalBitsRate: 1047972.72, egressBytes: '410880816', egressBitsRate: 913068.48, ingressBytes: '28281853', ingressBitsRate: 62848.56, establishLatencyMs: 70.9806, httpResponseLatency: 185.4856, sslConLatency: 0, tcpLostlenPercent: 0.0035, pktRetransPercent: 0.0125, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1537', totalBytes: '435477272', totalBitsRate: 967727.28, egressBytes: '354445790', egressBitsRate: 787657.28, ingressBytes: '57547816', ingressBitsRate: 127884, establishLatencyMs: 77.2037, httpResponseLatency: 120.3639, sslConLatency: 0, tcpLostlenPercent: 0.0058, pktRetransPercent: 0.0211, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1537', totalBytes: '421275299', totalBitsRate: 936167.36, egressBytes: '394027515', egressBitsRate: 875616.72, ingressBytes: '11330580', ingressBitsRate: 25179.04, establishLatencyMs: 87.0062, httpResponseLatency: 185.6153, sslConLatency: 0, tcpLostlenPercent: 0.0065, pktRetransPercent: 0.0141, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1537', totalBytes: '753697278', totalBitsRate: 1674882.88, egressBytes: '671374082', egressBitsRate: 1491942.4, ingressBytes: '62801227', ingressBitsRate: 139558.32, establishLatencyMs: 89.8664, httpResponseLatency: 117.8758, sslConLatency: 0, tcpLostlenPercent: 0.0032, pktRetransPercent: 0.0144, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1537', totalBytes: '460044320', totalBitsRate: 1022320.72, egressBytes: '389631794', egressBitsRate: 865848.4, ingressBytes: '51549641', ingressBitsRate: 114554.72, establishLatencyMs: 88.5266, httpResponseLatency: 126.5988, sslConLatency: 0, tcpLostlenPercent: 0.0012, pktRetransPercent: 0.0203, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1537', totalBytes: '350106467', totalBitsRate: 778014.4, egressBytes: '273295970', egressBitsRate: 607324.4, ingressBytes: '68060771', ingressBitsRate: 151246.16, establishLatencyMs: 73.7358, httpResponseLatency: 116.135, sslConLatency: 0, tcpLostlenPercent: 0.0045, pktRetransPercent: 0.0341, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '1793', totalBytes: '452268295', totalBitsRate: 1005040.64, egressBytes: '379485980', egressBitsRate: 843302.16, ingressBytes: '55074312', ingressBitsRate: 122387.36, establishLatencyMs: 78.7998, httpResponseLatency: 93.5587, sslConLatency: 0, tcpLostlenPercent: 0.003, pktRetransPercent: 0.021, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '1793', totalBytes: '700042073', totalBitsRate: 1555649.04, egressBytes: '673088759', egressBitsRate: 1495752.8, ingressBytes: '10410544', ingressBitsRate: 23134.56, establishLatencyMs: 85.8763, httpResponseLatency: 159.1093, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0157, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '1793', totalBytes: '271912982', totalBitsRate: 604251.04, egressBytes: '227792078', egressBitsRate: 506204.64, ingressBytes: '31821353', ingressBitsRate: 70714.08, establishLatencyMs: 73.8296, httpResponseLatency: 84.6696, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0084, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '1793', totalBytes: '502977380', totalBitsRate: 1117727.52, egressBytes: '324437335', egressBitsRate: 720971.84, ingressBytes: '167435918', ingressBitsRate: 372079.84, establishLatencyMs: 68.3019, httpResponseLatency: 120.6175, sslConLatency: 0, tcpLostlenPercent: 0.0083, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '1793', totalBytes: '473709275', totalBitsRate: 1052687.28, egressBytes: '408981966', egressBitsRate: 908848.8, ingressBytes: '50085555', ingressBitsRate: 111301.2, establishLatencyMs: 80.0523, httpResponseLatency: 138.3115, sslConLatency: 0, tcpLostlenPercent: 0.0029, pktRetransPercent: 0.0205, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '1793', totalBytes: '419864446', totalBitsRate: 933032.08, egressBytes: '365874375', egressBitsRate: 813054.16, ingressBytes: '37465965', ingressBitsRate: 83257.68, establishLatencyMs: 71.3478, httpResponseLatency: 77.8483, sslConLatency: 0, tcpLostlenPercent: 0.0013, pktRetransPercent: 0.0116, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '1793', totalBytes: '339160607', totalBitsRate: 753690.24, egressBytes: '301992422', egressBitsRate: 671094.24, ingressBytes: '23961274', ingressBitsRate: 53247.28, establishLatencyMs: 87.9845, httpResponseLatency: 135.7731, sslConLatency: 0, tcpLostlenPercent: 0.0036, pktRetransPercent: 0.013, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '1793', totalBytes: '616101903', totalBitsRate: 1369115.36, egressBytes: '522679143', egressBitsRate: 1161509.2, ingressBytes: '74691412', ingressBitsRate: 165980.88, establishLatencyMs: 146.3266, httpResponseLatency: 382.936, sslConLatency: 0, tcpLostlenPercent: 0.011, pktRetransPercent: 0.0218, usageMore90: false, score: 4, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '1793', totalBytes: '353905850', totalBitsRate: 786457.44, egressBytes: '303343002', egressBitsRate: 674095.6, ingressBytes: '35558267', ingressBitsRate: 79018.4, establishLatencyMs: 65.5383, httpResponseLatency: 182.1653, sslConLatency: 0, tcpLostlenPercent: 0.0025, pktRetransPercent: 0.0176, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '1793', totalBytes: '310621344', totalBitsRate: 690269.68, egressBytes: '270045410', egressBitsRate: 600100.88, ingressBytes: '25119191', ingressBitsRate: 55820.4, establishLatencyMs: 77.1911, httpResponseLatency: 100.1092, sslConLatency: 0, tcpLostlenPercent: 0.0034, pktRetransPercent: 0.0123, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2049', totalBytes: '388093577', totalBitsRate: 862430.16, egressBytes: '348827067', egressBitsRate: 775171.28, ingressBytes: '20464561', ingressBitsRate: 45476.8, establishLatencyMs: 77.5916, httpResponseLatency: 147.349, sslConLatency: 0, tcpLostlenPercent: 0.0111, pktRetransPercent: 0.011, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2049', totalBytes: '711311059', totalBitsRate: 1580691.28, egressBytes: '653169387', egressBitsRate: 1451487.52, ingressBytes: '23736470', ingressBitsRate: 52747.68, establishLatencyMs: 88.1133, httpResponseLatency: 442.7744, sslConLatency: 0, tcpLostlenPercent: 0.0037, pktRetransPercent: 0.0282, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2049', totalBytes: '544169365', totalBitsRate: 1209265.28, egressBytes: '480502970', egressBitsRate: 1067784.4, ingressBytes: '42064720', ingressBitsRate: 93477.12, establishLatencyMs: 86.859, httpResponseLatency: 96.2626, sslConLatency: 0, tcpLostlenPercent: 0.0041, pktRetransPercent: 0.0188, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2049', totalBytes: '511188364', totalBitsRate: 1135974.16, egressBytes: '439810340', egressBitsRate: 977356.32, ingressBytes: '60103971', ingressBitsRate: 133564.4, establishLatencyMs: 100.5463, httpResponseLatency: 183.6345, sslConLatency: 0, tcpLostlenPercent: 0.0094, pktRetransPercent: 0.0087, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2049', totalBytes: '666928930', totalBitsRate: 1482064.32, egressBytes: '626185114', egressBitsRate: 1391522.48, ingressBytes: '23926270', ingressBitsRate: 53169.52, establishLatencyMs: 119.9707, httpResponseLatency: 205.3038, sslConLatency: 0, tcpLostlenPercent: 0.0052, pktRetransPercent: 0.0272, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2049', totalBytes: '329173462', totalBitsRate: 731496.56, egressBytes: '255905021', egressBitsRate: 568677.84, ingressBytes: '57317526', ingressBitsRate: 127372.24, establishLatencyMs: 66.6872, httpResponseLatency: 286.5033, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0227, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2049', totalBytes: '308368988', totalBitsRate: 685264.4, egressBytes: '237340865', egressBitsRate: 527424.16, ingressBytes: '60510292', ingressBitsRate: 134467.28, establishLatencyMs: 72.5769, httpResponseLatency: 255.8301, sslConLatency: 0, tcpLostlenPercent: 0.0083, pktRetransPercent: 0.014, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2049', totalBytes: '321568878', totalBitsRate: 714597.52, egressBytes: '273035831', egressBitsRate: 606746.32, ingressBytes: '28038175', ingressBitsRate: 62307.04, establishLatencyMs: 66.0751, httpResponseLatency: 312.7351, sslConLatency: 0, tcpLostlenPercent: 0.0042, pktRetransPercent: 0.0156, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2049', totalBytes: '380061893', totalBitsRate: 844582, egressBytes: '315061822', egressBitsRate: 700137.36, ingressBytes: '52657744', ingressBitsRate: 117017.2, establishLatencyMs: 75.8593, httpResponseLatency: 132.0823, sslConLatency: 0, tcpLostlenPercent: 0.0047, pktRetransPercent: 0.0101, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2049', totalBytes: '433349564', totalBitsRate: 962999.04, egressBytes: '310273265', egressBitsRate: 689496.16, ingressBytes: '107419516', ingressBitsRate: 238710, establishLatencyMs: 79.7628, httpResponseLatency: 127.4814, sslConLatency: 0, tcpLostlenPercent: 0.0031, pktRetransPercent: 0.0137, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2305', totalBytes: '441740953', totalBitsRate: 981646.56, egressBytes: '344031397', egressBitsRate: 764514.24, ingressBytes: '89500725', ingressBitsRate: 198890.48, establishLatencyMs: 83.4651, httpResponseLatency: 184.2666, sslConLatency: 0, tcpLostlenPercent: 0.006, pktRetransPercent: 0.0132, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2305', totalBytes: '492163025', totalBitsRate: 1093695.6, egressBytes: '452782283', egressBitsRate: 1006182.88, ingressBytes: '24458788', ingressBitsRate: 54352.88, establishLatencyMs: 75.3955, httpResponseLatency: 120.5217, sslConLatency: 0, tcpLostlenPercent: 0.0062, pktRetransPercent: 0.0091, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2305', totalBytes: '412085678', totalBitsRate: 915745.92, egressBytes: '386711916', egressBitsRate: 859359.84, ingressBytes: '16901737', ingressBitsRate: 37559.44, establishLatencyMs: 89.1835, httpResponseLatency: 188.111, sslConLatency: 0, tcpLostlenPercent: 0.0147, pktRetransPercent: 0.0127, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2305', totalBytes: '493492790', totalBitsRate: 1096650.64, egressBytes: '452074866', egressBitsRate: 1004610.8, ingressBytes: '31521658', ingressBitsRate: 70048.16, establishLatencyMs: 82.6305, httpResponseLatency: 83.2076, sslConLatency: 0, tcpLostlenPercent: 0.0075, pktRetransPercent: 0.0123, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2305', totalBytes: '512733888', totalBitsRate: 1139408.64, egressBytes: '471200897', egressBitsRate: 1047113.12, ingressBytes: '28133375', ingressBitsRate: 62518.64, establishLatencyMs: 70.762, httpResponseLatency: 101.5263, sslConLatency: 0, tcpLostlenPercent: 0.0046, pktRetransPercent: 0.0214, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2305', totalBytes: '747694085', totalBitsRate: 1661542.4, egressBytes: '691510780', egressBitsRate: 1536690.64, ingressBytes: '25897699', ingressBitsRate: 57550.48, establishLatencyMs: 83.79, httpResponseLatency: 90.0623, sslConLatency: 0, tcpLostlenPercent: 0.0091, pktRetransPercent: 0.0242, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2305', totalBytes: '376892219', totalBitsRate: 837538.24, egressBytes: '336286147', egressBitsRate: 747302.56, ingressBytes: '25717104', ingressBitsRate: 57149.12, establishLatencyMs: 104.1186, httpResponseLatency: 134.8195, sslConLatency: 0, tcpLostlenPercent: 0.0051, pktRetransPercent: 0.018, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2305', totalBytes: '350689016', totalBitsRate: 779308.96, egressBytes: '324109790', egressBitsRate: 720244, ingressBytes: '14540455', ingressBitsRate: 32312.16, establishLatencyMs: 77.1332, httpResponseLatency: 497.0389, sslConLatency: 0, tcpLostlenPercent: 0.0063, pktRetransPercent: 0.0111, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2305', totalBytes: '365450281', totalBitsRate: 812111.76, egressBytes: '254568603', egressBitsRate: 565708, ingressBytes: '101035884', ingressBitsRate: 224524.16, establishLatencyMs: 96.1349, httpResponseLatency: 127.3401, sslConLatency: 0, tcpLostlenPercent: 0.0043, pktRetransPercent: 0.0178, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2305', totalBytes: '582756711', totalBitsRate: 1295014.88, egressBytes: '418332040', egressBitsRate: 929626.72, ingressBytes: '151309467', ingressBitsRate: 336243.28, establishLatencyMs: 92.9852, httpResponseLatency: 92.9446, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0201, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '256', ingressLinkId: '2817', totalBytes: '297004684', totalBitsRate: 660010.4, egressBytes: '237149513', egressBitsRate: 526998.88, ingressBytes: '52715080', ingressBitsRate: 117144.64, establishLatencyMs: 75.9443, httpResponseLatency: 100.3348, sslConLatency: 0, tcpLostlenPercent: 0.025, pktRetransPercent: 0.0149, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '512', ingressLinkId: '2817', totalBytes: '244871384', totalBitsRate: 544158.64, egressBytes: '182387351', egressBitsRate: 405305.2, ingressBytes: '52813649', ingressBitsRate: 117363.68, establishLatencyMs: 90.5676, httpResponseLatency: 87.4456, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0174, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '768', ingressLinkId: '2817', totalBytes: '529048700', totalBitsRate: 1175663.76, egressBytes: '385067667', egressBitsRate: 855705.92, ingressBytes: '80988511', ingressBitsRate: 179974.48, establishLatencyMs: 146.6385, httpResponseLatency: 139.8804, sslConLatency: 0, tcpLostlenPercent: 0.0019, pktRetransPercent: 0.0126, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1024', ingressLinkId: '2817', totalBytes: '361792234', totalBitsRate: 803982.72, egressBytes: '330465149', egressBitsRate: 734366.96, ingressBytes: '17966232', ingressBitsRate: 39924.96, establishLatencyMs: 122.4222, httpResponseLatency: 136.6981, sslConLatency: 0, tcpLostlenPercent: 0.0027, pktRetransPercent: 0.0072, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1280', ingressLinkId: '2817', totalBytes: '421038470', totalBitsRate: 935641.04, egressBytes: '324989968', egressBitsRate: 722199.92, ingressBytes: '84806395', ingressBitsRate: 188458.64, establishLatencyMs: 92.1301, httpResponseLatency: 114.9592, sslConLatency: 0, tcpLostlenPercent: 0.0039, pktRetransPercent: 0.0172, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '1536', ingressLinkId: '2817', totalBytes: '362980681', totalBitsRate: 806623.76, egressBytes: '311642328', egressBitsRate: 692538.48, ingressBytes: '38988231', ingressBitsRate: 86640.48, establishLatencyMs: 97.0047, httpResponseLatency: 155.4382, sslConLatency: 0, tcpLostlenPercent: 0.0069, pktRetransPercent: 0.0197, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '1792', ingressLinkId: '2817', totalBytes: '621237185', totalBitsRate: 1380527.04, egressBytes: '568359927', egressBitsRate: 1263022.08, ingressBytes: '41110785', ingressBitsRate: 91357.28, establishLatencyMs: 64.7608, httpResponseLatency: 119.7391, sslConLatency: 0, tcpLostlenPercent: 0.0044, pktRetransPercent: 0.0252, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2048', ingressLinkId: '2817', totalBytes: '260368736', totalBitsRate: 578597.2, egressBytes: '205185994', egressBitsRate: 455968.88, ingressBytes: '46626869', ingressBitsRate: 103615.28, establishLatencyMs: 99.6428, httpResponseLatency: 99.8736, sslConLatency: 0, tcpLostlenPercent: 0.003, pktRetransPercent: 0.0126, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkId: '2304', ingressLinkId: '2817', totalBytes: '318716905', totalBitsRate: 708259.76, egressBytes: '295082544', egressBitsRate: 655738.96, ingressBytes: '11859656', ingressBitsRate: 26354.8, establishLatencyMs: 70.4628, httpResponseLatency: 110.3507, sslConLatency: 0, tcpLostlenPercent: 0.0107, pktRetransPercent: 0.0272, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkId: '2816', ingressLinkId: '2817', totalBytes: '314302936', totalBitsRate: 698450.96, egressBytes: '266218480', egressBitsRate: 591596.64, ingressBytes: '37481378', ingressBitsRate: 83291.92, establishLatencyMs: 73.5813, httpResponseLatency: 479.376, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0163, usageMore90: false, score: 6, scoreLow3: false }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20common_egress_link_id%20AS%20egress_link_id%2Ccommon_ingress_link_id%20AS%20ingress_link_id%2CSUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2CSUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2CSUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675387137%20AND%20stat_time%20%3C%201675390737%20GROUP%20BY%20egress_link_id%2Cingress_link_id&format=json&option=real-time', msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, queryKey: '3b148e81873eb2621bbd77fffbd0a008', success: true, message: null, statistics: { elapsed: 4, rows_read: 14027, bytes_read: 1611437, result_size: 2393, result_rows: 9 }, job: null, formatType: 'json', meta: [{ name: 'egress_link_direction', type: 'string', category: 'Dimension' }, { name: 'ingress_link_direction', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'egress_bytes', type: 'long', category: 'Metric' }, { name: 'ingress_bytes', type: 'long', category: 'Metric' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'table', result: [{ egressLinkDirection: '太原', ingressLinkDirection: '太原', totalBytes: '16535105415', totalBitsRate: 36744678.72, egressBytes: '14184016558', egressBitsRate: 31520036.8, ingressBytes: '1688597600', ingressBitsRate: 3752439.12, establishLatencyMs: 88.0242, httpResponseLatency: 203.7159, sslConLatency: 0, tcpLostlenPercent: 0.0054, pktRetransPercent: 0.0166, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '太原', totalBytes: '7944206231', totalBitsRate: 17653791.6, egressBytes: '6777682761', egressBitsRate: 15061517.28, ingressBytes: '885954326', ingressBitsRate: 1968787.36, establishLatencyMs: 83.1217, httpResponseLatency: 157.7391, sslConLatency: 0, tcpLostlenPercent: 0.0046, pktRetransPercent: 0.0173, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '太原', totalBytes: '2857306724', totalBitsRate: 6349570.48, egressBytes: '2128232085', egressBitsRate: 4729404.64, ingressBytes: '404099210', ingressBitsRate: 897998.24, establishLatencyMs: 98.8892, httpResponseLatency: 136.1593, sslConLatency: 0, tcpLostlenPercent: 0.0068, pktRetransPercent: 0.0147, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '太原', ingressLinkDirection: '西安', totalBytes: '6373421289', totalBitsRate: 14163158.4, egressBytes: '5353700094', egressBitsRate: 11897111.36, ingressBytes: '734848747', ingressBitsRate: 1632997.2, establishLatencyMs: 92.7275, httpResponseLatency: 137.1145, sslConLatency: 0, tcpLostlenPercent: 0.0057, pktRetransPercent: 0.0162, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '西安', totalBytes: '4103560375', totalBitsRate: 9119023.04, egressBytes: '3571039189', egressBitsRate: 7935642.64, ingressBytes: '377089010', ingressBitsRate: 837975.6, establishLatencyMs: 85.6573, httpResponseLatency: 201.6159, sslConLatency: 0, tcpLostlenPercent: 0.0069, pktRetransPercent: 0.0144, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '西安', totalBytes: '1183207657', totalBitsRate: 2629350.32, egressBytes: '1058261055', egressBitsRate: 2351691.2, ingressBytes: '87176633', ingressBitsRate: 193725.84, establishLatencyMs: 91.4916, httpResponseLatency: 117.5389, sslConLatency: 0, tcpLostlenPercent: 0.0024, pktRetransPercent: 0.0104, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '太原', ingressLinkDirection: '西宁', totalBytes: '2924709918', totalBitsRate: 6499355.36, egressBytes: '2584008489', egressBitsRate: 5742241.12, ingressBytes: '181573168', ingressBitsRate: 403495.92, establishLatencyMs: 89.4893, httpResponseLatency: 151.1124, sslConLatency: 0, tcpLostlenPercent: 0.0053, pktRetransPercent: 0.0224, usageMore90: false, score: 5, scoreLow3: false }, { egressLinkDirection: '西安', ingressLinkDirection: '西宁', totalBytes: '1227926954', totalBitsRate: 2728726.56, egressBytes: '1085741718', egressBitsRate: 2412759.36, ingressBytes: '102066992', ingressBitsRate: 226815.52, establishLatencyMs: 93.9175, httpResponseLatency: 168.1369, sslConLatency: 0, tcpLostlenPercent: 0.0048, pktRetransPercent: 0.0139, usageMore90: false, score: 6, scoreLow3: false }, { egressLinkDirection: '西宁', ingressLinkDirection: '西宁', totalBytes: '309813302', totalBitsRate: 688474, egressBytes: '275012816', egressBitsRate: 611139.6, ingressBytes: '14787925', ingressBitsRate: 32862.08, establishLatencyMs: 69.9228, httpResponseLatency: 224.0711, sslConLatency: 0, tcpLostlenPercent: 0.0071, pktRetransPercent: 0.0086, usageMore90: false, score: 6, scoreLow3: false }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20egress_link_direction%20AS%20egress_link_direction%2Cingress_link_direction%20AS%20ingress_link_direction%2CSUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2CSUM%28traffic_outbound_byte%29%20AS%20egress_bytes%2CSUM%28traffic_inbound_byte%29%20AS%20ingress_bytes%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675387137%20AND%20stat_time%20%3C%201675390737%20AND%20%28notEmpty%28egress_link_direction%29%20AND%20notEmpty%28ingress_link_direction%29%29%20GROUP%20BY%20egress_link_direction%2Cingress_link_direction&format=json&option=real-time', msg: 'OK' } + } + }, + empty: { + data1: { + data: { status: 200, code: 200, data: { resultType: 'table', result: [] }, msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, data: { resultType: 'table', result: [] }, msg: 'OK' } + } + }, + boundary: { + data1: { + data: {} + }, + data2: { + data: {} + } + } +} diff --git a/test/views/charts2/charts/linkMonitor/MockData/LinkTrafficLine.js b/test/views/charts2/charts/linkMonitor/MockData/LinkTrafficLine.js new file mode 100644 index 00000000..f24dc1ba --- /dev/null +++ b/test/views/charts2/charts/linkMonitor/MockData/LinkTrafficLine.js @@ -0,0 +1,389 @@ +export const mockData = { + common: { + data1: { + data: { + status: 200, + code: 200, + queryKey: '87649896d5b7547a0128eb47c2d40853', + success: true, + message: null, + statistics: { + elapsed: 4, + rows_read: 1033063, + bytes_read: 8618120, + result_size: 13807, + result_rows: 101 + }, + job: null, + formatType: 'json', + meta: [ + { + name: 'stat_time', + type: 'long', + category: 'Dimension' + }, { + name: 'egress_bytes', + type: 'long', + category: 'Metric' + }, { + name: 'ingress_bytes', + type: 'long', + category: 'Metric' + }, { + name: 'egress_pkt', + type: 'long', + category: 'Metric' + }, { + name: 'ingress_pkt', + type: 'long', + category: 'Metric' + }, { + name: 'bytes_total', + type: 'long', + category: 'Metric' + }, { + name: 'packets_total', + type: 'long', + category: 'Metric' + }], + data: { + resultType: 'object', + result: [ + { + type: 'bytes', + ingressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '4253144'], ['1675388196', '470709.36'], ['1675388232', '0'], ['1675388268', '148192.24'], ['1675388304', '0'], ['1675388340', '577072.48'], ['1675388376', '160431.12'], ['1675388412', '0'], ['1675388448', '1639602.64'], ['1675388484', '0'], ['1675388520', '2074017.36'], ['1675388556', '798924.64'], ['1675388592', '0'], ['1675388628', '884606'], ['1675388664', '0'], ['1675388700', '1373220.48'], ['1675388736', '21305.36'], ['1675388772', '0'], ['1675388808', '1398940.24'], ['1675388844', '0'], ['1675388880', '4474519.52'], ['1675388916', '383473.12'], ['1675388952', '0'], ['1675388988', '582813.36'], ['1675389024', '0'], ['1675389060', '3545078.24'], ['1675389096', '766672'], ['1675389132', '0'], ['1675389168', '2877694'], ['1675389204', '0'], ['1675389240', '2195562.48'], ['1675389276', '2268681.12'], ['1675389312', '0'], ['1675389348', '1438248.88'], ['1675389384', '0'], ['1675389420', '88914.24'], ['1675389456', '363776.24'], ['1675389492', '0'], ['1675389528', '103931.36'], ['1675389564', '0'], ['1675389600', '930861.12'], ['1675389636', '473982.48'], ['1675389672', '0'], ['1675389708', '210004.88'], ['1675389744', '0'], ['1675389780', '764367.52'], ['1675389816', '236745.52'], ['1675389852', '0'], ['1675389888', '199598'], ['1675389924', '0'], ['1675389960', '385563.36'], ['1675389996', '353556.64'], ['1675390032', '0'], ['1675390068', '380246.48'], ['1675390104', '0'], ['1675390140', '456284'], ['1675390176', '2560143.76'], ['1675390212', '0'], ['1675390248', '3806779.36'], ['1675390284', '0'], ['1675390320', '382829.52'], ['1675390356', '225432.48'], ['1675390392', '0'], ['1675390428', '1024283.52'], ['1675390464', '0'], ['1675390500', '494194.88'], ['1675390536', '718094.88'], ['1675390572', '0'], ['1675390608', '373146.64'], ['1675390644', '0'], ['1675390680', '101628.64'], ['1675390716', '977218'], ['1675390752', '0'], ['1675390788', '7263452.48'], ['1675390824', '0'], ['1675390860', '2613115.76'], ['1675390896', '2987862'], ['1675390932', '0'], ['1675390968', '1376989.36'], ['1675391004', '0'], ['1675391040', '2245663.12'], ['1675391076', '602240.64'], ['1675391112', '0'], ['1675391148', '437569.12'], ['1675391184', '0'], ['1675391220', '115680.88'], ['1675391256', '42582.24'], ['1675391292', '0'], ['1675391328', '42002'], ['1675391364', '0'], ['1675391400', '720716'], ['1675391436', '5382.88'], ['1675391472', '0'], ['1675391508', '169074.64'], ['1675391544', '0'], ['1675391580', '1214277.76'], ['1675391616', '1523679.76'], ['1675391652', '0'], ['1675391688', '6382256'], ['1675391724', '0']], + analysis: { + avg: '756870.4', + max: '7263452.48', + min: '0', + p95: '3545078.24' + } + }, + totalBitsRate: { + values: [['1675388124', '0'], ['1675388160', '17581092.48'], ['1675388196', '9918148.64'], ['1675388232', '0'], ['1675388268', '13213336.64'], ['1675388304', '0'], ['1675388340', '41123655.76'], ['1675388376', '14569548.64'], ['1675388412', '0'], ['1675388448', '39157977.52'], ['1675388484', '0'], ['1675388520', '15875735.76'], ['1675388556', '10885102.24'], ['1675388592', '0'], ['1675388628', '8943487.12'], ['1675388664', '0'], ['1675388700', '18985121.76'], ['1675388736', '7659627.36'], ['1675388772', '0'], ['1675388808', '9288266.88'], ['1675388844', '0'], ['1675388880', '15999674.24'], ['1675388916', '16802700.48'], ['1675388952', '0'], ['1675388988', '17836499.52'], ['1675389024', '0'], ['1675389060', '22368492'], ['1675389096', '12570182.88'], ['1675389132', '0'], ['1675389168', '19977345.36'], ['1675389204', '0'], ['1675389240', '7747381.76'], ['1675389276', '29050230.64'], ['1675389312', '0'], ['1675389348', '5834855.36'], ['1675389384', '0'], ['1675389420', '22798420.24'], ['1675389456', '9061622.64'], ['1675389492', '0'], ['1675389528', '2391149.76'], ['1675389564', '0'], ['1675389600', '10752915.76'], ['1675389636', '72671214'], ['1675389672', '0'], ['1675389708', '23536865.76'], ['1675389744', '0'], ['1675389780', '6080925.76'], ['1675389816', '27096624.64'], ['1675389852', '0'], ['1675389888', '47355125.36'], ['1675389924', '0'], ['1675389960', '7525635.52'], ['1675389996', '12312211.76'], ['1675390032', '0'], ['1675390068', '9587065.36'], ['1675390104', '0'], ['1675390140', '7763073.36'], ['1675390176', '12692375.36'], ['1675390212', '0'], ['1675390248', '13007133.76'], ['1675390284', '0'], ['1675390320', '3241344.88'], ['1675390356', '13811041.12'], ['1675390392', '0'], ['1675390428', '38206391.36'], ['1675390464', '0'], ['1675390500', '5489114'], ['1675390536', '17855136.88'], ['1675390572', '0'], ['1675390608', '18409624.48'], ['1675390644', '0'], ['1675390680', '15132633.12'], ['1675390716', '19189583.52'], ['1675390752', '0'], ['1675390788', '16803327.36'], ['1675390824', '0'], ['1675390860', '19972804.88'], ['1675390896', '22541580.48'], ['1675390932', '0'], ['1675390968', '21671364.88'], ['1675391004', '0'], ['1675391040', '25293518.24'], ['1675391076', '34056467.52'], ['1675391112', '0'], ['1675391148', '13181229.76'], ['1675391184', '0'], ['1675391220', '12337126.88'], ['1675391256', '5989032.64'], ['1675391292', '0'], ['1675391328', '7393281.36'], ['1675391364', '0'], ['1675391400', '29175007.36'], ['1675391436', '17228925.76'], ['1675391472', '0'], ['1675391508', '7375468'], ['1675391544', '0'], ['1675391580', '16675685.76'], ['1675391616', '22908316'], ['1675391652', '0'], ['1675391688', '13867890.88'], ['1675391724', '0']], + analysis: { + avg: '10578267.2', + max: '72671214', + min: '0', + p95: '34056467.52' + } + }, + egressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '13327948.48'], ['1675388196', '9447439.36'], ['1675388232', '0'], ['1675388268', '13065144.48'], ['1675388304', '0'], ['1675388340', '40546583.36'], ['1675388376', '14409117.52'], ['1675388412', '0'], ['1675388448', '37518374.88'], ['1675388484', '0'], ['1675388520', '13801718.48'], ['1675388556', '10086177.52'], ['1675388592', '0'], ['1675388628', '8058881.12'], ['1675388664', '0'], ['1675388700', '17611901.36'], ['1675388736', '7638322'], ['1675388772', '0'], ['1675388808', '7889326.64'], ['1675388844', '0'], ['1675388880', '11525154.64'], ['1675388916', '16419227.36'], ['1675388952', '0'], ['1675388988', '17253686.24'], ['1675389024', '0'], ['1675389060', '18823413.76'], ['1675389096', '11803510.88'], ['1675389132', '0'], ['1675389168', '17099651.36'], ['1675389204', '0'], ['1675389240', '5551819.36'], ['1675389276', '26781549.52'], ['1675389312', '0'], ['1675389348', '4396606.48'], ['1675389384', '0'], ['1675389420', '22709506'], ['1675389456', '8697846.48'], ['1675389492', '0'], ['1675389528', '2287218.48'], ['1675389564', '0'], ['1675389600', '9822054.64'], ['1675389636', '72197231.52'], ['1675389672', '0'], ['1675389708', '23326860.88'], ['1675389744', '0'], ['1675389780', '5316558.24'], ['1675389816', '26859879.12'], ['1675389852', '0'], ['1675389888', '47155527.36'], ['1675389924', '0'], ['1675389960', '7140072.24'], ['1675389996', '11958655.12'], ['1675390032', '0'], ['1675390068', '9206818.88'], ['1675390104', '0'], ['1675390140', '7306789.36'], ['1675390176', '10132231.52'], ['1675390212', '0'], ['1675390248', '9200354.48'], ['1675390284', '0'], ['1675390320', '2858515.36'], ['1675390356', '13585608.64'], ['1675390392', '0'], ['1675390428', '37182107.76'], ['1675390464', '0'], ['1675390500', '4994919.12'], ['1675390536', '17137042'], ['1675390572', '0'], ['1675390608', '18036477.76'], ['1675390644', '0'], ['1675390680', '15031004.48'], ['1675390716', '18212365.52'], ['1675390752', '0'], ['1675390788', '9539874.88'], ['1675390824', '0'], ['1675390860', '17359689.12'], ['1675390896', '19553718.48'], ['1675390932', '0'], ['1675390968', '20294375.52'], ['1675391004', '0'], ['1675391040', '23047855.12'], ['1675391076', '33454226.88'], ['1675391112', '0'], ['1675391148', '12743660.64'], ['1675391184', '0'], ['1675391220', '12221446'], ['1675391256', '5946450.48'], ['1675391292', '0'], ['1675391328', '7351279.36'], ['1675391364', '0'], ['1675391400', '28454291.36'], ['1675391436', '17223542.88'], ['1675391472', '0'], ['1675391508', '7206393.36'], ['1675391544', '0'], ['1675391580', '15461408'], ['1675391616', '21384636.24'], ['1675391652', '0'], ['1675391688', '7485634.88'], ['1675391724', '0']], + analysis: { + avg: '9821396.8', + max: '72197231.52', + min: '0', + p95: '33454226.88' + } + } + }, + { + type: 'packets', + ingressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '382.61'], ['1675388196', '44.67'], ['1675388232', '0.00'], ['1675388268', '23.64'], ['1675388304', '0.00'], ['1675388340', '53.75'], ['1675388376', '34.89'], ['1675388412', '0.00'], ['1675388448', '155.25'], ['1675388484', '0.00'], ['1675388520', '186.17'], ['1675388556', '77.81'], ['1675388592', '0.00'], ['1675388628', '84.75'], ['1675388664', '0.00'], ['1675388700', '140.39'], ['1675388736', '9.69'], ['1675388772', '0.00'], ['1675388808', '126.83'], ['1675388844', '0.00'], ['1675388880', '398.50'], ['1675388916', '94.92'], ['1675388952', '0.00'], ['1675388988', '57.33'], ['1675389024', '0.00'], ['1675389060', '326.89'], ['1675389096', '69.06'], ['1675389132', '0.00'], ['1675389168', '253.61'], ['1675389204', '0.00'], ['1675389240', '201.11'], ['1675389276', '203.14'], ['1675389312', '0.00'], ['1675389348', '126.33'], ['1675389384', '0.00'], ['1675389420', '13.86'], ['1675389456', '34.81'], ['1675389492', '0.00'], ['1675389528', '12.47'], ['1675389564', '0.00'], ['1675389600', '107.08'], ['1675389636', '54.39'], ['1675389672', '0.00'], ['1675389708', '24.42'], ['1675389744', '0.00'], ['1675389780', '67.47'], ['1675389816', '35.94'], ['1675389852', '0.00'], ['1675389888', '22.44'], ['1675389924', '0.00'], ['1675389960', '45.64'], ['1675389996', '32.81'], ['1675390032', '0.00'], ['1675390068', '37.72'], ['1675390104', '0.00'], ['1675390140', '43.69'], ['1675390176', '228.97'], ['1675390212', '0.00'], ['1675390248', '392.69'], ['1675390284', '0.00'], ['1675390320', '55.33'], ['1675390356', '47.44'], ['1675390392', '0.00'], ['1675390428', '106.06'], ['1675390464', '0.00'], ['1675390500', '47.58'], ['1675390536', '64.56'], ['1675390572', '0.00'], ['1675390608', '35.94'], ['1675390644', '0.00'], ['1675390680', '17.31'], ['1675390716', '95.47'], ['1675390752', '0.00'], ['1675390788', '638.00'], ['1675390824', '0.00'], ['1675390860', '239.11'], ['1675390896', '290.89'], ['1675390932', '0.00'], ['1675390968', '129.31'], ['1675391004', '0.00'], ['1675391040', '208.83'], ['1675391076', '65.31'], ['1675391112', '0.00'], ['1675391148', '42.17'], ['1675391184', '0.00'], ['1675391220', '17.94'], ['1675391256', '14.33'], ['1675391292', '0.00'], ['1675391328', '6.31'], ['1675391364', '0.00'], ['1675391400', '62.83'], ['1675391436', '2.53'], ['1675391472', '0.00'], ['1675391508', '37.06'], ['1675391544', '0.00'], ['1675391580', '110.00'], ['1675391616', '148.53'], ['1675391652', '0.00'], ['1675391688', '583.64'], ['1675391724', '0.00']], + analysis: { + avg: '72.72', + max: '638.00', + min: '0.00', + p95: '326.89' + } + }, + egressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '1835.75'], ['1675388196', '865.61'], ['1675388232', '0.00'], ['1675388268', '1202.69'], ['1675388304', '0.00'], ['1675388340', '3864.69'], ['1675388376', '1428.56'], ['1675388412', '0.00'], ['1675388448', '3433.61'], ['1675388484', '0.00'], ['1675388520', '1228.06'], ['1675388556', '896.42'], ['1675388592', '0.00'], ['1675388628', '740.83'], ['1675388664', '0.00'], ['1675388700', '1576.75'], ['1675388736', '721.92'], ['1675388772', '0.00'], ['1675388808', '700.17'], ['1675388844', '0.00'], ['1675388880', '1058.28'], ['1675388916', '1487.19'], ['1675388952', '0.00'], ['1675388988', '1536.19'], ['1675389024', '0.00'], ['1675389060', '1671.50'], ['1675389096', '1083.58'], ['1675389132', '0.00'], ['1675389168', '1561.64'], ['1675389204', '0.00'], ['1675389240', '549.50'], ['1675389276', '2454.47'], ['1675389312', '0.00'], ['1675389348', '404.53'], ['1675389384', '0.00'], ['1675389420', '2011.22'], ['1675389456', '810.75'], ['1675389492', '0.00'], ['1675389528', '228.50'], ['1675389564', '0.00'], ['1675389600', '910.58'], ['1675389636', '6422.11'], ['1675389672', '0.00'], ['1675389708', '2123.44'], ['1675389744', '0.00'], ['1675389780', '481.97'], ['1675389816', '2462.33'], ['1675389852', '0.00'], ['1675389888', '4183.94'], ['1675389924', '0.00'], ['1675389960', '677.81'], ['1675389996', '1103.31'], ['1675390032', '0.00'], ['1675390068', '851.08'], ['1675390104', '0.00'], ['1675390140', '659.33'], ['1675390176', '936.56'], ['1675390212', '0.00'], ['1675390248', '835.78'], ['1675390284', '0.00'], ['1675390320', '296.28'], ['1675390356', '1205.39'], ['1675390392', '0.00'], ['1675390428', '3288.14'], ['1675390464', '0.00'], ['1675390500', '471.14'], ['1675390536', '1577.00'], ['1675390572', '0.00'], ['1675390608', '1645.36'], ['1675390644', '0.00'], ['1675390680', '1390.75'], ['1675390716', '1612.75'], ['1675390752', '0.00'], ['1675390788', '880.92'], ['1675390824', '0.00'], ['1675390860', '1573.47'], ['1675390896', '1809.56'], ['1675390932', '0.00'], ['1675390968', '1847.53'], ['1675391004', '0.00'], ['1675391040', '2160.33'], ['1675391076', '3126.36'], ['1675391112', '0.00'], ['1675391148', '1166.14'], ['1675391184', '0.00'], ['1675391220', '1166.81'], ['1675391256', '538.75'], ['1675391292', '0.00'], ['1675391328', '681.00'], ['1675391364', '0.00'], ['1675391400', '2580.83'], ['1675391436', '1693.17'], ['1675391472', '0.00'], ['1675391508', '695.89'], ['1675391544', '0.00'], ['1675391580', '1395.19'], ['1675391616', '1920.39'], ['1675391652', '0.00'], ['1675391688', '679.08'], ['1675391724', '0.00']], + analysis: { + avg: '904.03', + max: '6422.11', + min: '0.00', + p95: '3126.36' + } + }, + totalPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '2218.36'], ['1675388196', '910.28'], ['1675388232', '0.00'], ['1675388268', '1226.33'], ['1675388304', '0.00'], ['1675388340', '3918.44'], ['1675388376', '1463.44'], ['1675388412', '0.00'], ['1675388448', '3588.86'], ['1675388484', '0.00'], ['1675388520', '1414.22'], ['1675388556', '974.22'], ['1675388592', '0.00'], ['1675388628', '825.58'], ['1675388664', '0.00'], ['1675388700', '1717.14'], ['1675388736', '731.61'], ['1675388772', '0.00'], ['1675388808', '827.00'], ['1675388844', '0.00'], ['1675388880', '1456.78'], ['1675388916', '1582.11'], ['1675388952', '0.00'], ['1675388988', '1593.53'], ['1675389024', '0.00'], ['1675389060', '1998.39'], ['1675389096', '1152.64'], ['1675389132', '0.00'], ['1675389168', '1815.25'], ['1675389204', '0.00'], ['1675389240', '750.61'], ['1675389276', '2657.61'], ['1675389312', '0.00'], ['1675389348', '530.86'], ['1675389384', '0.00'], ['1675389420', '2025.08'], ['1675389456', '845.56'], ['1675389492', '0.00'], ['1675389528', '240.97'], ['1675389564', '0.00'], ['1675389600', '1017.67'], ['1675389636', '6476.50'], ['1675389672', '0.00'], ['1675389708', '2147.86'], ['1675389744', '0.00'], ['1675389780', '549.44'], ['1675389816', '2498.28'], ['1675389852', '0.00'], ['1675389888', '4206.39'], ['1675389924', '0.00'], ['1675389960', '723.44'], ['1675389996', '1136.11'], ['1675390032', '0.00'], ['1675390068', '888.81'], ['1675390104', '0.00'], ['1675390140', '703.03'], ['1675390176', '1165.53'], ['1675390212', '0.00'], ['1675390248', '1228.47'], ['1675390284', '0.00'], ['1675390320', '351.61'], ['1675390356', '1252.83'], ['1675390392', '0.00'], ['1675390428', '3394.19'], ['1675390464', '0.00'], ['1675390500', '518.72'], ['1675390536', '1641.56'], ['1675390572', '0.00'], ['1675390608', '1681.31'], ['1675390644', '0.00'], ['1675390680', '1408.06'], ['1675390716', '1708.22'], ['1675390752', '0.00'], ['1675390788', '1518.92'], ['1675390824', '0.00'], ['1675390860', '1812.58'], ['1675390896', '2100.44'], ['1675390932', '0.00'], ['1675390968', '1976.83'], ['1675391004', '0.00'], ['1675391040', '2369.17'], ['1675391076', '3191.67'], ['1675391112', '0.00'], ['1675391148', '1208.31'], ['1675391184', '0.00'], ['1675391220', '1184.75'], ['1675391256', '553.08'], ['1675391292', '0.00'], ['1675391328', '687.31'], ['1675391364', '0.00'], ['1675391400', '2643.67'], ['1675391436', '1695.69'], ['1675391472', '0.00'], ['1675391508', '732.94'], ['1675391544', '0.00'], ['1675391580', '1505.19'], ['1675391616', '2068.92'], ['1675391652', '0.00'], ['1675391688', '1262.72'], ['1675391724', '0.00']], + analysis: { + avg: '976.75', + max: '6476.50', + min: '0.00', + p95: '3191.67' + } + } + }] + }, + originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT36S%27%2C%27zero%27%29%20AS%20stat_time%2CSUM%28IF%28%20common_egress_link_id%20%3D%202048%2C%20traffic_outbound_byte%2C%200%29%29%20AS%20egress_bytes%2CSUM%28IF%28%20common_ingress_link_id%20%3D%202049%2C%20traffic_inbound_byte%2C%200%29%29%20AS%20ingress_bytes%2CSUM%28IF%28%20common_egress_link_id%20%3D%202048%2C%20traffic_outbound_pkt%2C%200%29%29%20AS%20egress_pkt%2CSUM%28IF%28%20common_ingress_link_id%20%3D%202049%2C%20traffic_inbound_pkt%2C%200%29%29%20AS%20ingress_pkt%2C%28egress_bytes%20%2B%20ingress_bytes%29%20AS%20bytes_total%2C%28egress_pkt%20%2B%20ingress_pkt%29%20AS%20packets_total%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675388125%20AND%20stat_time%20%3C%201675391725%20%20GROUP%20BY%20stat_time%20ORDER%20BY%20bytes_total%20DESC%20&format=json&option=real-time', + msg: 'OK' + } + }, + data2: { + data: { + status: 200, + code: 200, + queryKey: 'a54916e7f363fd065dfaa44ad23d31b5', + success: true, + message: null, + statistics: { + elapsed: 4, + rows_read: 10518, + bytes_read: 1062318, + result_size: 186, + result_rows: 1 + }, + job: null, + formatType: 'json', + meta: [ + { + name: 'total_bytes', + type: 'long', + category: 'Metric' + }, { + name: 'total_packets', + type: 'long', + category: 'Metric' + }, { + name: 'establish_latency_ms', + type: 'double', + category: 'Metric' + }, { + name: 'http_response_latency', + type: 'double', + category: 'Metric' + }, { + name: 'ssl_con_latency', + type: 'double', + category: 'Metric' + }, { + name: 'tcp_lostlen_percent', + type: 'double', + category: 'Metric' + }, { + name: 'pkt_retrans_percent', + type: 'double', + category: 'Metric' + }], + data: { + resultType: 'table', + result: [{ + totalBytes: '4426409159', + totalBitsRate: 9836464.8, + totalPackets: '3324302', + establishLatencyMs: 92.9489, + httpResponseLatency: 154.2884, + sslConLatency: 0, + tcpLostlenPercent: 0.0069, + pktRetransPercent: 0.0165 + }] + }, + originalUrl: 'http://192.168.44.55:9999?query=SELECT%20SUM%28IF%28%20common_egress_link_id%20%3D%201792%2C%20traffic_outbound_byte%2C%200%29%20%2B%20IF%28%20common_ingress_link_id%20%3D%201793%2C%20traffic_inbound_byte%2C%200%29%29%20as%20total_bytes%2CSUM%28IF%28%20common_egress_link_id%20%3D%201792%2C%20traffic_outbound_pkt%2C%200%29%20%2B%20IF%28%20common_ingress_link_id%20%3D%201793%2C%20traffic_inbound_pkt%2C%200%29%29%20AS%20total_packets%2CROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%2CROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%2CROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%2CROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%2CROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_link%20WHERE%20stat_time%20%3E%3D%201675403646%20AND%20stat_time%20%3C%201675407246%20&format=json&option=real-time', + msg: 'OK' + } + } + }, + empty: { + data1: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + } + }, + boundary: { + large: { + data1: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + type: 'bytes', + ingressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '4253144'], ['1675388196', '470709.36'], ['1675388232', '0'], ['1675388268', '148192.24'], ['1675388304', '0'], ['1675388340', '577072.48'], ['1675388376', '160431.12'], ['1675388412', '0'], ['1675388448', '1639602.64'], ['1675388484', '0'], ['1675388520', '2074017.36'], ['1675388556', '798924.64'], ['1675388592', '0'], ['1675388628', '884606'], ['1675388664', '0'], ['1675388700', '1373220.48'], ['1675388736', '21305.36'], ['1675388772', '0'], ['1675388808', '1398940.24'], ['1675388844', '0'], ['1675388880', '4474519.52'], ['1675388916', '383473.12'], ['1675388952', '0'], ['1675388988', '582813.36'], ['1675389024', '0'], ['1675389060', '3545078.24'], ['1675389096', '766672'], ['1675389132', '0'], ['1675389168', '2877694'], ['1675389204', '0'], ['1675389240', '2195562.48'], ['1675389276', '2268681.12'], ['1675389312', '0'], ['1675389348', '1438248.88'], ['1675389384', '0'], ['1675389420', '88914.24'], ['1675389456', '363776.24'], ['1675389492', '0'], ['1675389528', '103931.36'], ['1675389564', '0'], ['1675389600', '930861.12'], ['1675389636', '473982.48'], ['1675389672', '0'], ['1675389708', '210004.88'], ['1675389744', '0'], ['1675389780', '764367.52'], ['1675389816', '236745.52'], ['1675389852', '0'], ['1675389888', '199598'], ['1675389924', '0'], ['1675389960', '385563.36'], ['1675389996', '353556.64'], ['1675390032', '0'], ['1675390068', '380246.48'], ['1675390104', '0'], ['1675390140', '456284'], ['1675390176', '2560143.76'], ['1675390212', '0'], ['1675390248', '3806779.36'], ['1675390284', '0'], ['1675390320', '382829.52'], ['1675390356', '225432.48'], ['1675390392', '0'], ['1675390428', '1024283.52'], ['1675390464', '0'], ['1675390500', '494194.88'], ['1675390536', '718094.88'], ['1675390572', '0'], ['1675390608', '373146.64'], ['1675390644', '0'], ['1675390680', '101628.64'], ['1675390716', '977218'], ['1675390752', '0'], ['1675390788', '7263452.48'], ['1675390824', '0'], ['1675390860', '2613115.76'], ['1675390896', '2987862'], ['1675390932', '0'], ['1675390968', '1376989.36'], ['1675391004', '0'], ['1675391040', '2245663.12'], ['1675391076', '602240.64'], ['1675391112', '0'], ['1675391148', '437569.12'], ['1675391184', '0'], ['1675391220', '115680.88'], ['1675391256', '42582.24'], ['1675391292', '0'], ['1675391328', '42002'], ['1675391364', '0'], ['1675391400', '720716'], ['1675391436', '5382.88'], ['1675391472', '0'], ['1675391508', '169074.64'], ['1675391544', '0'], ['1675391580', '1214277.76'], ['1675391616', '1523679.76'], ['1675391652', '0'], ['1675391688', '6382256'], ['1675391724', '0']], + analysis: { + avg: '75687040000000', + max: '7263452.48', + min: '0', + p95: '3545078.24' + } + }, + totalBitsRate: { + values: [['1675388124', '0'], ['1675388160', '17581092.48'], ['1675388196', '9918148.64'], ['1675388232', '0'], ['1675388268', '13213336.64'], ['1675388304', '0'], ['1675388340', '41123655.76'], ['1675388376', '14569548.64'], ['1675388412', '0'], ['1675388448', '39157977.52'], ['1675388484', '0'], ['1675388520', '15875735.76'], ['1675388556', '10885102.24'], ['1675388592', '0'], ['1675388628', '8943487.12'], ['1675388664', '0'], ['1675388700', '18985121.76'], ['1675388736', '7659627.36'], ['1675388772', '0'], ['1675388808', '9288266.88'], ['1675388844', '0'], ['1675388880', '15999674.24'], ['1675388916', '16802700.48'], ['1675388952', '0'], ['1675388988', '17836499.52'], ['1675389024', '0'], ['1675389060', '22368492'], ['1675389096', '12570182.88'], ['1675389132', '0'], ['1675389168', '19977345.36'], ['1675389204', '0'], ['1675389240', '7747381.76'], ['1675389276', '29050230.64'], ['1675389312', '0'], ['1675389348', '5834855.36'], ['1675389384', '0'], ['1675389420', '22798420.24'], ['1675389456', '9061622.64'], ['1675389492', '0'], ['1675389528', '2391149.76'], ['1675389564', '0'], ['1675389600', '10752915.76'], ['1675389636', '72671214'], ['1675389672', '0'], ['1675389708', '23536865.76'], ['1675389744', '0'], ['1675389780', '6080925.76'], ['1675389816', '27096624.64'], ['1675389852', '0'], ['1675389888', '47355125.36'], ['1675389924', '0'], ['1675389960', '7525635.52'], ['1675389996', '12312211.76'], ['1675390032', '0'], ['1675390068', '9587065.36'], ['1675390104', '0'], ['1675390140', '7763073.36'], ['1675390176', '12692375.36'], ['1675390212', '0'], ['1675390248', '13007133.76'], ['1675390284', '0'], ['1675390320', '3241344.88'], ['1675390356', '13811041.12'], ['1675390392', '0'], ['1675390428', '38206391.36'], ['1675390464', '0'], ['1675390500', '5489114'], ['1675390536', '17855136.88'], ['1675390572', '0'], ['1675390608', '18409624.48'], ['1675390644', '0'], ['1675390680', '15132633.12'], ['1675390716', '19189583.52'], ['1675390752', '0'], ['1675390788', '16803327.36'], ['1675390824', '0'], ['1675390860', '19972804.88'], ['1675390896', '22541580.48'], ['1675390932', '0'], ['1675390968', '21671364.88'], ['1675391004', '0'], ['1675391040', '25293518.24'], ['1675391076', '34056467.52'], ['1675391112', '0'], ['1675391148', '13181229.76'], ['1675391184', '0'], ['1675391220', '12337126.88'], ['1675391256', '5989032.64'], ['1675391292', '0'], ['1675391328', '7393281.36'], ['1675391364', '0'], ['1675391400', '29175007.36'], ['1675391436', '17228925.76'], ['1675391472', '0'], ['1675391508', '7375468'], ['1675391544', '0'], ['1675391580', '16675685.76'], ['1675391616', '22908316'], ['1675391652', '0'], ['1675391688', '13867890.88'], ['1675391724', '0']], + analysis: { + avg: '10578267.2', + max: '72671214', + min: '0', + p95: '34056467.52' + } + }, + egressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '13327948.48'], ['1675388196', '9447439.36'], ['1675388232', '0'], ['1675388268', '13065144.48'], ['1675388304', '0'], ['1675388340', '40546583.36'], ['1675388376', '14409117.52'], ['1675388412', '0'], ['1675388448', '37518374.88'], ['1675388484', '0'], ['1675388520', '13801718.48'], ['1675388556', '10086177.52'], ['1675388592', '0'], ['1675388628', '8058881.12'], ['1675388664', '0'], ['1675388700', '17611901.36'], ['1675388736', '7638322'], ['1675388772', '0'], ['1675388808', '7889326.64'], ['1675388844', '0'], ['1675388880', '11525154.64'], ['1675388916', '16419227.36'], ['1675388952', '0'], ['1675388988', '17253686.24'], ['1675389024', '0'], ['1675389060', '18823413.76'], ['1675389096', '11803510.88'], ['1675389132', '0'], ['1675389168', '17099651.36'], ['1675389204', '0'], ['1675389240', '5551819.36'], ['1675389276', '26781549.52'], ['1675389312', '0'], ['1675389348', '4396606.48'], ['1675389384', '0'], ['1675389420', '22709506'], ['1675389456', '8697846.48'], ['1675389492', '0'], ['1675389528', '2287218.48'], ['1675389564', '0'], ['1675389600', '9822054.64'], ['1675389636', '72197231.52'], ['1675389672', '0'], ['1675389708', '23326860.88'], ['1675389744', '0'], ['1675389780', '5316558.24'], ['1675389816', '26859879.12'], ['1675389852', '0'], ['1675389888', '47155527.36'], ['1675389924', '0'], ['1675389960', '7140072.24'], ['1675389996', '11958655.12'], ['1675390032', '0'], ['1675390068', '9206818.88'], ['1675390104', '0'], ['1675390140', '7306789.36'], ['1675390176', '10132231.52'], ['1675390212', '0'], ['1675390248', '9200354.48'], ['1675390284', '0'], ['1675390320', '2858515.36'], ['1675390356', '13585608.64'], ['1675390392', '0'], ['1675390428', '37182107.76'], ['1675390464', '0'], ['1675390500', '4994919.12'], ['1675390536', '17137042'], ['1675390572', '0'], ['1675390608', '18036477.76'], ['1675390644', '0'], ['1675390680', '15031004.48'], ['1675390716', '18212365.52'], ['1675390752', '0'], ['1675390788', '9539874.88'], ['1675390824', '0'], ['1675390860', '17359689.12'], ['1675390896', '19553718.48'], ['1675390932', '0'], ['1675390968', '20294375.52'], ['1675391004', '0'], ['1675391040', '23047855.12'], ['1675391076', '33454226.88'], ['1675391112', '0'], ['1675391148', '12743660.64'], ['1675391184', '0'], ['1675391220', '12221446'], ['1675391256', '5946450.48'], ['1675391292', '0'], ['1675391328', '7351279.36'], ['1675391364', '0'], ['1675391400', '28454291.36'], ['1675391436', '17223542.88'], ['1675391472', '0'], ['1675391508', '7206393.36'], ['1675391544', '0'], ['1675391580', '15461408'], ['1675391616', '21384636.24'], ['1675391652', '0'], ['1675391688', '7485634.88'], ['1675391724', '0']], + analysis: { + avg: '9821396.8', + max: '72197231.52', + min: '0', + p95: '33454226.88' + } + } + }, + { + type: 'packets', + ingressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '382.61'], ['1675388196', '44.67'], ['1675388232', '0.00'], ['1675388268', '23.64'], ['1675388304', '0.00'], ['1675388340', '53.75'], ['1675388376', '34.89'], ['1675388412', '0.00'], ['1675388448', '155.25'], ['1675388484', '0.00'], ['1675388520', '186.17'], ['1675388556', '77.81'], ['1675388592', '0.00'], ['1675388628', '84.75'], ['1675388664', '0.00'], ['1675388700', '140.39'], ['1675388736', '9.69'], ['1675388772', '0.00'], ['1675388808', '126.83'], ['1675388844', '0.00'], ['1675388880', '398.50'], ['1675388916', '94.92'], ['1675388952', '0.00'], ['1675388988', '57.33'], ['1675389024', '0.00'], ['1675389060', '326.89'], ['1675389096', '69.06'], ['1675389132', '0.00'], ['1675389168', '253.61'], ['1675389204', '0.00'], ['1675389240', '201.11'], ['1675389276', '203.14'], ['1675389312', '0.00'], ['1675389348', '126.33'], ['1675389384', '0.00'], ['1675389420', '13.86'], ['1675389456', '34.81'], ['1675389492', '0.00'], ['1675389528', '12.47'], ['1675389564', '0.00'], ['1675389600', '107.08'], ['1675389636', '54.39'], ['1675389672', '0.00'], ['1675389708', '24.42'], ['1675389744', '0.00'], ['1675389780', '67.47'], ['1675389816', '35.94'], ['1675389852', '0.00'], ['1675389888', '22.44'], ['1675389924', '0.00'], ['1675389960', '45.64'], ['1675389996', '32.81'], ['1675390032', '0.00'], ['1675390068', '37.72'], ['1675390104', '0.00'], ['1675390140', '43.69'], ['1675390176', '228.97'], ['1675390212', '0.00'], ['1675390248', '392.69'], ['1675390284', '0.00'], ['1675390320', '55.33'], ['1675390356', '47.44'], ['1675390392', '0.00'], ['1675390428', '106.06'], ['1675390464', '0.00'], ['1675390500', '47.58'], ['1675390536', '64.56'], ['1675390572', '0.00'], ['1675390608', '35.94'], ['1675390644', '0.00'], ['1675390680', '17.31'], ['1675390716', '95.47'], ['1675390752', '0.00'], ['1675390788', '638.00'], ['1675390824', '0.00'], ['1675390860', '239.11'], ['1675390896', '290.89'], ['1675390932', '0.00'], ['1675390968', '129.31'], ['1675391004', '0.00'], ['1675391040', '208.83'], ['1675391076', '65.31'], ['1675391112', '0.00'], ['1675391148', '42.17'], ['1675391184', '0.00'], ['1675391220', '17.94'], ['1675391256', '14.33'], ['1675391292', '0.00'], ['1675391328', '6.31'], ['1675391364', '0.00'], ['1675391400', '62.83'], ['1675391436', '2.53'], ['1675391472', '0.00'], ['1675391508', '37.06'], ['1675391544', '0.00'], ['1675391580', '110.00'], ['1675391616', '148.53'], ['1675391652', '0.00'], ['1675391688', '583.64'], ['1675391724', '0.00']], + analysis: { + avg: '727200000', + max: '638.00', + min: '0.00', + p95: '326.89' + } + }, + egressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '1835.75'], ['1675388196', '865.61'], ['1675388232', '0.00'], ['1675388268', '1202.69'], ['1675388304', '0.00'], ['1675388340', '3864.69'], ['1675388376', '1428.56'], ['1675388412', '0.00'], ['1675388448', '3433.61'], ['1675388484', '0.00'], ['1675388520', '1228.06'], ['1675388556', '896.42'], ['1675388592', '0.00'], ['1675388628', '740.83'], ['1675388664', '0.00'], ['1675388700', '1576.75'], ['1675388736', '721.92'], ['1675388772', '0.00'], ['1675388808', '700.17'], ['1675388844', '0.00'], ['1675388880', '1058.28'], ['1675388916', '1487.19'], ['1675388952', '0.00'], ['1675388988', '1536.19'], ['1675389024', '0.00'], ['1675389060', '1671.50'], ['1675389096', '1083.58'], ['1675389132', '0.00'], ['1675389168', '1561.64'], ['1675389204', '0.00'], ['1675389240', '549.50'], ['1675389276', '2454.47'], ['1675389312', '0.00'], ['1675389348', '404.53'], ['1675389384', '0.00'], ['1675389420', '2011.22'], ['1675389456', '810.75'], ['1675389492', '0.00'], ['1675389528', '228.50'], ['1675389564', '0.00'], ['1675389600', '910.58'], ['1675389636', '6422.11'], ['1675389672', '0.00'], ['1675389708', '2123.44'], ['1675389744', '0.00'], ['1675389780', '481.97'], ['1675389816', '2462.33'], ['1675389852', '0.00'], ['1675389888', '4183.94'], ['1675389924', '0.00'], ['1675389960', '677.81'], ['1675389996', '1103.31'], ['1675390032', '0.00'], ['1675390068', '851.08'], ['1675390104', '0.00'], ['1675390140', '659.33'], ['1675390176', '936.56'], ['1675390212', '0.00'], ['1675390248', '835.78'], ['1675390284', '0.00'], ['1675390320', '296.28'], ['1675390356', '1205.39'], ['1675390392', '0.00'], ['1675390428', '3288.14'], ['1675390464', '0.00'], ['1675390500', '471.14'], ['1675390536', '1577.00'], ['1675390572', '0.00'], ['1675390608', '1645.36'], ['1675390644', '0.00'], ['1675390680', '1390.75'], ['1675390716', '1612.75'], ['1675390752', '0.00'], ['1675390788', '880.92'], ['1675390824', '0.00'], ['1675390860', '1573.47'], ['1675390896', '1809.56'], ['1675390932', '0.00'], ['1675390968', '1847.53'], ['1675391004', '0.00'], ['1675391040', '2160.33'], ['1675391076', '3126.36'], ['1675391112', '0.00'], ['1675391148', '1166.14'], ['1675391184', '0.00'], ['1675391220', '1166.81'], ['1675391256', '538.75'], ['1675391292', '0.00'], ['1675391328', '681.00'], ['1675391364', '0.00'], ['1675391400', '2580.83'], ['1675391436', '1693.17'], ['1675391472', '0.00'], ['1675391508', '695.89'], ['1675391544', '0.00'], ['1675391580', '1395.19'], ['1675391616', '1920.39'], ['1675391652', '0.00'], ['1675391688', '679.08'], ['1675391724', '0.00']], + analysis: { + avg: '904030000000', + max: '6422.11', + min: '0.00', + p95: '3126.36' + } + }, + totalPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '2218.36'], ['1675388196', '910.28'], ['1675388232', '0.00'], ['1675388268', '1226.33'], ['1675388304', '0.00'], ['1675388340', '3918.44'], ['1675388376', '1463.44'], ['1675388412', '0.00'], ['1675388448', '3588.86'], ['1675388484', '0.00'], ['1675388520', '1414.22'], ['1675388556', '974.22'], ['1675388592', '0.00'], ['1675388628', '825.58'], ['1675388664', '0.00'], ['1675388700', '1717.14'], ['1675388736', '731.61'], ['1675388772', '0.00'], ['1675388808', '827.00'], ['1675388844', '0.00'], ['1675388880', '1456.78'], ['1675388916', '1582.11'], ['1675388952', '0.00'], ['1675388988', '1593.53'], ['1675389024', '0.00'], ['1675389060', '1998.39'], ['1675389096', '1152.64'], ['1675389132', '0.00'], ['1675389168', '1815.25'], ['1675389204', '0.00'], ['1675389240', '750.61'], ['1675389276', '2657.61'], ['1675389312', '0.00'], ['1675389348', '530.86'], ['1675389384', '0.00'], ['1675389420', '2025.08'], ['1675389456', '845.56'], ['1675389492', '0.00'], ['1675389528', '240.97'], ['1675389564', '0.00'], ['1675389600', '1017.67'], ['1675389636', '6476.50'], ['1675389672', '0.00'], ['1675389708', '2147.86'], ['1675389744', '0.00'], ['1675389780', '549.44'], ['1675389816', '2498.28'], ['1675389852', '0.00'], ['1675389888', '4206.39'], ['1675389924', '0.00'], ['1675389960', '723.44'], ['1675389996', '1136.11'], ['1675390032', '0.00'], ['1675390068', '888.81'], ['1675390104', '0.00'], ['1675390140', '703.03'], ['1675390176', '1165.53'], ['1675390212', '0.00'], ['1675390248', '1228.47'], ['1675390284', '0.00'], ['1675390320', '351.61'], ['1675390356', '1252.83'], ['1675390392', '0.00'], ['1675390428', '3394.19'], ['1675390464', '0.00'], ['1675390500', '518.72'], ['1675390536', '1641.56'], ['1675390572', '0.00'], ['1675390608', '1681.31'], ['1675390644', '0.00'], ['1675390680', '1408.06'], ['1675390716', '1708.22'], ['1675390752', '0.00'], ['1675390788', '1518.92'], ['1675390824', '0.00'], ['1675390860', '1812.58'], ['1675390896', '2100.44'], ['1675390932', '0.00'], ['1675390968', '1976.83'], ['1675391004', '0.00'], ['1675391040', '2369.17'], ['1675391076', '3191.67'], ['1675391112', '0.00'], ['1675391148', '1208.31'], ['1675391184', '0.00'], ['1675391220', '1184.75'], ['1675391256', '553.08'], ['1675391292', '0.00'], ['1675391328', '687.31'], ['1675391364', '0.00'], ['1675391400', '2643.67'], ['1675391436', '1695.69'], ['1675391472', '0.00'], ['1675391508', '732.94'], ['1675391544', '0.00'], ['1675391580', '1505.19'], ['1675391616', '2068.92'], ['1675391652', '0.00'], ['1675391688', '1262.72'], ['1675391724', '0.00']], + analysis: { + avg: '976750000000', + max: '6476.50', + min: '0.00', + p95: '3191.67' + } + } + }] + } + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [{ + totalBytes: '4426409159', + totalBitsRate: 983646480, + totalPackets: '3324302', + establishLatencyMs: 9294.89, + httpResponseLatency: 154.2884, + sslConLatency: 90, + tcpLostlenPercent: 0.69, + pktRetransPercent: 0.165 + }] + } + } + } + }, + zero: { + data1: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + type: 'bytes', + ingressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '4253144'], ['1675388196', '470709.36'], ['1675388232', '0'], ['1675388268', '148192.24'], ['1675388304', '0'], ['1675388340', '577072.48'], ['1675388376', '160431.12'], ['1675388412', '0'], ['1675388448', '1639602.64'], ['1675388484', '0'], ['1675388520', '2074017.36'], ['1675388556', '798924.64'], ['1675388592', '0'], ['1675388628', '884606'], ['1675388664', '0'], ['1675388700', '1373220.48'], ['1675388736', '21305.36'], ['1675388772', '0'], ['1675388808', '1398940.24'], ['1675388844', '0'], ['1675388880', '4474519.52'], ['1675388916', '383473.12'], ['1675388952', '0'], ['1675388988', '582813.36'], ['1675389024', '0'], ['1675389060', '3545078.24'], ['1675389096', '766672'], ['1675389132', '0'], ['1675389168', '2877694'], ['1675389204', '0'], ['1675389240', '2195562.48'], ['1675389276', '2268681.12'], ['1675389312', '0'], ['1675389348', '1438248.88'], ['1675389384', '0'], ['1675389420', '88914.24'], ['1675389456', '363776.24'], ['1675389492', '0'], ['1675389528', '103931.36'], ['1675389564', '0'], ['1675389600', '930861.12'], ['1675389636', '473982.48'], ['1675389672', '0'], ['1675389708', '210004.88'], ['1675389744', '0'], ['1675389780', '764367.52'], ['1675389816', '236745.52'], ['1675389852', '0'], ['1675389888', '199598'], ['1675389924', '0'], ['1675389960', '385563.36'], ['1675389996', '353556.64'], ['1675390032', '0'], ['1675390068', '380246.48'], ['1675390104', '0'], ['1675390140', '456284'], ['1675390176', '2560143.76'], ['1675390212', '0'], ['1675390248', '3806779.36'], ['1675390284', '0'], ['1675390320', '382829.52'], ['1675390356', '225432.48'], ['1675390392', '0'], ['1675390428', '1024283.52'], ['1675390464', '0'], ['1675390500', '494194.88'], ['1675390536', '718094.88'], ['1675390572', '0'], ['1675390608', '373146.64'], ['1675390644', '0'], ['1675390680', '101628.64'], ['1675390716', '977218'], ['1675390752', '0'], ['1675390788', '7263452.48'], ['1675390824', '0'], ['1675390860', '2613115.76'], ['1675390896', '2987862'], ['1675390932', '0'], ['1675390968', '1376989.36'], ['1675391004', '0'], ['1675391040', '2245663.12'], ['1675391076', '602240.64'], ['1675391112', '0'], ['1675391148', '437569.12'], ['1675391184', '0'], ['1675391220', '115680.88'], ['1675391256', '42582.24'], ['1675391292', '0'], ['1675391328', '42002'], ['1675391364', '0'], ['1675391400', '720716'], ['1675391436', '5382.88'], ['1675391472', '0'], ['1675391508', '169074.64'], ['1675391544', '0'], ['1675391580', '1214277.76'], ['1675391616', '1523679.76'], ['1675391652', '0'], ['1675391688', '6382256'], ['1675391724', '0']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0', + p95: '3545078.24' + } + }, + totalBitsRate: { + values: [['1675388124', '0'], ['1675388160', '17581092.48'], ['1675388196', '9918148.64'], ['1675388232', '0'], ['1675388268', '13213336.64'], ['1675388304', '0'], ['1675388340', '41123655.76'], ['1675388376', '14569548.64'], ['1675388412', '0'], ['1675388448', '39157977.52'], ['1675388484', '0'], ['1675388520', '15875735.76'], ['1675388556', '10885102.24'], ['1675388592', '0'], ['1675388628', '8943487.12'], ['1675388664', '0'], ['1675388700', '18985121.76'], ['1675388736', '7659627.36'], ['1675388772', '0'], ['1675388808', '9288266.88'], ['1675388844', '0'], ['1675388880', '15999674.24'], ['1675388916', '16802700.48'], ['1675388952', '0'], ['1675388988', '17836499.52'], ['1675389024', '0'], ['1675389060', '22368492'], ['1675389096', '12570182.88'], ['1675389132', '0'], ['1675389168', '19977345.36'], ['1675389204', '0'], ['1675389240', '7747381.76'], ['1675389276', '29050230.64'], ['1675389312', '0'], ['1675389348', '5834855.36'], ['1675389384', '0'], ['1675389420', '22798420.24'], ['1675389456', '9061622.64'], ['1675389492', '0'], ['1675389528', '2391149.76'], ['1675389564', '0'], ['1675389600', '10752915.76'], ['1675389636', '72671214'], ['1675389672', '0'], ['1675389708', '23536865.76'], ['1675389744', '0'], ['1675389780', '6080925.76'], ['1675389816', '27096624.64'], ['1675389852', '0'], ['1675389888', '47355125.36'], ['1675389924', '0'], ['1675389960', '7525635.52'], ['1675389996', '12312211.76'], ['1675390032', '0'], ['1675390068', '9587065.36'], ['1675390104', '0'], ['1675390140', '7763073.36'], ['1675390176', '12692375.36'], ['1675390212', '0'], ['1675390248', '13007133.76'], ['1675390284', '0'], ['1675390320', '3241344.88'], ['1675390356', '13811041.12'], ['1675390392', '0'], ['1675390428', '38206391.36'], ['1675390464', '0'], ['1675390500', '5489114'], ['1675390536', '17855136.88'], ['1675390572', '0'], ['1675390608', '18409624.48'], ['1675390644', '0'], ['1675390680', '15132633.12'], ['1675390716', '19189583.52'], ['1675390752', '0'], ['1675390788', '16803327.36'], ['1675390824', '0'], ['1675390860', '19972804.88'], ['1675390896', '22541580.48'], ['1675390932', '0'], ['1675390968', '21671364.88'], ['1675391004', '0'], ['1675391040', '25293518.24'], ['1675391076', '34056467.52'], ['1675391112', '0'], ['1675391148', '13181229.76'], ['1675391184', '0'], ['1675391220', '12337126.88'], ['1675391256', '5989032.64'], ['1675391292', '0'], ['1675391328', '7393281.36'], ['1675391364', '0'], ['1675391400', '29175007.36'], ['1675391436', '17228925.76'], ['1675391472', '0'], ['1675391508', '7375468'], ['1675391544', '0'], ['1675391580', '16675685.76'], ['1675391616', '22908316'], ['1675391652', '0'], ['1675391688', '13867890.88'], ['1675391724', '0']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0', + p95: '34056467.52' + } + }, + egressBitsRate: { + values: [['1675388124', '0'], ['1675388160', '13327948.48'], ['1675388196', '9447439.36'], ['1675388232', '0'], ['1675388268', '13065144.48'], ['1675388304', '0'], ['1675388340', '40546583.36'], ['1675388376', '14409117.52'], ['1675388412', '0'], ['1675388448', '37518374.88'], ['1675388484', '0'], ['1675388520', '13801718.48'], ['1675388556', '10086177.52'], ['1675388592', '0'], ['1675388628', '8058881.12'], ['1675388664', '0'], ['1675388700', '17611901.36'], ['1675388736', '7638322'], ['1675388772', '0'], ['1675388808', '7889326.64'], ['1675388844', '0'], ['1675388880', '11525154.64'], ['1675388916', '16419227.36'], ['1675388952', '0'], ['1675388988', '17253686.24'], ['1675389024', '0'], ['1675389060', '18823413.76'], ['1675389096', '11803510.88'], ['1675389132', '0'], ['1675389168', '17099651.36'], ['1675389204', '0'], ['1675389240', '5551819.36'], ['1675389276', '26781549.52'], ['1675389312', '0'], ['1675389348', '4396606.48'], ['1675389384', '0'], ['1675389420', '22709506'], ['1675389456', '8697846.48'], ['1675389492', '0'], ['1675389528', '2287218.48'], ['1675389564', '0'], ['1675389600', '9822054.64'], ['1675389636', '72197231.52'], ['1675389672', '0'], ['1675389708', '23326860.88'], ['1675389744', '0'], ['1675389780', '5316558.24'], ['1675389816', '26859879.12'], ['1675389852', '0'], ['1675389888', '47155527.36'], ['1675389924', '0'], ['1675389960', '7140072.24'], ['1675389996', '11958655.12'], ['1675390032', '0'], ['1675390068', '9206818.88'], ['1675390104', '0'], ['1675390140', '7306789.36'], ['1675390176', '10132231.52'], ['1675390212', '0'], ['1675390248', '9200354.48'], ['1675390284', '0'], ['1675390320', '2858515.36'], ['1675390356', '13585608.64'], ['1675390392', '0'], ['1675390428', '37182107.76'], ['1675390464', '0'], ['1675390500', '4994919.12'], ['1675390536', '17137042'], ['1675390572', '0'], ['1675390608', '18036477.76'], ['1675390644', '0'], ['1675390680', '15031004.48'], ['1675390716', '18212365.52'], ['1675390752', '0'], ['1675390788', '9539874.88'], ['1675390824', '0'], ['1675390860', '17359689.12'], ['1675390896', '19553718.48'], ['1675390932', '0'], ['1675390968', '20294375.52'], ['1675391004', '0'], ['1675391040', '23047855.12'], ['1675391076', '33454226.88'], ['1675391112', '0'], ['1675391148', '12743660.64'], ['1675391184', '0'], ['1675391220', '12221446'], ['1675391256', '5946450.48'], ['1675391292', '0'], ['1675391328', '7351279.36'], ['1675391364', '0'], ['1675391400', '28454291.36'], ['1675391436', '17223542.88'], ['1675391472', '0'], ['1675391508', '7206393.36'], ['1675391544', '0'], ['1675391580', '15461408'], ['1675391616', '21384636.24'], ['1675391652', '0'], ['1675391688', '7485634.88'], ['1675391724', '0']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0', + p95: '33454226.88' + } + } + }, + { + type: 'packets', + ingressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '382.61'], ['1675388196', '44.67'], ['1675388232', '0.00'], ['1675388268', '23.64'], ['1675388304', '0.00'], ['1675388340', '53.75'], ['1675388376', '34.89'], ['1675388412', '0.00'], ['1675388448', '155.25'], ['1675388484', '0.00'], ['1675388520', '186.17'], ['1675388556', '77.81'], ['1675388592', '0.00'], ['1675388628', '84.75'], ['1675388664', '0.00'], ['1675388700', '140.39'], ['1675388736', '9.69'], ['1675388772', '0.00'], ['1675388808', '126.83'], ['1675388844', '0.00'], ['1675388880', '398.50'], ['1675388916', '94.92'], ['1675388952', '0.00'], ['1675388988', '57.33'], ['1675389024', '0.00'], ['1675389060', '326.89'], ['1675389096', '69.06'], ['1675389132', '0.00'], ['1675389168', '253.61'], ['1675389204', '0.00'], ['1675389240', '201.11'], ['1675389276', '203.14'], ['1675389312', '0.00'], ['1675389348', '126.33'], ['1675389384', '0.00'], ['1675389420', '13.86'], ['1675389456', '34.81'], ['1675389492', '0.00'], ['1675389528', '12.47'], ['1675389564', '0.00'], ['1675389600', '107.08'], ['1675389636', '54.39'], ['1675389672', '0.00'], ['1675389708', '24.42'], ['1675389744', '0.00'], ['1675389780', '67.47'], ['1675389816', '35.94'], ['1675389852', '0.00'], ['1675389888', '22.44'], ['1675389924', '0.00'], ['1675389960', '45.64'], ['1675389996', '32.81'], ['1675390032', '0.00'], ['1675390068', '37.72'], ['1675390104', '0.00'], ['1675390140', '43.69'], ['1675390176', '228.97'], ['1675390212', '0.00'], ['1675390248', '392.69'], ['1675390284', '0.00'], ['1675390320', '55.33'], ['1675390356', '47.44'], ['1675390392', '0.00'], ['1675390428', '106.06'], ['1675390464', '0.00'], ['1675390500', '47.58'], ['1675390536', '64.56'], ['1675390572', '0.00'], ['1675390608', '35.94'], ['1675390644', '0.00'], ['1675390680', '17.31'], ['1675390716', '95.47'], ['1675390752', '0.00'], ['1675390788', '638.00'], ['1675390824', '0.00'], ['1675390860', '239.11'], ['1675390896', '290.89'], ['1675390932', '0.00'], ['1675390968', '129.31'], ['1675391004', '0.00'], ['1675391040', '208.83'], ['1675391076', '65.31'], ['1675391112', '0.00'], ['1675391148', '42.17'], ['1675391184', '0.00'], ['1675391220', '17.94'], ['1675391256', '14.33'], ['1675391292', '0.00'], ['1675391328', '6.31'], ['1675391364', '0.00'], ['1675391400', '62.83'], ['1675391436', '2.53'], ['1675391472', '0.00'], ['1675391508', '37.06'], ['1675391544', '0.00'], ['1675391580', '110.00'], ['1675391616', '148.53'], ['1675391652', '0.00'], ['1675391688', '583.64'], ['1675391724', '0.00']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0.00', + p95: '326.89' + } + }, + egressPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '1835.75'], ['1675388196', '865.61'], ['1675388232', '0.00'], ['1675388268', '1202.69'], ['1675388304', '0.00'], ['1675388340', '3864.69'], ['1675388376', '1428.56'], ['1675388412', '0.00'], ['1675388448', '3433.61'], ['1675388484', '0.00'], ['1675388520', '1228.06'], ['1675388556', '896.42'], ['1675388592', '0.00'], ['1675388628', '740.83'], ['1675388664', '0.00'], ['1675388700', '1576.75'], ['1675388736', '721.92'], ['1675388772', '0.00'], ['1675388808', '700.17'], ['1675388844', '0.00'], ['1675388880', '1058.28'], ['1675388916', '1487.19'], ['1675388952', '0.00'], ['1675388988', '1536.19'], ['1675389024', '0.00'], ['1675389060', '1671.50'], ['1675389096', '1083.58'], ['1675389132', '0.00'], ['1675389168', '1561.64'], ['1675389204', '0.00'], ['1675389240', '549.50'], ['1675389276', '2454.47'], ['1675389312', '0.00'], ['1675389348', '404.53'], ['1675389384', '0.00'], ['1675389420', '2011.22'], ['1675389456', '810.75'], ['1675389492', '0.00'], ['1675389528', '228.50'], ['1675389564', '0.00'], ['1675389600', '910.58'], ['1675389636', '6422.11'], ['1675389672', '0.00'], ['1675389708', '2123.44'], ['1675389744', '0.00'], ['1675389780', '481.97'], ['1675389816', '2462.33'], ['1675389852', '0.00'], ['1675389888', '4183.94'], ['1675389924', '0.00'], ['1675389960', '677.81'], ['1675389996', '1103.31'], ['1675390032', '0.00'], ['1675390068', '851.08'], ['1675390104', '0.00'], ['1675390140', '659.33'], ['1675390176', '936.56'], ['1675390212', '0.00'], ['1675390248', '835.78'], ['1675390284', '0.00'], ['1675390320', '296.28'], ['1675390356', '1205.39'], ['1675390392', '0.00'], ['1675390428', '3288.14'], ['1675390464', '0.00'], ['1675390500', '471.14'], ['1675390536', '1577.00'], ['1675390572', '0.00'], ['1675390608', '1645.36'], ['1675390644', '0.00'], ['1675390680', '1390.75'], ['1675390716', '1612.75'], ['1675390752', '0.00'], ['1675390788', '880.92'], ['1675390824', '0.00'], ['1675390860', '1573.47'], ['1675390896', '1809.56'], ['1675390932', '0.00'], ['1675390968', '1847.53'], ['1675391004', '0.00'], ['1675391040', '2160.33'], ['1675391076', '3126.36'], ['1675391112', '0.00'], ['1675391148', '1166.14'], ['1675391184', '0.00'], ['1675391220', '1166.81'], ['1675391256', '538.75'], ['1675391292', '0.00'], ['1675391328', '681.00'], ['1675391364', '0.00'], ['1675391400', '2580.83'], ['1675391436', '1693.17'], ['1675391472', '0.00'], ['1675391508', '695.89'], ['1675391544', '0.00'], ['1675391580', '1395.19'], ['1675391616', '1920.39'], ['1675391652', '0.00'], ['1675391688', '679.08'], ['1675391724', '0.00']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0.00', + p95: '3126.36' + } + }, + totalPacketsRate: { + values: [['1675388124', '0.00'], ['1675388160', '2218.36'], ['1675388196', '910.28'], ['1675388232', '0.00'], ['1675388268', '1226.33'], ['1675388304', '0.00'], ['1675388340', '3918.44'], ['1675388376', '1463.44'], ['1675388412', '0.00'], ['1675388448', '3588.86'], ['1675388484', '0.00'], ['1675388520', '1414.22'], ['1675388556', '974.22'], ['1675388592', '0.00'], ['1675388628', '825.58'], ['1675388664', '0.00'], ['1675388700', '1717.14'], ['1675388736', '731.61'], ['1675388772', '0.00'], ['1675388808', '827.00'], ['1675388844', '0.00'], ['1675388880', '1456.78'], ['1675388916', '1582.11'], ['1675388952', '0.00'], ['1675388988', '1593.53'], ['1675389024', '0.00'], ['1675389060', '1998.39'], ['1675389096', '1152.64'], ['1675389132', '0.00'], ['1675389168', '1815.25'], ['1675389204', '0.00'], ['1675389240', '750.61'], ['1675389276', '2657.61'], ['1675389312', '0.00'], ['1675389348', '530.86'], ['1675389384', '0.00'], ['1675389420', '2025.08'], ['1675389456', '845.56'], ['1675389492', '0.00'], ['1675389528', '240.97'], ['1675389564', '0.00'], ['1675389600', '1017.67'], ['1675389636', '6476.50'], ['1675389672', '0.00'], ['1675389708', '2147.86'], ['1675389744', '0.00'], ['1675389780', '549.44'], ['1675389816', '2498.28'], ['1675389852', '0.00'], ['1675389888', '4206.39'], ['1675389924', '0.00'], ['1675389960', '723.44'], ['1675389996', '1136.11'], ['1675390032', '0.00'], ['1675390068', '888.81'], ['1675390104', '0.00'], ['1675390140', '703.03'], ['1675390176', '1165.53'], ['1675390212', '0.00'], ['1675390248', '1228.47'], ['1675390284', '0.00'], ['1675390320', '351.61'], ['1675390356', '1252.83'], ['1675390392', '0.00'], ['1675390428', '3394.19'], ['1675390464', '0.00'], ['1675390500', '518.72'], ['1675390536', '1641.56'], ['1675390572', '0.00'], ['1675390608', '1681.31'], ['1675390644', '0.00'], ['1675390680', '1408.06'], ['1675390716', '1708.22'], ['1675390752', '0.00'], ['1675390788', '1518.92'], ['1675390824', '0.00'], ['1675390860', '1812.58'], ['1675390896', '2100.44'], ['1675390932', '0.00'], ['1675390968', '1976.83'], ['1675391004', '0.00'], ['1675391040', '2369.17'], ['1675391076', '3191.67'], ['1675391112', '0.00'], ['1675391148', '1208.31'], ['1675391184', '0.00'], ['1675391220', '1184.75'], ['1675391256', '553.08'], ['1675391292', '0.00'], ['1675391328', '687.31'], ['1675391364', '0.00'], ['1675391400', '2643.67'], ['1675391436', '1695.69'], ['1675391472', '0.00'], ['1675391508', '732.94'], ['1675391544', '0.00'], ['1675391580', '1505.19'], ['1675391616', '2068.92'], ['1675391652', '0.00'], ['1675391688', '1262.72'], ['1675391724', '0.00']], + analysis: { + avg: '0.00', + max: '0.00', + min: '0.00', + p95: '3191.67' + } + } + }] + } + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [{ + totalBytes: '4426409159', + totalBitsRate: 983646480, + totalPackets: '3324302', + establishLatencyMs: 9294.89, + httpResponseLatency: 154.2884, + sslConLatency: 90, + tcpLostlenPercent: 0.69, + pktRetransPercent: 0.165 + }] + } + } + } + } + } +} diff --git a/test/views/charts2/charts/networkOverview/NetworkOverviewApps.test.js b/test/views/charts2/charts/networkOverview/NetworkOverviewApps.test.js index 4b28125e..b4ea8d8b 100644 --- a/test/views/charts2/charts/networkOverview/NetworkOverviewApps.test.js +++ b/test/views/charts2/charts/networkOverview/NetworkOverviewApps.test.js @@ -2,40 +2,9 @@ import NetworkOverviewApps from '@/views/charts2/charts/networkOverview/NetworkO import { mount } from '@vue/test-utils' import axios from 'axios' import ElementPlus from 'element-plus' +import { mockData } from './mockData/NetworkOverviewApps' -const mockGet = { - data: { status: 200, code: 200, queryKey: 'd9f5b7769b8c9025354794d6eb053f5c', success: true, message: null, statistics: { elapsed: 8, rows_read: 151581, bytes_read: 9780720, result_size: 364, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { rate: 1010.16, total: 21819167 }, douyin: { rate: '0', total: 589724424997 }, kuaishou: { rate: 7390882.56, total: 159642139901 } }, { type: 'packets', qq: { rate: 2.64, total: 57117 }, douyin: { rate: 25025.84, total: 540554929 }, kuaishou: { rate: 6813.36, total: 147167390 } }, { type: 'sessions', qq: { rate: 0.08, total: 2042 }, douyin: { rate: 25.04, total: 541472 }, kuaishou: { rate: 5.04, total: 108589 } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675180800-172799%20AND%20stat_time%20%3C%201675353599-172799%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20app_label&format=json&option=real-time', msg: 'OK' } -} - -const mockGet1 = { - data: { status: 200, code: 200, queryKey: '0d6d3c03e630309af3ff000a353145bc', success: true, message: null, statistics: { elapsed: 40, rows_read: 633867, bytes_read: 23030397, result_size: 43140, result_rows: 404 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { values: [['1675180224', '0'], ['1675181952', '227614'], ['1675183680', '38412'], ['1675185408', '116041'], ['1675187136', '128653'], ['1675188864', '135713'], ['1675190592', '122184'], ['1675192320', '129864'], ['1675194048', '1964603'], ['1675195776', '125529'], ['1675197504', '40230'], ['1675199232', '77972'], ['1675200960', '78289'], ['1675202688', '67906'], ['1675204416', '57945'], ['1675206144', '109257'], ['1675207872', '143575'], ['1675209600', '118119'], ['1675211328', '175533'], ['1675213056', '69095'], ['1675214784', '108809'], ['1675216512', '130300'], ['1675218240', '68447'], ['1675219968', '630788'], ['1675221696', '155681'], ['1675223424', '176030'], ['1675225152', '128553'], ['1675226880', '113247'], ['1675228608', '50118'], ['1675230336', '84248'], ['1675232064', '142975'], ['1675233792', '93655'], ['1675235520', '33835'], ['1675237248', '139744'], ['1675238976', '77275'], ['1675240704', '121832'], ['1675242432', '96674'], ['1675244160', '117739'], ['1675245888', '167341'], ['1675247616', '111160'], ['1675249344', '121214'], ['1675251072', '52357'], ['1675252800', '64871'], ['1675254528', '175765'], ['1675256256', '198280'], ['1675257984', '313557'], ['1675259712', '130227'], ['1675261440', '104428'], ['1675263168', '274705'], ['1675264896', '70431'], ['1675266624', '140682'], ['1675268352', '83156'], ['1675270080', '1294611'], ['1675271808', '62669'], ['1675273536', '95395'], ['1675275264', '65723'], ['1675276992', '100901'], ['1675278720', '79062'], ['1675280448', '169488'], ['1675282176', '129568'], ['1675283904', '53631'], ['1675285632', '97518'], ['1675287360', '119426'], ['1675289088', '52308'], ['1675290816', '1361035'], ['1675292544', '156913'], ['1675294272', '215434'], ['1675296000', '54255'], ['1675297728', '288032'], ['1675299456', '772642'], ['1675301184', '107272'], ['1675302912', '92936'], ['1675304640', '498593'], ['1675306368', '102826'], ['1675308096', '76248'], ['1675309824', '145622'], ['1675311552', '55976'], ['1675313280', '75229'], ['1675315008', '162535'], ['1675316736', '180897'], ['1675318464', '60033'], ['1675320192', '64638'], ['1675321920', '129043'], ['1675323648', '579694'], ['1675325376', '51898'], ['1675327104', '75191'], ['1675328832', '333430'], ['1675330560', '39211'], ['1675332288', '1735358'], ['1675334016', '58490'], ['1675335744', '104864'], ['1675337472', '264375'], ['1675339200', '269080'], ['1675340928', '70592'], ['1675342656', '93411'], ['1675344384', '112441'], ['1675346112', '90449'], ['1675347840', '70863'], ['1675349568', '96436'], ['1675351296', '185547'], ['1675353024', '119575']], analysis: { rate: 910.96, total: 1.9676022E7 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6840349207'], ['1675183680', '6938901016'], ['1675185408', '7305187539'], ['1675187136', '8188141571'], ['1675188864', '7247690661'], ['1675190592', '6926759120'], ['1675192320', '7380048772'], ['1675194048', '7993802965'], ['1675195776', '6965741583'], ['1675197504', '8346510734'], ['1675199232', '6825635569'], ['1675200960', '8038915184'], ['1675202688', '8477225356'], ['1675204416', '8038673785'], ['1675206144', '7753302399'], ['1675207872', '7465742788'], ['1675209600', '7584210058'], ['1675211328', '7588104529'], ['1675213056', '8582557129'], ['1675214784', '6841255319'], ['1675216512', '7587872713'], ['1675218240', '7466607445'], ['1675219968', '7870624721'], ['1675221696', '7412764966'], ['1675223424', '8223871918'], ['1675225152', '8243945377'], ['1675226880', '7638363700'], ['1675228608', '7540615267'], ['1675230336', '7650851184'], ['1675232064', '7617949860'], ['1675233792', '7329955659'], ['1675235520', '8245178822'], ['1675237248', '7792148620'], ['1675238976', '7534743840'], ['1675240704', '7851088104'], ['1675242432', '7635228927'], ['1675244160', '6951204213'], ['1675245888', '6381170963'], ['1675247616', '6813650211'], ['1675249344', '7076447245'], ['1675251072', '6632590990'], ['1675252800', '7598778382'], ['1675254528', '7116694268'], ['1675256256', '7626461803'], ['1675257984', '7264879741'], ['1675259712', '7752671679'], ['1675261440', '7515853750'], ['1675263168', '7579932467'], ['1675264896', '7486997643'], ['1675266624', '7051686793'], ['1675268352', '6873607777'], ['1675270080', '7164166983'], ['1675271808', '8195989021'], ['1675273536', '7704140177'], ['1675275264', '6922140060'], ['1675276992', '6681666225'], ['1675278720', '7215000735'], ['1675280448', '7308499670'], ['1675282176', '7296427060'], ['1675283904', '7580297764'], ['1675285632', '6448511494'], ['1675287360', '7480200181'], ['1675289088', '7233539573'], ['1675290816', '7604079203'], ['1675292544', '7347409713'], ['1675294272', '7539122424'], ['1675296000', '8268929988'], ['1675297728', '7904603396'], ['1675299456', '7481158268'], ['1675301184', '7979103862'], ['1675302912', '8030132482'], ['1675304640', '6815551453'], ['1675306368', '6998980883'], ['1675308096', '6637269462'], ['1675309824', '7831818720'], ['1675311552', '6318916982'], ['1675313280', '7442258523'], ['1675315008', '7118095146'], ['1675316736', '7402017517'], ['1675318464', '7493982868'], ['1675320192', '6520083159'], ['1675321920', '7032318182'], ['1675323648', '6905781093'], ['1675325376', '7802918848'], ['1675327104', '7176212380'], ['1675328832', '7211668065'], ['1675330560', '6843290032'], ['1675332288', '7283947628'], ['1675334016', '7177682226'], ['1675335744', '7391199988'], ['1675337472', '6754687853'], ['1675339200', '6993139381'], ['1675340928', '6874136769'], ['1675342656', '6783677168'], ['1675344384', '7349291166'], ['1675346112', '6556961502'], ['1675347840', '7491223967'], ['1675349568', '7842238132'], ['1675351296', '6221073616'], ['1675353024', '7242494202']], analysis: { rate: 3.414793976E7, total: 7.37591229522E11 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1868006861'], ['1675183680', '1732168677'], ['1675185408', '2131898696'], ['1675187136', '2063010277'], ['1675188864', '1937537679'], ['1675190592', '1936788154'], ['1675192320', '2112580028'], ['1675194048', '1507654055'], ['1675195776', '2391037476'], ['1675197504', '2299446264'], ['1675199232', '1735303680'], ['1675200960', '1914095622'], ['1675202688', '1631022968'], ['1675204416', '2460019472'], ['1675206144', '1862981044'], ['1675207872', '1928704280'], ['1675209600', '1908009754'], ['1675211328', '1654220896'], ['1675213056', '2077381841'], ['1675214784', '2446500655'], ['1675216512', '2521067191'], ['1675218240', '1898347189'], ['1675219968', '1773018533'], ['1675221696', '1763549248'], ['1675223424', '1987857147'], ['1675225152', '1923607018'], ['1675226880', '2088989063'], ['1675228608', '2282878819'], ['1675230336', '1984472550'], ['1675232064', '1973641852'], ['1675233792', '2171240776'], ['1675235520', '2398440034'], ['1675237248', '1653378142'], ['1675238976', '1706909466'], ['1675240704', '2129291289'], ['1675242432', '1855368544'], ['1675244160', '1749240925'], ['1675245888', '1989494774'], ['1675247616', '1845322089'], ['1675249344', '2654426983'], ['1675251072', '1727183617'], ['1675252800', '1788630455'], ['1675254528', '1752731900'], ['1675256256', '1792192548'], ['1675257984', '2093031894'], ['1675259712', '1647678097'], ['1675261440', '2330265624'], ['1675263168', '1944482494'], ['1675264896', '1803569696'], ['1675266624', '2439742888'], ['1675268352', '3347846376'], ['1675270080', '1505440347'], ['1675271808', '2190442219'], ['1675273536', '1993445094'], ['1675275264', '1902837201'], ['1675276992', '2996332903'], ['1675278720', '1961133544'], ['1675280448', '1928639573'], ['1675282176', '2156986535'], ['1675283904', '1865411850'], ['1675285632', '1817765812'], ['1675287360', '1864996543'], ['1675289088', '1675537740'], ['1675290816', '1961491179'], ['1675292544', '1872641081'], ['1675294272', '1982193032'], ['1675296000', '2438454944'], ['1675297728', '2174619701'], ['1675299456', '1786626737'], ['1675301184', '1834178614'], ['1675302912', '1910990943'], ['1675304640', '2182469866'], ['1675306368', '1865110834'], ['1675308096', '2078719494'], ['1675309824', '2032641504'], ['1675311552', '1972714687'], ['1675313280', '1768457473'], ['1675315008', '1742922515'], ['1675316736', '2271077831'], ['1675318464', '1859973394'], ['1675320192', '1732928389'], ['1675321920', '1719608554'], ['1675323648', '1822114739'], ['1675325376', '1932173415'], ['1675327104', '2063384929'], ['1675328832', '2090741727'], ['1675330560', '1579268455'], ['1675332288', '2046765417'], ['1675334016', '2331961077'], ['1675335744', '2016304838'], ['1675337472', '1492052833'], ['1675339200', '1897359803'], ['1675340928', '1819642960'], ['1675342656', '1533538421'], ['1675344384', '2190655674'], ['1675346112', '1588408379'], ['1675347840', '1979353840'], ['1675349568', '2107484915'], ['1675351296', '2249064595'], ['1675353024', '1920902044']], analysis: { rate: 9181730.64, total: 1.98324233794E11 } } }, { type: 'packets', qq: { values: [['1675180224', '0'], ['1675181952', '606'], ['1675183680', '214'], ['1675185408', '526'], ['1675187136', '658'], ['1675188864', '962'], ['1675190592', '699'], ['1675192320', '497'], ['1675194048', '4134'], ['1675195776', '430'], ['1675197504', '242'], ['1675199232', '429'], ['1675200960', '346'], ['1675202688', '340'], ['1675204416', '337'], ['1675206144', '546'], ['1675207872', '614'], ['1675209600', '540'], ['1675211328', '463'], ['1675213056', '376'], ['1675214784', '451'], ['1675216512', '682'], ['1675218240', '396'], ['1675219968', '1123'], ['1675221696', '736'], ['1675223424', '771'], ['1675225152', '850'], ['1675226880', '569'], ['1675228608', '280'], ['1675230336', '389'], ['1675232064', '695'], ['1675233792', '457'], ['1675235520', '180'], ['1675237248', '487'], ['1675238976', '388'], ['1675240704', '553'], ['1675242432', '454'], ['1675244160', '514'], ['1675245888', '551'], ['1675247616', '446'], ['1675249344', '523'], ['1675251072', '324'], ['1675252800', '338'], ['1675254528', '473'], ['1675256256', '732'], ['1675257984', '649'], ['1675259712', '689'], ['1675261440', '490'], ['1675263168', '735'], ['1675264896', '339'], ['1675266624', '657'], ['1675268352', '383'], ['1675270080', '1747'], ['1675271808', '263'], ['1675273536', '349'], ['1675275264', '316'], ['1675276992', '520'], ['1675278720', '380'], ['1675280448', '486'], ['1675282176', '550'], ['1675283904', '319'], ['1675285632', '478'], ['1675287360', '604'], ['1675289088', '266'], ['1675290816', '1751'], ['1675292544', '416'], ['1675294272', '1045'], ['1675296000', '273'], ['1675297728', '644'], ['1675299456', '1215'], ['1675301184', '507'], ['1675302912', '436'], ['1675304640', '1353'], ['1675306368', '431'], ['1675308096', '409'], ['1675309824', '384'], ['1675311552', '209'], ['1675313280', '399'], ['1675315008', '435'], ['1675316736', '443'], ['1675318464', '241'], ['1675320192', '368'], ['1675321920', '399'], ['1675323648', '1294'], ['1675325376', '300'], ['1675327104', '384'], ['1675328832', '962'], ['1675330560', '234'], ['1675332288', '6718'], ['1675334016', '254'], ['1675335744', '446'], ['1675337472', '615'], ['1675339200', '877'], ['1675340928', '404'], ['1675342656', '548'], ['1675344384', '458'], ['1675346112', '347'], ['1675347840', '354'], ['1675349568', '417'], ['1675351296', '387'], ['1675353024', '441']], analysis: { rate: 2.96, total: 63339.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6197371'], ['1675183680', '6358852'], ['1675185408', '6715754'], ['1675187136', '7436866'], ['1675188864', '6557821'], ['1675190592', '6355871'], ['1675192320', '6859765'], ['1675194048', '7127026'], ['1675195776', '6381159'], ['1675197504', '7567599'], ['1675199232', '6226694'], ['1675200960', '7369356'], ['1675202688', '7712436'], ['1675204416', '7345952'], ['1675206144', '7218586'], ['1675207872', '6839080'], ['1675209600', '6887533'], ['1675211328', '6935752'], ['1675213056', '7890836'], ['1675214784', '6251184'], ['1675216512', '6845634'], ['1675218240', '6892309'], ['1675219968', '7150591'], ['1675221696', '6823704'], ['1675223424', '7646335'], ['1675225152', '7486344'], ['1675226880', '7040943'], ['1675228608', '6899602'], ['1675230336', '7066419'], ['1675232064', '7012961'], ['1675233792', '6734310'], ['1675235520', '7507330'], ['1675237248', '7328470'], ['1675238976', '7038404'], ['1675240704', '7173446'], ['1675242432', '6993118'], ['1675244160', '6410795'], ['1675245888', '5911194'], ['1675247616', '6277144'], ['1675249344', '6534898'], ['1675251072', '6118595'], ['1675252800', '6991938'], ['1675254528', '6519410'], ['1675256256', '7181072'], ['1675257984', '6615763'], ['1675259712', '7021918'], ['1675261440', '6878676'], ['1675263168', '7164503'], ['1675264896', '6874729'], ['1675266624', '6432753'], ['1675268352', '6307274'], ['1675270080', '6647741'], ['1675271808', '7462350'], ['1675273536', '7142099'], ['1675275264', '6328964'], ['1675276992', '6183940'], ['1675278720', '6791555'], ['1675280448', '6685349'], ['1675282176', '6661602'], ['1675283904', '6946903'], ['1675285632', '5897413'], ['1675287360', '6805796'], ['1675289088', '6568242'], ['1675290816', '7007823'], ['1675292544', '6610019'], ['1675294272', '6858170'], ['1675296000', '7744211'], ['1675297728', '7208221'], ['1675299456', '6815118'], ['1675301184', '7357640'], ['1675302912', '7459213'], ['1675304640', '6214814'], ['1675306368', '6458755'], ['1675308096', '6134159'], ['1675309824', '7139250'], ['1675311552', '5874017'], ['1675313280', '6848695'], ['1675315008', '6519852'], ['1675316736', '6777270'], ['1675318464', '6846661'], ['1675320192', '5884151'], ['1675321920', '6489480'], ['1675323648', '6293153'], ['1675325376', '7195451'], ['1675327104', '6517878'], ['1675328832', '6551928'], ['1675330560', '6274616'], ['1675332288', '6631027'], ['1675334016', '6614058'], ['1675335744', '6771588'], ['1675337472', '6188863'], ['1675339200', '6427004'], ['1675340928', '6343710'], ['1675342656', '6178169'], ['1675344384', '6657322'], ['1675346112', '6091040'], ['1675347840', '6871382'], ['1675349568', '7173669'], ['1675351296', '5823930'], ['1675353024', '6710423']], analysis: { rate: 31333.52, total: 6.76800759E8 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1705580'], ['1675183680', '1593727'], ['1675185408', '1946915'], ['1675187136', '1917429'], ['1675188864', '1795867'], ['1675190592', '1767678'], ['1675192320', '1863517'], ['1675194048', '1378238'], ['1675195776', '2133321'], ['1675197504', '2221475'], ['1675199232', '1603668'], ['1675200960', '1738494'], ['1675202688', '1513171'], ['1675204416', '2255791'], ['1675206144', '1716124'], ['1675207872', '1782197'], ['1675209600', '1744454'], ['1675211328', '1554832'], ['1675213056', '1984725'], ['1675214784', '2233360'], ['1675216512', '2297592'], ['1675218240', '1741490'], ['1675219968', '1624499'], ['1675221696', '1630196'], ['1675223424', '1815006'], ['1675225152', '1756123'], ['1675226880', '1899440'], ['1675228608', '2100577'], ['1675230336', '1831805'], ['1675232064', '1819676'], ['1675233792', '1978645'], ['1675235520', '2167573'], ['1675237248', '1557262'], ['1675238976', '1559497'], ['1675240704', '1944289'], ['1675242432', '1674776'], ['1675244160', '1614920'], ['1675245888', '1791181'], ['1675247616', '1675268'], ['1675249344', '2693715'], ['1675251072', '1642608'], ['1675252800', '1644117'], ['1675254528', '1562746'], ['1675256256', '1641479'], ['1675257984', '1935089'], ['1675259712', '1524063'], ['1675261440', '2144236'], ['1675263168', '1744826'], ['1675264896', '1644469'], ['1675266624', '2158417'], ['1675268352', '3294854'], ['1675270080', '1368127'], ['1675271808', '2014564'], ['1675273536', '1810232'], ['1675275264', '1759498'], ['1675276992', '2605599'], ['1675278720', '1780170'], ['1675280448', '1760412'], ['1675282176', '1996901'], ['1675283904', '1750576'], ['1675285632', '1661220'], ['1675287360', '1712123'], ['1675289088', '1536965'], ['1675290816', '1817954'], ['1675292544', '1733340'], ['1675294272', '1790373'], ['1675296000', '2469841'], ['1675297728', '2010199'], ['1675299456', '1642746'], ['1675301184', '1702235'], ['1675302912', '1732882'], ['1675304640', '2004182'], ['1675306368', '1718766'], ['1675308096', '1878088'], ['1675309824', '1969171'], ['1675311552', '1767540'], ['1675313280', '1637693'], ['1675315008', '1596693'], ['1675316736', '2018056'], ['1675318464', '1771415'], ['1675320192', '1595262'], ['1675321920', '1592882'], ['1675323648', '1902703'], ['1675325376', '1749528'], ['1675327104', '1848181'], ['1675328832', '1939436'], ['1675330560', '1443588'], ['1675332288', '1861515'], ['1675334016', '2110223'], ['1675335744', '1842995'], ['1675337472', '1374125'], ['1675339200', '1718740'], ['1675340928', '1665297'], ['1675342656', '1425021'], ['1675344384', '1991077'], ['1675346112', '1444718'], ['1675347840', '1873466'], ['1675349568', '1936970'], ['1675351296', '2080810'], ['1675353024', '1736479']], analysis: { rate: 8458.88, total: 1.82711574E8 } } }, { type: 'sessions', qq: { values: [['1675180224', '0'], ['1675181952', '31'], ['1675183680', '20'], ['1675185408', '34'], ['1675187136', '74'], ['1675188864', '279'], ['1675190592', '109'], ['1675192320', '29'], ['1675194048', '24'], ['1675195776', '27'], ['1675197504', '17'], ['1675199232', '29'], ['1675200960', '19'], ['1675202688', '22'], ['1675204416', '22'], ['1675206144', '38'], ['1675207872', '36'], ['1675209600', '31'], ['1675211328', '30'], ['1675213056', '24'], ['1675214784', '23'], ['1675216512', '41'], ['1675218240', '24'], ['1675219968', '32'], ['1675221696', '41'], ['1675223424', '51'], ['1675225152', '29'], ['1675226880', '35'], ['1675228608', '24'], ['1675230336', '22'], ['1675232064', '33'], ['1675233792', '31'], ['1675235520', '15'], ['1675237248', '18'], ['1675238976', '24'], ['1675240704', '34'], ['1675242432', '34'], ['1675244160', '30'], ['1675245888', '23'], ['1675247616', '29'], ['1675249344', '27'], ['1675251072', '26'], ['1675252800', '22'], ['1675254528', '27'], ['1675256256', '29'], ['1675257984', '24'], ['1675259712', '34'], ['1675261440', '22'], ['1675263168', '22'], ['1675264896', '22'], ['1675266624', '27'], ['1675268352', '21'], ['1675270080', '30'], ['1675271808', '19'], ['1675273536', '20'], ['1675275264', '20'], ['1675276992', '24'], ['1675278720', '28'], ['1675280448', '31'], ['1675282176', '25'], ['1675283904', '19'], ['1675285632', '31'], ['1675287360', '30'], ['1675289088', '19'], ['1675290816', '32'], ['1675292544', '23'], ['1675294272', '28'], ['1675296000', '29'], ['1675297728', '25'], ['1675299456', '33'], ['1675301184', '26'], ['1675302912', '23'], ['1675304640', '37'], ['1675306368', '24'], ['1675308096', '28'], ['1675309824', '17'], ['1675311552', '15'], ['1675313280', '28'], ['1675315008', '27'], ['1675316736', '29'], ['1675318464', '22'], ['1675320192', '22'], ['1675321920', '25'], ['1675323648', '30'], ['1675325376', '20'], ['1675327104', '28'], ['1675328832', '25'], ['1675330560', '12'], ['1675332288', '34'], ['1675334016', '19'], ['1675335744', '22'], ['1675337472', '31'], ['1675339200', '29'], ['1675340928', '31'], ['1675342656', '23'], ['1675344384', '36'], ['1675346112', '22'], ['1675347840', '25'], ['1675349568', '24'], ['1675351296', '26'], ['1675353024', '16']], analysis: { rate: 0.16, total: 3033.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6307'], ['1675183680', '6702'], ['1675185408', '6756'], ['1675187136', '6828'], ['1675188864', '6497'], ['1675190592', '6185'], ['1675192320', '6583'], ['1675194048', '6532'], ['1675195776', '6740'], ['1675197504', '7292'], ['1675199232', '6741'], ['1675200960', '7047'], ['1675202688', '7131'], ['1675204416', '7279'], ['1675206144', '7196'], ['1675207872', '6783'], ['1675209600', '6854'], ['1675211328', '7270'], ['1675213056', '7356'], ['1675214784', '6577'], ['1675216512', '6797'], ['1675218240', '6803'], ['1675219968', '7000'], ['1675221696', '7003'], ['1675223424', '7239'], ['1675225152', '7020'], ['1675226880', '6913'], ['1675228608', '7101'], ['1675230336', '6999'], ['1675232064', '6962'], ['1675233792', '6751'], ['1675235520', '6536'], ['1675237248', '6941'], ['1675238976', '6415'], ['1675240704', '6791'], ['1675242432', '6908'], ['1675244160', '6860'], ['1675245888', '5950'], ['1675247616', '6232'], ['1675249344', '6511'], ['1675251072', '6425'], ['1675252800', '6286'], ['1675254528', '6372'], ['1675256256', '6196'], ['1675257984', '6540'], ['1675259712', '6727'], ['1675261440', '6848'], ['1675263168', '6384'], ['1675264896', '6558'], ['1675266624', '6920'], ['1675268352', '6138'], ['1675270080', '6483'], ['1675271808', '6787'], ['1675273536', '7100'], ['1675275264', '6471'], ['1675276992', '6572'], ['1675278720', '6853'], ['1675280448', '6651'], ['1675282176', '6495'], ['1675283904', '6561'], ['1675285632', '5679'], ['1675287360', '6804'], ['1675289088', '6701'], ['1675290816', '7207'], ['1675292544', '6823'], ['1675294272', '6503'], ['1675296000', '6936'], ['1675297728', '6897'], ['1675299456', '6850'], ['1675301184', '6706'], ['1675302912', '7029'], ['1675304640', '6323'], ['1675306368', '6737'], ['1675308096', '6051'], ['1675309824', '6497'], ['1675311552', '6195'], ['1675313280', '6366'], ['1675315008', '6814'], ['1675316736', '6815'], ['1675318464', '6703'], ['1675320192', '5984'], ['1675321920', '6553'], ['1675323648', '6695'], ['1675325376', '6797'], ['1675327104', '6273'], ['1675328832', '6351'], ['1675330560', '6805'], ['1675332288', '6460'], ['1675334016', '6957'], ['1675335744', '6849'], ['1675337472', '6486'], ['1675339200', '6635'], ['1675340928', '6558'], ['1675342656', '6865'], ['1675344384', '6716'], ['1675346112', '6258'], ['1675347840', '6677'], ['1675349568', '6991'], ['1675351296', '6307'], ['1675353024', '6618']], analysis: { rate: 30.96, total: 668226.0 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1250'], ['1675183680', '1337'], ['1675185408', '1466'], ['1675187136', '1327'], ['1675188864', '1350'], ['1675190592', '1221'], ['1675192320', '1433'], ['1675194048', '1462'], ['1675195776', '1386'], ['1675197504', '1476'], ['1675199232', '1403'], ['1675200960', '1413'], ['1675202688', '1518'], ['1675204416', '1436'], ['1675206144', '1578'], ['1675207872', '1496'], ['1675209600', '1490'], ['1675211328', '1479'], ['1675213056', '1541'], ['1675214784', '1394'], ['1675216512', '1371'], ['1675218240', '1345'], ['1675219968', '1397'], ['1675221696', '1368'], ['1675223424', '1425'], ['1675225152', '1284'], ['1675226880', '1380'], ['1675228608', '1426'], ['1675230336', '1419'], ['1675232064', '1382'], ['1675233792', '1303'], ['1675235520', '1312'], ['1675237248', '1364'], ['1675238976', '1253'], ['1675240704', '1373'], ['1675242432', '1353'], ['1675244160', '1371'], ['1675245888', '1189'], ['1675247616', '1287'], ['1675249344', '1319'], ['1675251072', '1232'], ['1675252800', '1223'], ['1675254528', '1254'], ['1675256256', '1250'], ['1675257984', '1289'], ['1675259712', '1271'], ['1675261440', '1315'], ['1675263168', '1216'], ['1675264896', '1283'], ['1675266624', '1368'], ['1675268352', '1204'], ['1675270080', '1269'], ['1675271808', '1338'], ['1675273536', '1431'], ['1675275264', '1407'], ['1675276992', '1283'], ['1675278720', '1285'], ['1675280448', '1306'], ['1675282176', '1387'], ['1675283904', '1393'], ['1675285632', '1246'], ['1675287360', '1392'], ['1675289088', '1312'], ['1675290816', '1456'], ['1675292544', '1364'], ['1675294272', '1321'], ['1675296000', '1454'], ['1675297728', '1442'], ['1675299456', '1356'], ['1675301184', '1440'], ['1675302912', '1397'], ['1675304640', '1261'], ['1675306368', '1377'], ['1675308096', '1289'], ['1675309824', '1347'], ['1675311552', '1227'], ['1675313280', '1242'], ['1675315008', '1346'], ['1675316736', '1281'], ['1675318464', '1319'], ['1675320192', '1151'], ['1675321920', '1316'], ['1675323648', '1276'], ['1675325376', '1371'], ['1675327104', '1322'], ['1675328832', '1292'], ['1675330560', '1369'], ['1675332288', '1250'], ['1675334016', '1373'], ['1675335744', '1264'], ['1675337472', '1306'], ['1675339200', '1311'], ['1675340928', '1396'], ['1675342656', '1306'], ['1675344384', '1314'], ['1675346112', '1252'], ['1675347840', '1381'], ['1675349568', '1346'], ['1675351296', '1264'], ['1675353024', '1354']], analysis: { rate: 6.24, total: 134464.0 } }, wechat: { values: [['1675180224', '0'], ['1675181952', '2364'], ['1675183680', '2379'], ['1675185408', '2393'], ['1675187136', '2569'], ['1675188864', '2380'], ['1675190592', '2014'], ['1675192320', '2262'], ['1675194048', '2348'], ['1675195776', '2290'], ['1675197504', '2716'], ['1675199232', '2370'], ['1675200960', '2274'], ['1675202688', '2546'], ['1675204416', '2514'], ['1675206144', '2693'], ['1675207872', '2274'], ['1675209600', '2385'], ['1675211328', '2557'], ['1675213056', '2383'], ['1675214784', '2379'], ['1675216512', '2465'], ['1675218240', '2421'], ['1675219968', '2658'], ['1675221696', '2141'], ['1675223424', '2746'], ['1675225152', '2308'], ['1675226880', '2493'], ['1675228608', '2572'], ['1675230336', '2532'], ['1675232064', '2581'], ['1675233792', '2265'], ['1675235520', '2261'], ['1675237248', '2461'], ['1675238976', '2277'], ['1675240704', '2576'], ['1675242432', '2513'], ['1675244160', '2396'], ['1675245888', '2032'], ['1675247616', '2353'], ['1675249344', '2427'], ['1675251072', '2281'], ['1675252800', '2171'], ['1675254528', '2425'], ['1675256256', '2159'], ['1675257984', '2193'], ['1675259712', '2377'], ['1675261440', '2438'], ['1675263168', '2205'], ['1675264896', '2197'], ['1675266624', '2422'], ['1675268352', '2396'], ['1675270080', '2266'], ['1675271808', '2580'], ['1675273536', '2472'], ['1675275264', '2519'], ['1675276992', '2299'], ['1675278720', '2321'], ['1675280448', '2203'], ['1675282176', '2255'], ['1675283904', '2262'], ['1675285632', '1913'], ['1675287360', '2283'], ['1675289088', '2423'], ['1675290816', '2308'], ['1675292544', '2363'], ['1675294272', '2182'], ['1675296000', '2522'], ['1675297728', '2432'], ['1675299456', '2284'], ['1675301184', '2380'], ['1675302912', '2392'], ['1675304640', '2300'], ['1675306368', '2200'], ['1675308096', '2063'], ['1675309824', '2436'], ['1675311552', '1986'], ['1675313280', '2189'], ['1675315008', '2430'], ['1675316736', '2315'], ['1675318464', '2360'], ['1675320192', '2156'], ['1675321920', '2346'], ['1675323648', '2188'], ['1675325376', '2513'], ['1675327104', '2040'], ['1675328832', '2402'], ['1675330560', '2576'], ['1675332288', '2354'], ['1675334016', '2476'], ['1675335744', '2149'], ['1675337472', '2197'], ['1675339200', '2602'], ['1675340928', '2138'], ['1675342656', '2435'], ['1675344384', '2385'], ['1675346112', '2262'], ['1675347840', '2497'], ['1675349568', '2322'], ['1675351296', '2075'], ['1675353024', '2423']], analysis: { rate: 10.88, total: 235306.0 } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT1728S%27%2C%27zero%27%29%20AS%20stat_time%2C%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29%20AND%20stat_time%20%3C%20toDateTime%281675353599%29%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20stat_time%2Capp_label%20ORDER%20BY%20stat_time%20ASC&format=json&option=real-time', msg: 'OK' } -} - -const mockGet2 = { - data: { status: 200, code: 200, queryKey: '11e7e2634661a4ac63f45a90a4fbc366', success: true, message: null, statistics: { elapsed: 10, rows_read: 151581, bytes_read: 9629321, result_size: 384, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_company', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { rate: 1088125.12, total: 23503366121 }, Tencent: { rate: 13817425.76, total: 298454669638 }, Bytedance: { rate: 29791297.68, total: 643488305661 }, Alibaba: { rate: 3822845.52, total: 82572985509 } }, { type: 'packets', Baidu: { rate: 1132.24, total: 24456798 }, Tencent: { rate: 15815.6, total: 341615256 }, Bytedance: { rate: 27681.68, total: 597920164 }, Alibaba: { rate: 4051.04, total: 87502224 } }, { type: 'sessions', Baidu: { rate: 7.36, total: 158507 }, Tencent: { rate: 16.4, total: 355022 }, Bytedance: { rate: 38.56, total: 833195 }, Alibaba: { rate: 24, total: 519104 } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20app_company%20AS%20app_company%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29-172799%20AND%20stat_time%20%3C%20toDateTime%281675353599%29-172799%20AND%20app_company%20IN%20%28%20%27Bytedance%27%2C%27Tencent%27%2C%27Alibaba%27%2C%27Baidu%27%20%29%20GROUP%20BY%20app_company&format=json&option=real-time', msg: 'OK' } -} - -const mockGet3 = { - data: { status: 200, code: 200, queryKey: '54f7d44a87abfa2643033b45fb9ac1af', success: true, message: null, statistics: { elapsed: 14, rows_read: 633867, bytes_read: 22394902, result_size: 45357, result_rows: 404 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'app_company', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { values: [['1675180224', '0'], ['1675181952', '186922462'], ['1675183680', '246368399'], ['1675185408', '319109553'], ['1675187136', '304441401'], ['1675188864', '535693636'], ['1675190592', '306487561'], ['1675192320', '179845873'], ['1675194048', '240757575'], ['1675195776', '242490898'], ['1675197504', '266812080'], ['1675199232', '285633401'], ['1675200960', '250783731'], ['1675202688', '202741925'], ['1675204416', '288905564'], ['1675206144', '264733418'], ['1675207872', '170662251'], ['1675209600', '188119952'], ['1675211328', '258930258'], ['1675213056', '211813880'], ['1675214784', '311067410'], ['1675216512', '228958245'], ['1675218240', '203782626'], ['1675219968', '258819386'], ['1675221696', '922311133'], ['1675223424', '274140838'], ['1675225152', '214457186'], ['1675226880', '320938298'], ['1675228608', '223494342'], ['1675230336', '263221725'], ['1675232064', '392156448'], ['1675233792', '209510347'], ['1675235520', '233293822'], ['1675237248', '420123341'], ['1675238976', '500120418'], ['1675240704', '306320387'], ['1675242432', '276800750'], ['1675244160', '246412014'], ['1675245888', '213229410'], ['1675247616', '174621303'], ['1675249344', '167818258'], ['1675251072', '311630640'], ['1675252800', '204026984'], ['1675254528', '248019634'], ['1675256256', '225920989'], ['1675257984', '289571558'], ['1675259712', '260433584'], ['1675261440', '267076409'], ['1675263168', '172960469'], ['1675264896', '187771584'], ['1675266624', '241454724'], ['1675268352', '329752706'], ['1675270080', '288552844'], ['1675271808', '248913131'], ['1675273536', '343099199'], ['1675275264', '279732573'], ['1675276992', '199138635'], ['1675278720', '253584024'], ['1675280448', '186462990'], ['1675282176', '241297490'], ['1675283904', '676915126'], ['1675285632', '238702155'], ['1675287360', '349619952'], ['1675289088', '236809805'], ['1675290816', '236038733'], ['1675292544', '276030570'], ['1675294272', '277516641'], ['1675296000', '211822464'], ['1675297728', '272051733'], ['1675299456', '235388507'], ['1675301184', '319171935'], ['1675302912', '192217920'], ['1675304640', '345455785'], ['1675306368', '319848769'], ['1675308096', '303561695'], ['1675309824', '208942533'], ['1675311552', '272791726'], ['1675313280', '204352308'], ['1675315008', '388846886'], ['1675316736', '339402557'], ['1675318464', '260030322'], ['1675320192', '264913750'], ['1675321920', '268731960'], ['1675323648', '245927219'], ['1675325376', '279881933'], ['1675327104', '311843005'], ['1675328832', '282638902'], ['1675330560', '185391416'], ['1675332288', '251799584'], ['1675334016', '206192986'], ['1675335744', '254411430'], ['1675337472', '599077930'], ['1675339200', '257549224'], ['1675340928', '225861527'], ['1675342656', '198703921'], ['1675344384', '209918478'], ['1675346112', '190463924'], ['1675347840', '254093605'], ['1675349568', '229914017'], ['1675351296', '261381749'], ['1675353024', '174475031']], analysis: { rate: 1269032.4, total: 2.7410941385E10 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3364312107'], ['1675183680', '4079983457'], ['1675185408', '3664816581'], ['1675187136', '3901897437'], ['1675188864', '3105742432'], ['1675190592', '3109079773'], ['1675192320', '3634085043'], ['1675194048', '3304598207'], ['1675195776', '3364370975'], ['1675197504', '3679341083'], ['1675199232', '4004654138'], ['1675200960', '5075731596'], ['1675202688', '3350826774'], ['1675204416', '3965120815'], ['1675206144', '3258127210'], ['1675207872', '3579118980'], ['1675209600', '3436901533'], ['1675211328', '3963971268'], ['1675213056', '3524855019'], ['1675214784', '4125745109'], ['1675216512', '4280315838'], ['1675218240', '3329633122'], ['1675219968', '4412688081'], ['1675221696', '3283482365'], ['1675223424', '4468620552'], ['1675225152', '3557179411'], ['1675226880', '3579870652'], ['1675228608', '3670862787'], ['1675230336', '4625969288'], ['1675232064', '3708010075'], ['1675233792', '3244513018'], ['1675235520', '3878415405'], ['1675237248', '4052973978'], ['1675238976', '3691082916'], ['1675240704', '5372688259'], ['1675242432', '3702382171'], ['1675244160', '4219862737'], ['1675245888', '2787825671'], ['1675247616', '4763031990'], ['1675249344', '3516330763'], ['1675251072', '3113829408'], ['1675252800', '3218983906'], ['1675254528', '4173806034'], ['1675256256', '3123724450'], ['1675257984', '3244222065'], ['1675259712', '3707679969'], ['1675261440', '4554164279'], ['1675263168', '3597868330'], ['1675264896', '3677154027'], ['1675266624', '3196518119'], ['1675268352', '4017034040'], ['1675270080', '2951739722'], ['1675271808', '4169564577'], ['1675273536', '3285519344'], ['1675275264', '4539611918'], ['1675276992', '3367141015'], ['1675278720', '4219586671'], ['1675280448', '3643011153'], ['1675282176', '3525034696'], ['1675283904', '3250835967'], ['1675285632', '3734756859'], ['1675287360', '3458799171'], ['1675289088', '3561847920'], ['1675290816', '3832087457'], ['1675292544', '3720294758'], ['1675294272', '3095277835'], ['1675296000', '4171337383'], ['1675297728', '4078122772'], ['1675299456', '3741403940'], ['1675301184', '3894701201'], ['1675302912', '3674186510'], ['1675304640', '3516696930'], ['1675306368', '3943407043'], ['1675308096', '3496006622'], ['1675309824', '4132870839'], ['1675311552', '2927013222'], ['1675313280', '3183796841'], ['1675315008', '3711742824'], ['1675316736', '3747908497'], ['1675318464', '3526464555'], ['1675320192', '3785846721'], ['1675321920', '3796697606'], ['1675323648', '3594162696'], ['1675325376', '4271082440'], ['1675327104', '3308973077'], ['1675328832', '3754503133'], ['1675330560', '4138496845'], ['1675332288', '3412677975'], ['1675334016', '3702495983'], ['1675335744', '3023519646'], ['1675337472', '3131554386'], ['1675339200', '4523013005'], ['1675340928', '3188123380'], ['1675342656', '3753413721'], ['1675344384', '3645320211'], ['1675346112', '3399819129'], ['1675347840', '4205903262'], ['1675349568', '3392709766'], ['1675351296', '3433064810'], ['1675353024', '3759978873']], analysis: { rate: 1.715686448E7, total: 3.7058612815E11 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '7369561391'], ['1675183680', '7581865508'], ['1675185408', '7912824524'], ['1675187136', '9032300363'], ['1675188864', '7917531147'], ['1675190592', '7631183906'], ['1675192320', '8246679988'], ['1675194048', '8554299101'], ['1675195776', '7883903079'], ['1675197504', '9031857361'], ['1675199232', '7661890423'], ['1675200960', '8886566417'], ['1675202688', '9019250065'], ['1675204416', '8916375747'], ['1675206144', '8479488817'], ['1675207872', '8219763606'], ['1675209600', '8217171805'], ['1675211328', '8336759307'], ['1675213056', '9353465505'], ['1675214784', '7682132545'], ['1675216512', '8100245348'], ['1675218240', '8100168625'], ['1675219968', '8614738437'], ['1675221696', '8355313295'], ['1675223424', '8951119363'], ['1675225152', '8882541689'], ['1675226880', '8228284971'], ['1675228608', '8291470893'], ['1675230336', '8283731813'], ['1675232064', '8398043347'], ['1675233792', '7973853220'], ['1675235520', '13703005209'], ['1675237248', '8489774773'], ['1675238976', '8259222020'], ['1675240704', '8463042283'], ['1675242432', '8273284467'], ['1675244160', '7625472061'], ['1675245888', '6913302871'], ['1675247616', '7410940675'], ['1675249344', '7824045049'], ['1675251072', '7402226771'], ['1675252800', '8316031061'], ['1675254528', '7813282137'], ['1675256256', '8240617903'], ['1675257984', '7983563297'], ['1675259712', '8494801456'], ['1675261440', '8146768399'], ['1675263168', '8273092765'], ['1675264896', '8029603477'], ['1675266624', '7811366743'], ['1675268352', '7599047914'], ['1675270080', '7739846662'], ['1675271808', '8996551338'], ['1675273536', '8445844664'], ['1675275264', '7643411716'], ['1675276992', '7297063335'], ['1675278720', '7840484023'], ['1675280448', '7895092312'], ['1675282176', '7781709149'], ['1675283904', '8213174770'], ['1675285632', '6948686720'], ['1675287360', '8058979941'], ['1675289088', '7959295076'], ['1675290816', '8342931562'], ['1675292544', '7890729747'], ['1675294272', '8124775981'], ['1675296000', '9073797921'], ['1675297728', '8458548545'], ['1675299456', '8191538286'], ['1675301184', '9051440584'], ['1675302912', '8617530633'], ['1675304640', '7459882915'], ['1675306368', '7712272840'], ['1675308096', '7131792015'], ['1675309824', '8534686770'], ['1675311552', '7032452112'], ['1675313280', '8126943638'], ['1675315008', '7628525105'], ['1675316736', '8179538543'], ['1675318464', '8045196777'], ['1675320192', '6970699521'], ['1675321920', '7634588789'], ['1675323648', '7461903527'], ['1675325376', '8334614663'], ['1675327104', '7947481785'], ['1675328832', '7767817477'], ['1675330560', '7451706424'], ['1675332288', '7851774523'], ['1675334016', '7805064464'], ['1675335744', '8152740246'], ['1675337472', '7345349762'], ['1675339200', '7620051268'], ['1675340928', '7578625871'], ['1675342656', '7432575512'], ['1675344384', '8101138008'], ['1675346112', '6979913422'], ['1675347840', '8055117174'], ['1675349568', '8425690572'], ['1675351296', '7175858020'], ['1675353024', '8582510465']], analysis: { rate: 3.751340312E7, total: 8.1028481811E11 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1152063372'], ['1675183680', '816089654'], ['1675185408', '889381524'], ['1675187136', '1518914261'], ['1675188864', '936045239'], ['1675190592', '890527360'], ['1675192320', '1062813475'], ['1675194048', '893057420'], ['1675195776', '805316139'], ['1675197504', '865817855'], ['1675199232', '1337051022'], ['1675200960', '1323094820'], ['1675202688', '918093022'], ['1675204416', '974409292'], ['1675206144', '1221499013'], ['1675207872', '852239484'], ['1675209600', '1028295137'], ['1675211328', '905035471'], ['1675213056', '1160686881'], ['1675214784', '1066457258'], ['1675216512', '782964312'], ['1675218240', '882604945'], ['1675219968', '861896720'], ['1675221696', '1650609412'], ['1675223424', '1195310046'], ['1675225152', '870859428'], ['1675226880', '971786415'], ['1675228608', '864172496'], ['1675230336', '840337374'], ['1675232064', '1010973454'], ['1675233792', '928181215'], ['1675235520', '1001513720'], ['1675237248', '960498648'], ['1675238976', '1067893630'], ['1675240704', '1438810910'], ['1675242432', '1083718561'], ['1675244160', '920906302'], ['1675245888', '890363120'], ['1675247616', '1118329884'], ['1675249344', '653422905'], ['1675251072', '927813538'], ['1675252800', '937941271'], ['1675254528', '1255903102'], ['1675256256', '883473793'], ['1675257984', '1536384871'], ['1675259712', '869667589'], ['1675261440', '1020451266'], ['1675263168', '861917611'], ['1675264896', '930498335'], ['1675266624', '967959768'], ['1675268352', '823527431'], ['1675270080', '847364141'], ['1675271808', '972941204'], ['1675273536', '986524138'], ['1675275264', '758295795'], ['1675276992', '799931952'], ['1675278720', '928900364'], ['1675280448', '860706729'], ['1675282176', '1331438313'], ['1675283904', '1194277664'], ['1675285632', '971877294'], ['1675287360', '873458218'], ['1675289088', '772449542'], ['1675290816', '1137891669'], ['1675292544', '774151500'], ['1675294272', '1229495516'], ['1675296000', '973689434'], ['1675297728', '1074303268'], ['1675299456', '1107023021'], ['1675301184', '1101332250'], ['1675302912', '1135839078'], ['1675304640', '1399158961'], ['1675306368', '919405551'], ['1675308096', '991916341'], ['1675309824', '918910409'], ['1675311552', '835529341'], ['1675313280', '845288353'], ['1675315008', '889173989'], ['1675316736', '777774217'], ['1675318464', '1000168195'], ['1675320192', '1161465589'], ['1675321920', '1076421226'], ['1675323648', '981676104'], ['1675325376', '1325555966'], ['1675327104', '1696768745'], ['1675328832', '1115038006'], ['1675330560', '958436259'], ['1675332288', '923745960'], ['1675334016', '702238686'], ['1675335744', '923585295'], ['1675337472', '1180442037'], ['1675339200', '1372251737'], ['1675340928', '1230751841'], ['1675342656', '1351630983'], ['1675344384', '1222543360'], ['1675346112', '1049059896'], ['1675347840', '1011820794'], ['1675349568', '833134386'], ['1675351296', '1077473674'], ['1675353024', '1048911408']], analysis: { rate: 4735200.96, total: 1.0227974817E11 } } }, { type: 'packets', Baidu: { values: [['1675180224', '0'], ['1675181952', '223000'], ['1675183680', '265508'], ['1675185408', '350366'], ['1675187136', '310999'], ['1675188864', '510694'], ['1675190592', '308396'], ['1675192320', '203767'], ['1675194048', '255023'], ['1675195776', '255845'], ['1675197504', '287227'], ['1675199232', '292255'], ['1675200960', '270281'], ['1675202688', '241808'], ['1675204416', '294475'], ['1675206144', '279966'], ['1675207872', '200530'], ['1675209600', '231734'], ['1675211328', '287475'], ['1675213056', '235889'], ['1675214784', '333597'], ['1675216512', '239230'], ['1675218240', '226415'], ['1675219968', '275448'], ['1675221696', '831021'], ['1675223424', '286996'], ['1675225152', '236941'], ['1675226880', '345722'], ['1675228608', '251852'], ['1675230336', '281771'], ['1675232064', '406684'], ['1675233792', '226724'], ['1675235520', '247147'], ['1675237248', '407263'], ['1675238976', '475638'], ['1675240704', '314283'], ['1675242432', '283487'], ['1675244160', '272287'], ['1675245888', '227637'], ['1675247616', '209270'], ['1675249344', '194027'], ['1675251072', '309921'], ['1675252800', '227283'], ['1675254528', '269168'], ['1675256256', '257953'], ['1675257984', '289215'], ['1675259712', '276239'], ['1675261440', '269606'], ['1675263168', '194894'], ['1675264896', '212679'], ['1675266624', '251133'], ['1675268352', '327280'], ['1675270080', '304735'], ['1675271808', '249876'], ['1675273536', '338018'], ['1675275264', '293189'], ['1675276992', '216697'], ['1675278720', '255466'], ['1675280448', '214979'], ['1675282176', '246673'], ['1675283904', '576987'], ['1675285632', '247766'], ['1675287360', '395316'], ['1675289088', '256700'], ['1675290816', '261973'], ['1675292544', '285871'], ['1675294272', '295870'], ['1675296000', '244208'], ['1675297728', '292936'], ['1675299456', '268863'], ['1675301184', '324627'], ['1675302912', '215455'], ['1675304640', '346224'], ['1675306368', '336487'], ['1675308096', '307464'], ['1675309824', '233401'], ['1675311552', '272466'], ['1675313280', '222933'], ['1675315008', '403553'], ['1675316736', '328135'], ['1675318464', '277378'], ['1675320192', '275123'], ['1675321920', '294213'], ['1675323648', '282124'], ['1675325376', '316009'], ['1675327104', '319574'], ['1675328832', '284039'], ['1675330560', '215777'], ['1675332288', '260041'], ['1675334016', '232958'], ['1675335744', '270457'], ['1675337472', '589546'], ['1675339200', '293118'], ['1675340928', '252330'], ['1675342656', '226237'], ['1675344384', '232968'], ['1675346112', '205055'], ['1675347840', '267297'], ['1675349568', '243364'], ['1675351296', '298675'], ['1675353024', '196343']], analysis: { rate: 1334.88, total: 2.8833543E7 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3818134'], ['1675183680', '4563920'], ['1675185408', '4132640'], ['1675187136', '4385814'], ['1675188864', '3586636'], ['1675190592', '3504492'], ['1675192320', '4134802'], ['1675194048', '3832888'], ['1675195776', '3864609'], ['1675197504', '4208527'], ['1675199232', '4652086'], ['1675200960', '5709498'], ['1675202688', '3839139'], ['1675204416', '4523660'], ['1675206144', '3659488'], ['1675207872', '4152250'], ['1675209600', '4102703'], ['1675211328', '4533740'], ['1675213056', '4012813'], ['1675214784', '4690927'], ['1675216512', '4919255'], ['1675218240', '3820763'], ['1675219968', '5040527'], ['1675221696', '3675884'], ['1675223424', '5402526'], ['1675225152', '4052783'], ['1675226880', '4058055'], ['1675228608', '4154259'], ['1675230336', '5551875'], ['1675232064', '4246082'], ['1675233792', '3691700'], ['1675235520', '4407249'], ['1675237248', '4579687'], ['1675238976', '4308236'], ['1675240704', '6146600'], ['1675242432', '4267726'], ['1675244160', '4895859'], ['1675245888', '3121889'], ['1675247616', '5703047'], ['1675249344', '4050565'], ['1675251072', '3601406'], ['1675252800', '3689234'], ['1675254528', '4842280'], ['1675256256', '3576063'], ['1675257984', '3717912'], ['1675259712', '4272289'], ['1675261440', '5157266'], ['1675263168', '4171065'], ['1675264896', '4436045'], ['1675266624', '3701600'], ['1675268352', '4597804'], ['1675270080', '3414228'], ['1675271808', '4755984'], ['1675273536', '3751048'], ['1675275264', '5055637'], ['1675276992', '3827549'], ['1675278720', '4837360'], ['1675280448', '4162862'], ['1675282176', '4010427'], ['1675283904', '3688127'], ['1675285632', '4134073'], ['1675287360', '3969197'], ['1675289088', '4069713'], ['1675290816', '4329068'], ['1675292544', '4312185'], ['1675294272', '3469766'], ['1675296000', '4865903'], ['1675297728', '4726677'], ['1675299456', '4227722'], ['1675301184', '4814378'], ['1675302912', '4146704'], ['1675304640', '4013049'], ['1675306368', '5079648'], ['1675308096', '4017690'], ['1675309824', '4692524'], ['1675311552', '3282170'], ['1675313280', '3615970'], ['1675315008', '4284415'], ['1675316736', '4251382'], ['1675318464', '4079501'], ['1675320192', '4306283'], ['1675321920', '4295930'], ['1675323648', '4135408'], ['1675325376', '4797047'], ['1675327104', '3959597'], ['1675328832', '4317743'], ['1675330560', '4789363'], ['1675332288', '3847900'], ['1675334016', '4184459'], ['1675335744', '3418078'], ['1675337472', '3588527'], ['1675339200', '5216648'], ['1675340928', '3616641'], ['1675342656', '4200530'], ['1675344384', '4299724'], ['1675346112', '3842595'], ['1675347840', '4933832'], ['1675349568', '3889067'], ['1675351296', '3877365'], ['1675353024', '4329364']], analysis: { rate: 19699.04, total: 4.25497355E8 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '6799533'], ['1675183680', '7060925'], ['1675185408', '7379460'], ['1675187136', '8301829'], ['1675188864', '7273730'], ['1675190592', '7100779'], ['1675192320', '7752192'], ['1675194048', '7750030'], ['1675195776', '7319904'], ['1675197504', '8290190'], ['1675199232', '7095216'], ['1675200960', '8243937'], ['1675202688', '8306100'], ['1675204416', '8254111'], ['1675206144', '7985829'], ['1675207872', '7638631'], ['1675209600', '7572888'], ['1675211328', '7706519'], ['1675213056', '8679582'], ['1675214784', '7153544'], ['1675216512', '7412147'], ['1675218240', '7590032'], ['1675219968', '7938389'], ['1675221696', '7810497'], ['1675223424', '8432330'], ['1675225152', '8161332'], ['1675226880', '7694075'], ['1675228608', '7682116'], ['1675230336', '7748001'], ['1675232064', '7821867'], ['1675233792', '7729207'], ['1675235520', '11947627'], ['1675237248', '8074533'], ['1675238976', '7806795'], ['1675240704', '7879088'], ['1675242432', '7676938'], ['1675244160', '7130214'], ['1675245888', '6488665'], ['1675247616', '6914394'], ['1675249344', '7332892'], ['1675251072', '6905190'], ['1675252800', '7738099'], ['1675254528', '7244679'], ['1675256256', '7835482'], ['1675257984', '7368797'], ['1675259712', '7812392'], ['1675261440', '7547373'], ['1675263168', '7915780'], ['1675264896', '7490826'], ['1675266624', '7258320'], ['1675268352', '7071557'], ['1675270080', '7269268'], ['1675271808', '8294078'], ['1675273536', '7911350'], ['1675275264', '7071895'], ['1675276992', '6851499'], ['1675278720', '7463798'], ['1675280448', '7319364'], ['1675282176', '7200166'], ['1675283904', '7624110'], ['1675285632', '6484110'], ['1675287360', '7453461'], ['1675289088', '7316779'], ['1675290816', '7768863'], ['1675292544', '7200389'], ['1675294272', '7481637'], ['1675296000', '8573284'], ['1675297728', '7820538'], ['1675299456', '7584761'], ['1675301184', '8417599'], ['1675302912', '8099749'], ['1675304640', '6898692'], ['1675306368', '7197094'], ['1675308096', '6690452'], ['1675309824', '7875615'], ['1675311552', '6586706'], ['1675313280', '7562808'], ['1675315008', '7089669'], ['1675316736', '7616459'], ['1675318464', '7440240'], ['1675320192', '6393045'], ['1675321920', '7136052'], ['1675323648', '6910672'], ['1675325376', '7761117'], ['1675327104', '7337632'], ['1675328832', '7169969'], ['1675330560', '6931424'], ['1675332288', '7250827'], ['1675334016', '7287014'], ['1675335744', '7587844'], ['1675337472', '6816941'], ['1675339200', '7072447'], ['1675340928', '7084394'], ['1675342656', '6866922'], ['1675344384', '7453057'], ['1675346112', '6575739'], ['1675347840', '7473871'], ['1675349568', '7823227'], ['1675351296', '6794326'], ['1675353024', '8025933']], analysis: { rate: 34863.2, total: 7.53041449E8 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1194824'], ['1675183680', '874520'], ['1675185408', '978698'], ['1675187136', '1545349'], ['1675188864', '995660'], ['1675190592', '964558'], ['1675192320', '1132357'], ['1675194048', '933975'], ['1675195776', '872689'], ['1675197504', '954165'], ['1675199232', '1330184'], ['1675200960', '1383990'], ['1675202688', '979732'], ['1675204416', '1120652'], ['1675206144', '1293611'], ['1675207872', '895376'], ['1675209600', '1058540'], ['1675211328', '996617'], ['1675213056', '1285398'], ['1675214784', '1184048'], ['1675216512', '828141'], ['1675218240', '956425'], ['1675219968', '927401'], ['1675221696', '1732940'], ['1675223424', '1255392'], ['1675225152', '942600'], ['1675226880', '1047615'], ['1675228608', '934109'], ['1675230336', '882083'], ['1675232064', '1102657'], ['1675233792', '989123'], ['1675235520', '1078210'], ['1675237248', '1004089'], ['1675238976', '1112246'], ['1675240704', '1357828'], ['1675242432', '1139375'], ['1675244160', '1006102'], ['1675245888', '906401'], ['1675247616', '1160626'], ['1675249344', '717427'], ['1675251072', '979588'], ['1675252800', '984928'], ['1675254528', '1261482'], ['1675256256', '940721'], ['1675257984', '1687111'], ['1675259712', '914218'], ['1675261440', '1050511'], ['1675263168', '950266'], ['1675264896', '997716'], ['1675266624', '1003139'], ['1675268352', '881504'], ['1675270080', '884410'], ['1675271808', '1000046'], ['1675273536', '1058272'], ['1675275264', '830253'], ['1675276992', '869953'], ['1675278720', '1007729'], ['1675280448', '947868'], ['1675282176', '1228764'], ['1675283904', '1206030'], ['1675285632', '1050310'], ['1675287360', '922042'], ['1675289088', '827866'], ['1675290816', '1219546'], ['1675292544', '889108'], ['1675294272', '1221466'], ['1675296000', '1024271'], ['1675297728', '1158810'], ['1675299456', '1158765'], ['1675301184', '1152618'], ['1675302912', '1202723'], ['1675304640', '1451502'], ['1675306368', '957862'], ['1675308096', '1056933'], ['1675309824', '989023'], ['1675311552', '905790'], ['1675313280', '911109'], ['1675315008', '934888'], ['1675316736', '870895'], ['1675318464', '1054094'], ['1675320192', '1181781'], ['1675321920', '1145989'], ['1675323648', '1045330'], ['1675325376', '1403359'], ['1675327104', '1835335'], ['1675328832', '1178441'], ['1675330560', '1039693'], ['1675332288', '981454'], ['1675334016', '769723'], ['1675335744', '987426'], ['1675337472', '1217419'], ['1675339200', '1416718'], ['1675340928', '1317407'], ['1675342656', '1367354'], ['1675344384', '1294205'], ['1675346112', '1051390'], ['1675347840', '1116220'], ['1675349568', '879904'], ['1675351296', '1102655'], ['1675353024', '1129891']], analysis: { rate: 5007.52, total: 1.08161557E8 } } }, { type: 'sessions', Baidu: { values: [['1675180224', '0'], ['1675181952', '2045'], ['1675183680', '1954'], ['1675185408', '2133'], ['1675187136', '2110'], ['1675188864', '2060'], ['1675190592', '1923'], ['1675192320', '2101'], ['1675194048', '2039'], ['1675195776', '2082'], ['1675197504', '2080'], ['1675199232', '2059'], ['1675200960', '2054'], ['1675202688', '2197'], ['1675204416', '2154'], ['1675206144', '2252'], ['1675207872', '2155'], ['1675209600', '2116'], ['1675211328', '2145'], ['1675213056', '2212'], ['1675214784', '2121'], ['1675216512', '1874'], ['1675218240', '1899'], ['1675219968', '1910'], ['1675221696', '2065'], ['1675223424', '2075'], ['1675225152', '1924'], ['1675226880', '2037'], ['1675228608', '2128'], ['1675230336', '1964'], ['1675232064', '1982'], ['1675233792', '1964'], ['1675235520', '1963'], ['1675237248', '2045'], ['1675238976', '2166'], ['1675240704', '2040'], ['1675242432', '2082'], ['1675244160', '1898'], ['1675245888', '1845'], ['1675247616', '2016'], ['1675249344', '1940'], ['1675251072', '1850'], ['1675252800', '1974'], ['1675254528', '2060'], ['1675256256', '2070'], ['1675257984', '2018'], ['1675259712', '1920'], ['1675261440', '1844'], ['1675263168', '1872'], ['1675264896', '1738'], ['1675266624', '1920'], ['1675268352', '1810'], ['1675270080', '1923'], ['1675271808', '1890'], ['1675273536', '1862'], ['1675275264', '2070'], ['1675276992', '1897'], ['1675278720', '1917'], ['1675280448', '1943'], ['1675282176', '1883'], ['1675283904', '2095'], ['1675285632', '1850'], ['1675287360', '2139'], ['1675289088', '1987'], ['1675290816', '2228'], ['1675292544', '2032'], ['1675294272', '2219'], ['1675296000', '2241'], ['1675297728', '2188'], ['1675299456', '2230'], ['1675301184', '2031'], ['1675302912', '2058'], ['1675304640', '1921'], ['1675306368', '1832'], ['1675308096', '1668'], ['1675309824', '1833'], ['1675311552', '1792'], ['1675313280', '1793'], ['1675315008', '1901'], ['1675316736', '1752'], ['1675318464', '1858'], ['1675320192', '1740'], ['1675321920', '1826'], ['1675323648', '1966'], ['1675325376', '1927'], ['1675327104', '1981'], ['1675328832', '1954'], ['1675330560', '1733'], ['1675332288', '1758'], ['1675334016', '1900'], ['1675335744', '1898'], ['1675337472', '1890'], ['1675339200', '1986'], ['1675340928', '2070'], ['1675342656', '1963'], ['1675344384', '1944'], ['1675346112', '1858'], ['1675347840', '1990'], ['1675349568', '1978'], ['1675351296', '2108'], ['1675353024', '1876']], analysis: { rate: 9.2, total: 198264.0 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '4160'], ['1675183680', '4083'], ['1675185408', '4093'], ['1675187136', '4451'], ['1675188864', '4512'], ['1675190592', '3742'], ['1675192320', '4244'], ['1675194048', '4253'], ['1675195776', '4279'], ['1675197504', '4939'], ['1675199232', '4171'], ['1675200960', '4387'], ['1675202688', '4622'], ['1675204416', '4475'], ['1675206144', '4626'], ['1675207872', '4229'], ['1675209600', '4338'], ['1675211328', '4460'], ['1675213056', '4329'], ['1675214784', '4605'], ['1675216512', '4549'], ['1675218240', '4514'], ['1675219968', '4797'], ['1675221696', '4822'], ['1675223424', '5130'], ['1675225152', '4586'], ['1675226880', '4598'], ['1675228608', '4867'], ['1675230336', '4666'], ['1675232064', '4783'], ['1675233792', '4255'], ['1675235520', '4168'], ['1675237248', '4250'], ['1675238976', '4008'], ['1675240704', '4517'], ['1675242432', '4226'], ['1675244160', '4085'], ['1675245888', '3583'], ['1675247616', '4062'], ['1675249344', '4120'], ['1675251072', '3765'], ['1675252800', '3811'], ['1675254528', '4096'], ['1675256256', '3880'], ['1675257984', '4416'], ['1675259712', '4364'], ['1675261440', '4347'], ['1675263168', '4279'], ['1675264896', '3914'], ['1675266624', '4422'], ['1675268352', '4189'], ['1675270080', '4180'], ['1675271808', '4505'], ['1675273536', '4504'], ['1675275264', '4560'], ['1675276992', '4234'], ['1675278720', '4241'], ['1675280448', '3834'], ['1675282176', '4208'], ['1675283904', '3993'], ['1675285632', '3594'], ['1675287360', '4235'], ['1675289088', '4100'], ['1675290816', '4481'], ['1675292544', '4852'], ['1675294272', '4473'], ['1675296000', '4467'], ['1675297728', '4529'], ['1675299456', '4335'], ['1675301184', '4385'], ['1675302912', '4452'], ['1675304640', '4570'], ['1675306368', '4463'], ['1675308096', '3981'], ['1675309824', '4338'], ['1675311552', '4032'], ['1675313280', '4292'], ['1675315008', '4494'], ['1675316736', '4300'], ['1675318464', '4781'], ['1675320192', '4240'], ['1675321920', '4651'], ['1675323648', '4682'], ['1675325376', '4630'], ['1675327104', '3965'], ['1675328832', '4295'], ['1675330560', '4559'], ['1675332288', '4316'], ['1675334016', '4281'], ['1675335744', '4326'], ['1675337472', '4476'], ['1675339200', '4688'], ['1675340928', '4199'], ['1675342656', '4440'], ['1675344384', '4481'], ['1675346112', '4403'], ['1675347840', '4563'], ['1675349568', '4580'], ['1675351296', '4591'], ['1675353024', '4252']], analysis: { rate: 20.16, total: 435098.0 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '9660'], ['1675183680', '10163'], ['1675185408', '10437'], ['1675187136', '10493'], ['1675188864', '10058'], ['1675190592', '9670'], ['1675192320', '10173'], ['1675194048', '10109'], ['1675195776', '10301'], ['1675197504', '10879'], ['1675199232', '10491'], ['1675200960', '10796'], ['1675202688', '10615'], ['1675204416', '11054'], ['1675206144', '11036'], ['1675207872', '10498'], ['1675209600', '10504'], ['1675211328', '10911'], ['1675213056', '11053'], ['1675214784', '10541'], ['1675216512', '10122'], ['1675218240', '10506'], ['1675219968', '10752'], ['1675221696', '11017'], ['1675223424', '11052'], ['1675225152', '10610'], ['1675226880', '10862'], ['1675228608', '10897'], ['1675230336', '10748'], ['1675232064', '10806'], ['1675233792', '10589'], ['1675235520', '10160'], ['1675237248', '10590'], ['1675238976', '10022'], ['1675240704', '10218'], ['1675242432', '10319'], ['1675244160', '10392'], ['1675245888', '9096'], ['1675247616', '9688'], ['1675249344', '9996'], ['1675251072', '9730'], ['1675252800', '9606'], ['1675254528', '9726'], ['1675256256', '9635'], ['1675257984', '10247'], ['1675259712', '10242'], ['1675261440', '10328'], ['1675263168', '9738'], ['1675264896', '9720'], ['1675266624', '10521'], ['1675268352', '9414'], ['1675270080', '9936'], ['1675271808', '10447'], ['1675273536', '10840'], ['1675275264', '10020'], ['1675276992', '9910'], ['1675278720', '10333'], ['1675280448', '10341'], ['1675282176', '9771'], ['1675283904', '9946'], ['1675285632', '8611'], ['1675287360', '10287'], ['1675289088', '10168'], ['1675290816', '10858'], ['1675292544', '10252'], ['1675294272', '9988'], ['1675296000', '10610'], ['1675297728', '10408'], ['1675299456', '10594'], ['1675301184', '10363'], ['1675302912', '10647'], ['1675304640', '10022'], ['1675306368', '10571'], ['1675308096', '9479'], ['1675309824', '10015'], ['1675311552', '9625'], ['1675313280', '9858'], ['1675315008', '10435'], ['1675316736', '10623'], ['1675318464', '10332'], ['1675320192', '9246'], ['1675321920', '10265'], ['1675323648', '10308'], ['1675325376', '10266'], ['1675327104', '10017'], ['1675328832', '9931'], ['1675330560', '10591'], ['1675332288', '9971'], ['1675334016', '10590'], ['1675335744', '10745'], ['1675337472', '9874'], ['1675339200', '10143'], ['1675340928', '10501'], ['1675342656', '10829'], ['1675344384', '10524'], ['1675346112', '9595'], ['1675347840', '10187'], ['1675349568', '10652'], ['1675351296', '10072'], ['1675353024', '10234']], analysis: { rate: 47.52, total: 1026622.0 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '6259'], ['1675183680', '5994'], ['1675185408', '6400'], ['1675187136', '6495'], ['1675188864', '6432'], ['1675190592', '6382'], ['1675192320', '7069'], ['1675194048', '6016'], ['1675195776', '6542'], ['1675197504', '6274'], ['1675199232', '6580'], ['1675200960', '6660'], ['1675202688', '6121'], ['1675204416', '6612'], ['1675206144', '6465'], ['1675207872', '7281'], ['1675209600', '7306'], ['1675211328', '6455'], ['1675213056', '6976'], ['1675214784', '8342'], ['1675216512', '5635'], ['1675218240', '6527'], ['1675219968', '6182'], ['1675221696', '7297'], ['1675223424', '6458'], ['1675225152', '6446'], ['1675226880', '6260'], ['1675228608', '6424'], ['1675230336', '6584'], ['1675232064', '6260'], ['1675233792', '7646'], ['1675235520', '6740'], ['1675237248', '6407'], ['1675238976', '6809'], ['1675240704', '5862'], ['1675242432', '6052'], ['1675244160', '6395'], ['1675245888', '5817'], ['1675247616', '5452'], ['1675249344', '5573'], ['1675251072', '5614'], ['1675252800', '6100'], ['1675254528', '6085'], ['1675256256', '6413'], ['1675257984', '8435'], ['1675259712', '5928'], ['1675261440', '6034'], ['1675263168', '6818'], ['1675264896', '5718'], ['1675266624', '5842'], ['1675268352', '5789'], ['1675270080', '6738'], ['1675271808', '6023'], ['1675273536', '6160'], ['1675275264', '6088'], ['1675276992', '6252'], ['1675278720', '6782'], ['1675280448', '6569'], ['1675282176', '6028'], ['1675283904', '6243'], ['1675285632', '5515'], ['1675287360', '6350'], ['1675289088', '5872'], ['1675290816', '6445'], ['1675292544', '6173'], ['1675294272', '6579'], ['1675296000', '6547'], ['1675297728', '6635'], ['1675299456', '7510'], ['1675301184', '7063'], ['1675302912', '6524'], ['1675304640', '7073'], ['1675306368', '7444'], ['1675308096', '6280'], ['1675309824', '5793'], ['1675311552', '6172'], ['1675313280', '6252'], ['1675315008', '5648'], ['1675316736', '6324'], ['1675318464', '6242'], ['1675320192', '5861'], ['1675321920', '6722'], ['1675323648', '6581'], ['1675325376', '6184'], ['1675327104', '7407'], ['1675328832', '7587'], ['1675330560', '5659'], ['1675332288', '6138'], ['1675334016', '5978'], ['1675335744', '6513'], ['1675337472', '6154'], ['1675339200', '5983'], ['1675340928', '6780'], ['1675342656', '6356'], ['1675344384', '6301'], ['1675346112', '5765'], ['1675347840', '6199'], ['1675349568', '6272'], ['1675351296', '7894'], ['1675353024', '6256']], analysis: { rate: '', total: '' } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT1728S%27%2C%27zero%27%29%20AS%20stat_time%2C%20app_company%20AS%20app_company%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29%20AND%20stat_time%20%3C%20toDateTime%281675353599%29%20AND%20app_company%20IN%20%28%20%27Bytedance%27%2C%27Tencent%27%2C%27Alibaba%27%2C%27Baidu%27%20%29%20GROUP%20BY%20stat_time%2Capp_company%20ORDER%20BY%20stat_time%20ASC&format=json&option=real-time', msg: 'OK' } -} - -const mockGet4 = { - data: { code: 200, data: { total: 31, pageSize: 24, pages: 2, pageNo: 1, list: [{ id: 5568, name: '供应商', type: 'overviewProvide', code: '1', value: 'Alibaba', sort: 0, remark: 'Alibaba Group Holding Limited, also known as Alibaba, is a Chinese multinational technology company specializing in e-commerce, retail, Internet, and technology.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5569, name: '供应商', type: 'overviewProvide', code: '1', value: 'Tencent', sort: 0, remark: 'Tencent Holdings Ltd. is a Chinese multinational technology and entertainment conglomerate and holding company headquartered in Shenzhen. It is one of the highest grossing multimedia companies in the world based on revenue.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5570, name: '供应商', type: 'overviewProvide', code: '1', value: 'Baidu', sort: 0, remark: "Baidu, Inc. is a Chinese multinational technology company specializing in Internet-related services and products and artificial intelligence, headquartered in Beijing's Haidian District. It is one of the largest AI and Internet companies in the world.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5571, name: '供应商', type: 'overviewProvide', code: '1', value: 'Jingdong', sort: 0, remark: 'JD.com, Inc., also known as Jingdong and formerly called 360buy, is a Chinese e-commerce company headquartered in Beijing. It is one of the two massive B2C online retailers in China by transaction volume and revenue, a member of the Fortune Global 500 and a major competitor to Alibaba-run Tmall.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5572, name: '供应商', type: 'overviewProvide', code: '1', value: 'Meituan', sort: 0, remark: 'Meituan operates as a web based shopping platform for locally found consumer products and retail services. The Company offers deals of the day by selling vouchers on local services and entertainment, dining, delivery, and other services. Meituan provides its services throughout China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5573, name: '供应商', type: 'overviewProvide', code: '1', value: 'Bytedance', sort: 0, remark: 'ByteDance Ltd. is a Chinese multinational internet technology company headquartered in Beijing and incorporated in the Cayman Islands.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5574, name: '供应商', type: 'overviewProvide', code: '1', value: 'Pinduoduo', sort: 0, remark: 'Pinduoduo Inc. is the largest Chinese agricultural-focused technology platform. It has created a platform that connects farmers and distributors with consumers directly through its interactive shopping experience.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5575, name: '供应商', type: 'overviewProvide', code: '1', value: 'Netease', sort: 0, remark: 'NetEase, Inc. is a Chinese Internet technology company providing online services centered on content, community, communications, and commerce.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5576, name: '供应商', type: 'overviewProvide', code: '1', value: 'Kuaishou', sort: 0, remark: "Kuaishou is a video-sharing mobile app that is developed by Beijing Kuaishou Technology Co., Ltd. It is popular with users outside China's Tier 1 cities.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5577, name: '供应商', type: 'overviewProvide', code: '1', value: '360cn', sort: 0, remark: 'Qihoo 360, full name Qihoo 360 Technology Co. Ltd., is a Chinese internet security company that has developed the antivirus software programs 360 Safeguard and 360 Mobile Safe, the Web browser 360 Secure Browser, and the mobile application store 360 Mobile Assistant.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5578, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaomi', sort: 0, remark: 'Xiaomi Corporation, commonly known as Xiaomi and registered in Asia as Xiaomi Inc., is a Chinese designer and manufacturer of consumer electronics and related software, home appliances, and household items.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5580, name: '供应商', type: 'overviewProvide', code: '1', value: 'Huawei', sort: 0, remark: 'Huawei Technologies Co., Ltd. is a Chinese multinational technology corporation headquartered in Shenzhen, Guangdong, China. It designs, develops, produces and sells telecommunications equipment, consumer electronics and various smart devices.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5581, name: '供应商', type: 'overviewProvide', code: '1', value: 'Beike', sort: 0, remark: 'KE Holdings Inc is a China-based holding company engaged in housing transactions and related services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5582, name: '供应商', type: 'overviewProvide', code: '1', value: 'Aiqiyi', sort: 0, remark: 'iQIYI, Inc. is an innovative market-leading online entertainment service in China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5583, name: '供应商', type: 'overviewProvide', code: '1', value: 'Ctrip', sort: 0, remark: 'Trip.com Group Limited is a Chinese multinational online travel company that provides services including accommodation reservation, transportation ticketing, packaged tours and corporate travel management.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5584, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sohu', sort: 0, remark: 'Sohu, Inc. is a Chinese Internet company headquartered in the Sohu Internet Plaza in Haidian District, Beijing.[4][5] Sohu and its subsidiaries offer advertising, a search engine (Sogou.com), on-line multiplayer gaming (ChangYou.com) and other services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5585, name: '供应商', type: 'overviewProvide', code: '1', value: 'YY', sort: 0, remark: 'YY is a major Chinese video-based social network, a subsidiary of JOYY.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5586, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaohongshu', sort: 0, remark: 'Xiaohongshu, also known as Little Red Book is a social media and e-commerce platform. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5587, name: '供应商', type: 'overviewProvide', code: '1', value: 'Apple', sort: 0, remark: 'Apple Inc. is an American multinational technology company that specializes in consumer electronics, software and online services headquartered in Cupertino, California, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5588, name: '供应商', type: 'overviewProvide', code: '1', value: 'Microsoft', sort: 0, remark: 'Microsoft Corporation is an American multinational technology corporation which produces computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washington, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5589, name: '供应商', type: 'overviewProvide', code: '1', value: 'Steam', sort: 0, remark: 'Steam parent company Valve has enjoyed enormous success as a game developer, thanks to titles like Half-Life, Counter-Strike: Global Offensive, and Dota 2.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5590, name: '供应商', type: 'overviewProvide', code: '1', value: 'Cibn', sort: 0, remark: 'China International Radio and Television Network (CIBN for short) is a new media international communication platform established by China Radio International.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5591, name: '供应商', type: 'overviewProvide', code: '1', value: 'Amazon', sort: 0, remark: 'Amazon.com, Inc. is an American multinational technology company which focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-06 01:39:14', message: 'success' } -} - -const mockGet5 = { - data: { code: 200, data: { total: 3493, pageSize: 24, pages: 146, pageNo: 1, list: [{ id: 2304, name: '应用名', type: 'overviewApp', code: '1', value: 'avoidr', sort: 0, remark: 'Avoidr is a free web proxy', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2560, name: '应用名', type: 'overviewApp', code: '1', value: 'google_translate', sort: 0, remark: 'Google Translate is the Google translation tool', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2816, name: '应用名', type: 'overviewApp', code: '1', value: 'taobao', sort: 0, remark: 'Taobao is a chinese shopping website', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3328, name: '应用名', type: 'overviewApp', code: '1', value: 'searchnu', sort: 0, remark: 'Browser toolbar search engine', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3584, name: '应用名', type: 'overviewApp', code: '1', value: 'standardmedia', sort: 0, remark: 'Kenyan news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3840, name: '应用名', type: 'overviewApp', code: '1', value: 'mocean', sort: 0, remark: 'MOcean is a advertising agency', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4096, name: '应用名', type: 'overviewApp', code: '1', value: 'elnuevoherald', sort: 0, remark: 'Cuban news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4352, name: '应用名', type: 'overviewApp', code: '1', value: 'millardayo', sort: 0, remark: 'Global news portal in Tanzania', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4608, name: '应用名', type: 'overviewApp', code: '1', value: 'thadinatin', sort: 0, remark: 'Popular infotainment portal in Myanmar', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4864, name: '应用名', type: 'overviewApp', code: '1', value: 'iec104', sort: 0, remark: 'IEC 60870-5-104 protocol (aka IEC 104) is a part of IEC Telecontrol Equipment and Systems Standard IEC 60870-5 that provides a communication profile for sending basic telecontrol messages between two systems in electrical engineering and power system automation', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5120, name: '应用名', type: 'overviewApp', code: '1', value: 'agora_io', sort: 0, remark: 'Agora SDK is a WebRTC framework', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5376, name: '应用名', type: 'overviewApp', code: '1', value: 'LaowangVPN', sort: 0, uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2305, name: '应用名', type: 'overviewApp', code: '1', value: 'surrogafier', sort: 0, remark: 'Surrogafier is an online proxy provider This protocol plug-in classifies the http traffic to the hosts surrogafierinfo and govfservercom', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2561, name: '应用名', type: 'overviewApp', code: '1', value: 'gyao', sort: 0, remark: 'GyaO is a video website operated by Yahoo Japan', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2817, name: '应用名', type: 'overviewApp', code: '1', value: 'cvs', sort: 0, remark: 'The Concurrent Versions System keeps track of all work and all changes in a set of files typically the implementation of a software project and allows several developers to collaborate', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3073, name: '应用名', type: 'overviewApp', code: '1', value: 'ifeng_finance', sort: 0, remark: 'Ifeng finance news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3329, name: '应用名', type: 'overviewApp', code: '1', value: 'panet', sort: 0, remark: 'News and entertainment web portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3585, name: '应用名', type: 'overviewApp', code: '1', value: 'tasweernews', sort: 0, remark: 'Jordanian news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3841, name: '应用名', type: 'overviewApp', code: '1', value: 'turner', sort: 0, remark: 'Turner is a video streaming solution provider for audio/video content web services', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4097, name: '应用名', type: 'overviewApp', code: '1', value: 'listindiario', sort: 0, remark: 'Dominican republic news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4353, name: '应用名', type: 'overviewApp', code: '1', value: 'teletica', sort: 0, remark: 'TV calendar service and news web portal in Costa Rica', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4609, name: '应用名', type: 'overviewApp', code: '1', value: 'torrent9', sort: 0, remark: 'Popular torrent file (P2P) search engine and download web site', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4865, name: '应用名', type: 'overviewApp', code: '1', value: 'vonage_mobile', sort: 0, remark: 'Vonage Mobile is an instant messaging application that provides feature to make landline or international calls', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 02:12:00', message: 'success' } -} - -const mockGet6 = { - data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 07:46:05', message: 'success' } -} - -const mockGet7 = { - data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 09:37:55', message: 'success' } -} - -const chart = { id: 5, name: 'network overview apps', i18n: '', panelId: 1, pid: 0, type: 103, x: 0, y: 6, w: 19, h: 8, params: { app: [{ user: 'default', list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Tencent' }] }, { user: 5, list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Tencent' }, { type: 'provider', name: 'Alibaba' }, { type: 'provider', name: 'Baidu' }] }, { user: 1, list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Tencent' }, { type: 'provider', name: 'Jingdong' }, { type: 'provider', name: 'Akamai' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Baidu' }, { type: 'provider', name: 'Huawei' }, { type: 'app', name: 'taobao', appShow: true }] }] }, cby: 1, ctime: '2022-07-06 17:22:22', uby: 1, utime: '2022-11-08 08:19:52', remark: '', state: 1, system: 0, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null }, cuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null }, children: [], parent: null, panel: { id: 1, name: 'Network Overview', i18n: null, type: null, params: null, cby: null, ctime: null, uby: null, utime: null, remark: null, state: null, buildIn: null, uuser: null, cuser: null }, i: 5, category: 'echarts', firstShow: false, moved: false } +const chart = mockData.common.chart const linkInfo = 5 @@ -46,29 +15,31 @@ const timeFilter = { } let wrapper = null + /** * 进行axios请求,并挂载vue实例 * 模拟localStorage获取数据 * ElementPlus * @param Metric */ -function axiosPostAndMounted (Metric) { +function axiosPostAndMounted (Metric, flag, data) { require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟localStorage获取数据 // eslint-disable-next-line no-proto - jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(key => linkInfo) - // 模拟 axios 数据 - axios.get.mockResolvedValueOnce(mockGet) - axios.get.mockResolvedValueOnce(mockGet1) + jest.spyOn(localStorage.__proto__, 'getItem').mockImplementation(() => linkInfo) - axios.get.mockResolvedValueOnce(mockGet2) - axios.get.mockResolvedValueOnce(mockGet3) - - axios.get.mockResolvedValueOnce(mockGet4) - axios.get.mockResolvedValueOnce(mockGet5) - - axios.get.mockResolvedValueOnce(mockGet6) - axios.get.mockResolvedValueOnce(mockGet7) + if (flag === 'empty') { + for (let i = 0; i < 8; i++) { + axios.get.mockResolvedValueOnce(data) + } + } else if (flag === 'boundary') { + data.forEach(item => { + axios.get.mockResolvedValueOnce(item) + }) + } else { + mockData.common.mockGet.forEach(item => { + axios.get.mockResolvedValueOnce(item) + }) + } wrapper = mount(NetworkOverviewApps, { propsData: { @@ -360,4 +331,120 @@ describe('views/charts2/charts/networkOverview/NetworkOverviewApps.vue测试', ( resolve() }, 500)) }) + test('Providers and Applications 列表信息 Metric:Bits/s无数据', async () => { + axiosPostAndMounted('Bits/s', 'empty', mockData.empty) + await new Promise(resolve => setTimeout(async () => { + const testName0 = wrapper.get('[test-id="name0"]') + const testName1 = wrapper.get('[test-id="name1"]') + const testName2 = wrapper.get('[test-id="name6"]') + const testName3 = wrapper.get('[test-id="name7"]') + + expect(testName0.text()).toEqual('douyin') + expect(testName1.text()).toEqual('kuaishou') + expect(testName2.text()).toEqual('Alibaba') + expect(testName3.text()).toEqual('Baidu') + + const testIcon0 = wrapper.get('[test-id="icon0"]') + const testIcon1 = wrapper.get('[test-id="icon1"]') + const testIcon2 = wrapper.get('[test-id="icon6"]') + const testIcon3 = wrapper.get('[test-id="icon7"]') + + expect(testIcon0.classes()).toContain('cn-icon-app2') + expect(testIcon1.classes()).toContain('cn-icon-app2') + expect(testIcon2.classes()).toContain('cn-icon-entity') + expect(testIcon3.classes()).toContain('cn-icon-entity') + // + const testrate0 = wrapper.get('[test-id="rate0"]') + const testrate1 = wrapper.get('[test-id="rate1"]') + const testrate2 = wrapper.get('[test-id="rate6"]') + const testrate3 = wrapper.get('[test-id="rate7"]') + + expect(testrate0.text()).toEqual('-') + expect(testrate1.text()).toEqual('-') + expect(testrate2.text()).toEqual('-') + expect(testrate3.text()).toEqual('-') + + const testTotal0 = wrapper.get('[test-id="total0"]') + const testTotal1 = wrapper.get('[test-id="total1"]') + const testTotal2 = wrapper.get('[test-id="total6"]') + const testTotal3 = wrapper.get('[test-id="total7"]') + + expect(testTotal0.text()).toEqual('-') + expect(testTotal1.text()).toEqual('-') + expect(testTotal2.text()).toEqual('-') + expect(testTotal3.text()).toEqual('-') + + // 模拟点击 add 新增 + const testAdd0 = wrapper.find('[test-id="add"]') + await testAdd0.trigger('click') + expect(wrapper.vm.showAddApp).toBe(true) + await wrapper.vm.$nextTick() + + const noData = wrapper.get('[test-id="noData"]') + expect(noData.text()).toBe('npm.noData') + resolve() + }, 200)) + }) + test('Providers and Applications 列表信息 Metric:Packets/s 0或大数值', async () => { + axiosPostAndMounted('Packets/s', 'boundary', mockData.boundary.data) + + await new Promise(resolve => setTimeout(async () => { + const testName0 = wrapper.get('[test-id="name0"]') + const testName1 = wrapper.get('[test-id="name1"]') + const testName2 = wrapper.get('[test-id="name6"]') + const testName3 = wrapper.get('[test-id="name7"]') + + expect(testName0.text()).toEqual('douyin') + expect(testName1.text()).toEqual('kuaishou') + expect(testName2.text()).toEqual('Alibaba') + expect(testName3.text()).toEqual('Baidu') + + const testIcon0 = wrapper.get('[test-id="icon0"]') + const testIcon1 = wrapper.get('[test-id="icon1"]') + const testIcon2 = wrapper.get('[test-id="icon6"]') + const testIcon3 = wrapper.get('[test-id="icon7"]') + const testIcon4 = wrapper.get('[test-id="icon2"]') + + expect(testIcon0.classes()).toContain('cn-icon-app2') + expect(testIcon1.classes()).toContain('cn-icon-app2') + expect(testIcon4.classes()).toContain('cn-icon-app2') + expect(testIcon2.classes()).toContain('cn-icon-entity') + expect(testIcon3.classes()).toContain('cn-icon-entity') + + const testrate0 = wrapper.get('[test-id="rate0"]') + const testrate1 = wrapper.get('[test-id="rate1"]') + const testrate2 = wrapper.get('[test-id="rate6"]') + const testrate3 = wrapper.get('[test-id="rate7"]') + const testrate4 = wrapper.get('[test-id="rate2"]') + + expect(testrate0.text()).toEqual('31.33 G') + expect(testrate1.text()).toEqual('84.59 T') + expect(testrate2.text()).toEqual('500.75 K') + expect(testrate3.text()).toEqual('0') + expect(testrate4.text()).toEqual('-') + + const testPercent0 = wrapper.get('[test-id="percent0"]') + const testPercent1 = wrapper.get('[test-id="percent1"]') + const testPercent2 = wrapper.get('[test-id="percent6"]') + const testPercent3 = wrapper.get('[test-id="percent7"]') + + expect(testPercent0.text()).toEqual('-87.48%') + expect(testPercent1.text()).toEqual('>500.00%') + expect(testPercent2.text()).toEqual('>500.00%') + expect(testPercent3.text()).toEqual('-100.00%') + + const testTotal0 = wrapper.get('[test-id="total0"]') + const testTotal1 = wrapper.get('[test-id="total1"]') + const testTotal2 = wrapper.get('[test-id="total6"]') + const testTotal3 = wrapper.get('[test-id="total7"]') + const testTotal4 = wrapper.get('[test-id="total2"]') + + expect(testTotal0.text()).toEqual('67.68 P') + expect(testTotal1.text()).toEqual('18.27 P') + expect(testTotal2.text()).toEqual('10.82 P') + expect(testTotal3.text()).toEqual('288.34 T') + expect(testTotal4.text()).toEqual('-') + resolve() + }, 300)) + }) }) diff --git a/test/views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.test.js b/test/views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.test.js index d5212652..a61d57c1 100644 --- a/test/views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.test.js +++ b/test/views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.test.js @@ -1,28 +1,38 @@ import NetworkOverviewDdosDetection from '@/views/charts2/charts/networkOverview/NetworkOverviewDdosDetection' import { mount } from '@vue/test-utils' import axios from 'axios' +import { mockData } from './mockData/NetworkOverviewDdosDetection' -const mockGet = { - data: { status: 200, code: 200, queryKey: 'dec6723e173e8fa2b00917dc597bfb27', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 58, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'attack_event_count', type: 'long', category: 'Metric' }, { name: 'attacker_count', type: 'long', category: 'Metric' }, { name: 'victim_count', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ attackEventCount: 1200000, attackerCount: 2687878, victimCount: 36676767 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20COUNT%28*%29%20AS%20attack_event_count%2C%20COUNT%28DISTINCT%28offender_ip%29%29%20AS%20attacker_count%2C%20COUNT%28DISTINCT%28victim_ip%29%29%20AS%20victim_count%20FROM%20security_event%20WHERE%20start_time%20%3E%3D%201675043912%20AND%20start_time%20%3C%201675047512%20AND%20security_type%20%3D%20%27ddos%27&format=json&option=real-time', msg: 'OK' } -} +const mockGet = mockData.common const timeFilter = { dateRangeValue: -1, startTime: 1675043912, endTime: 1675047512 } +let wrapper = null + +/** + * 进行axios请求,并挂载vue实例 + * @param data + */ +function axiosPostAndMounted (data) { + require('vue-router').useRoute.mockReturnValue({ query: {} }) + const _data = data || mockGet + axios.get.mockResolvedValue(_data) + + // 加载vue组件,获得实例 + wrapper = mount(NetworkOverviewDdosDetection, { + propsData: { + timeFilter + } + }) +} describe('views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.vue测试', () => { test('攻击、受害、攻击数事件:ddos检测图', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 返回数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NetworkOverviewDdosDetection, { - propsData: { - timeFilter - } - }) + axiosPostAndMounted() + const attackEventCount = wrapper.get('[test-id="attackEventCount"]') const attackerCount = wrapper.get('[test-id="attackerCount"]') const victimCount = wrapper.get('[test-id="victimCount"]') @@ -34,4 +44,27 @@ describe('views/charts2/charts/networkOverview/NetworkOverviewDdosDetection.vue resolve() }, 200)) }) + test('攻击、受害、攻击数事件:ddos检测图无数据', async () => { + axiosPostAndMounted(mockData.empty) + + await new Promise(resolve => setTimeout(() => { + const noData = wrapper.get('[test-id="noData"]') + expect(noData.text()).toBe('npm.noData') + resolve() + }, 200)) + }) + test('攻击、受害、攻击数事件:ddos检测图数据为0或极大值', async () => { + axiosPostAndMounted(mockData.boundary) + + await new Promise(resolve => setTimeout(() => { + const attackEventCount = wrapper.get('[test-id="attackEventCount"]') + const attackerCount = wrapper.get('[test-id="attackerCount"]') + const victimCount = wrapper.get('[test-id="victimCount"]') + + expect(attackEventCount.text()).toEqual('120.00 G') + expect(attackerCount.text()).toEqual('0') + expect(victimCount.text()).toEqual('3.67 T') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewApps.js b/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewApps.js new file mode 100644 index 00000000..1edf9e11 --- /dev/null +++ b/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewApps.js @@ -0,0 +1,38 @@ +export const mockData = { + common: { + mockGet: [ + { data: { status: 200, code: 200, queryKey: 'd9f5b7769b8c9025354794d6eb053f5c', success: true, message: null, statistics: { elapsed: 8, rows_read: 151581, bytes_read: 9780720, result_size: 364, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { rate: 1010.16, total: 21819167 }, douyin: { rate: '0', total: 589724424997 }, kuaishou: { rate: 7390882.56, total: 159642139901 } }, { type: 'packets', qq: { rate: 2.64, total: 57117 }, douyin: { rate: 25025.84, total: 540554929 }, kuaishou: { rate: 6813.36, total: 147167390 } }, { type: 'sessions', qq: { rate: 0.08, total: 2042 }, douyin: { rate: 25.04, total: 541472 }, kuaishou: { rate: 5.04, total: 108589 } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675180800-172799%20AND%20stat_time%20%3C%201675353599-172799%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20app_label&format=json&option=real-time', msg: 'OK' } }, + { data: { status: 200, code: 200, queryKey: '0d6d3c03e630309af3ff000a353145bc', success: true, message: null, statistics: { elapsed: 40, rows_read: 633867, bytes_read: 23030397, result_size: 43140, result_rows: 404 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { values: [['1675180224', '0'], ['1675181952', '227614'], ['1675183680', '38412'], ['1675185408', '116041'], ['1675187136', '128653'], ['1675188864', '135713'], ['1675190592', '122184'], ['1675192320', '129864'], ['1675194048', '1964603'], ['1675195776', '125529'], ['1675197504', '40230'], ['1675199232', '77972'], ['1675200960', '78289'], ['1675202688', '67906'], ['1675204416', '57945'], ['1675206144', '109257'], ['1675207872', '143575'], ['1675209600', '118119'], ['1675211328', '175533'], ['1675213056', '69095'], ['1675214784', '108809'], ['1675216512', '130300'], ['1675218240', '68447'], ['1675219968', '630788'], ['1675221696', '155681'], ['1675223424', '176030'], ['1675225152', '128553'], ['1675226880', '113247'], ['1675228608', '50118'], ['1675230336', '84248'], ['1675232064', '142975'], ['1675233792', '93655'], ['1675235520', '33835'], ['1675237248', '139744'], ['1675238976', '77275'], ['1675240704', '121832'], ['1675242432', '96674'], ['1675244160', '117739'], ['1675245888', '167341'], ['1675247616', '111160'], ['1675249344', '121214'], ['1675251072', '52357'], ['1675252800', '64871'], ['1675254528', '175765'], ['1675256256', '198280'], ['1675257984', '313557'], ['1675259712', '130227'], ['1675261440', '104428'], ['1675263168', '274705'], ['1675264896', '70431'], ['1675266624', '140682'], ['1675268352', '83156'], ['1675270080', '1294611'], ['1675271808', '62669'], ['1675273536', '95395'], ['1675275264', '65723'], ['1675276992', '100901'], ['1675278720', '79062'], ['1675280448', '169488'], ['1675282176', '129568'], ['1675283904', '53631'], ['1675285632', '97518'], ['1675287360', '119426'], ['1675289088', '52308'], ['1675290816', '1361035'], ['1675292544', '156913'], ['1675294272', '215434'], ['1675296000', '54255'], ['1675297728', '288032'], ['1675299456', '772642'], ['1675301184', '107272'], ['1675302912', '92936'], ['1675304640', '498593'], ['1675306368', '102826'], ['1675308096', '76248'], ['1675309824', '145622'], ['1675311552', '55976'], ['1675313280', '75229'], ['1675315008', '162535'], ['1675316736', '180897'], ['1675318464', '60033'], ['1675320192', '64638'], ['1675321920', '129043'], ['1675323648', '579694'], ['1675325376', '51898'], ['1675327104', '75191'], ['1675328832', '333430'], ['1675330560', '39211'], ['1675332288', '1735358'], ['1675334016', '58490'], ['1675335744', '104864'], ['1675337472', '264375'], ['1675339200', '269080'], ['1675340928', '70592'], ['1675342656', '93411'], ['1675344384', '112441'], ['1675346112', '90449'], ['1675347840', '70863'], ['1675349568', '96436'], ['1675351296', '185547'], ['1675353024', '119575']], analysis: { rate: 910.96, total: 1.9676022E7 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6840349207'], ['1675183680', '6938901016'], ['1675185408', '7305187539'], ['1675187136', '8188141571'], ['1675188864', '7247690661'], ['1675190592', '6926759120'], ['1675192320', '7380048772'], ['1675194048', '7993802965'], ['1675195776', '6965741583'], ['1675197504', '8346510734'], ['1675199232', '6825635569'], ['1675200960', '8038915184'], ['1675202688', '8477225356'], ['1675204416', '8038673785'], ['1675206144', '7753302399'], ['1675207872', '7465742788'], ['1675209600', '7584210058'], ['1675211328', '7588104529'], ['1675213056', '8582557129'], ['1675214784', '6841255319'], ['1675216512', '7587872713'], ['1675218240', '7466607445'], ['1675219968', '7870624721'], ['1675221696', '7412764966'], ['1675223424', '8223871918'], ['1675225152', '8243945377'], ['1675226880', '7638363700'], ['1675228608', '7540615267'], ['1675230336', '7650851184'], ['1675232064', '7617949860'], ['1675233792', '7329955659'], ['1675235520', '8245178822'], ['1675237248', '7792148620'], ['1675238976', '7534743840'], ['1675240704', '7851088104'], ['1675242432', '7635228927'], ['1675244160', '6951204213'], ['1675245888', '6381170963'], ['1675247616', '6813650211'], ['1675249344', '7076447245'], ['1675251072', '6632590990'], ['1675252800', '7598778382'], ['1675254528', '7116694268'], ['1675256256', '7626461803'], ['1675257984', '7264879741'], ['1675259712', '7752671679'], ['1675261440', '7515853750'], ['1675263168', '7579932467'], ['1675264896', '7486997643'], ['1675266624', '7051686793'], ['1675268352', '6873607777'], ['1675270080', '7164166983'], ['1675271808', '8195989021'], ['1675273536', '7704140177'], ['1675275264', '6922140060'], ['1675276992', '6681666225'], ['1675278720', '7215000735'], ['1675280448', '7308499670'], ['1675282176', '7296427060'], ['1675283904', '7580297764'], ['1675285632', '6448511494'], ['1675287360', '7480200181'], ['1675289088', '7233539573'], ['1675290816', '7604079203'], ['1675292544', '7347409713'], ['1675294272', '7539122424'], ['1675296000', '8268929988'], ['1675297728', '7904603396'], ['1675299456', '7481158268'], ['1675301184', '7979103862'], ['1675302912', '8030132482'], ['1675304640', '6815551453'], ['1675306368', '6998980883'], ['1675308096', '6637269462'], ['1675309824', '7831818720'], ['1675311552', '6318916982'], ['1675313280', '7442258523'], ['1675315008', '7118095146'], ['1675316736', '7402017517'], ['1675318464', '7493982868'], ['1675320192', '6520083159'], ['1675321920', '7032318182'], ['1675323648', '6905781093'], ['1675325376', '7802918848'], ['1675327104', '7176212380'], ['1675328832', '7211668065'], ['1675330560', '6843290032'], ['1675332288', '7283947628'], ['1675334016', '7177682226'], ['1675335744', '7391199988'], ['1675337472', '6754687853'], ['1675339200', '6993139381'], ['1675340928', '6874136769'], ['1675342656', '6783677168'], ['1675344384', '7349291166'], ['1675346112', '6556961502'], ['1675347840', '7491223967'], ['1675349568', '7842238132'], ['1675351296', '6221073616'], ['1675353024', '7242494202']], analysis: { rate: 3.414793976E7, total: 7.37591229522E11 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1868006861'], ['1675183680', '1732168677'], ['1675185408', '2131898696'], ['1675187136', '2063010277'], ['1675188864', '1937537679'], ['1675190592', '1936788154'], ['1675192320', '2112580028'], ['1675194048', '1507654055'], ['1675195776', '2391037476'], ['1675197504', '2299446264'], ['1675199232', '1735303680'], ['1675200960', '1914095622'], ['1675202688', '1631022968'], ['1675204416', '2460019472'], ['1675206144', '1862981044'], ['1675207872', '1928704280'], ['1675209600', '1908009754'], ['1675211328', '1654220896'], ['1675213056', '2077381841'], ['1675214784', '2446500655'], ['1675216512', '2521067191'], ['1675218240', '1898347189'], ['1675219968', '1773018533'], ['1675221696', '1763549248'], ['1675223424', '1987857147'], ['1675225152', '1923607018'], ['1675226880', '2088989063'], ['1675228608', '2282878819'], ['1675230336', '1984472550'], ['1675232064', '1973641852'], ['1675233792', '2171240776'], ['1675235520', '2398440034'], ['1675237248', '1653378142'], ['1675238976', '1706909466'], ['1675240704', '2129291289'], ['1675242432', '1855368544'], ['1675244160', '1749240925'], ['1675245888', '1989494774'], ['1675247616', '1845322089'], ['1675249344', '2654426983'], ['1675251072', '1727183617'], ['1675252800', '1788630455'], ['1675254528', '1752731900'], ['1675256256', '1792192548'], ['1675257984', '2093031894'], ['1675259712', '1647678097'], ['1675261440', '2330265624'], ['1675263168', '1944482494'], ['1675264896', '1803569696'], ['1675266624', '2439742888'], ['1675268352', '3347846376'], ['1675270080', '1505440347'], ['1675271808', '2190442219'], ['1675273536', '1993445094'], ['1675275264', '1902837201'], ['1675276992', '2996332903'], ['1675278720', '1961133544'], ['1675280448', '1928639573'], ['1675282176', '2156986535'], ['1675283904', '1865411850'], ['1675285632', '1817765812'], ['1675287360', '1864996543'], ['1675289088', '1675537740'], ['1675290816', '1961491179'], ['1675292544', '1872641081'], ['1675294272', '1982193032'], ['1675296000', '2438454944'], ['1675297728', '2174619701'], ['1675299456', '1786626737'], ['1675301184', '1834178614'], ['1675302912', '1910990943'], ['1675304640', '2182469866'], ['1675306368', '1865110834'], ['1675308096', '2078719494'], ['1675309824', '2032641504'], ['1675311552', '1972714687'], ['1675313280', '1768457473'], ['1675315008', '1742922515'], ['1675316736', '2271077831'], ['1675318464', '1859973394'], ['1675320192', '1732928389'], ['1675321920', '1719608554'], ['1675323648', '1822114739'], ['1675325376', '1932173415'], ['1675327104', '2063384929'], ['1675328832', '2090741727'], ['1675330560', '1579268455'], ['1675332288', '2046765417'], ['1675334016', '2331961077'], ['1675335744', '2016304838'], ['1675337472', '1492052833'], ['1675339200', '1897359803'], ['1675340928', '1819642960'], ['1675342656', '1533538421'], ['1675344384', '2190655674'], ['1675346112', '1588408379'], ['1675347840', '1979353840'], ['1675349568', '2107484915'], ['1675351296', '2249064595'], ['1675353024', '1920902044']], analysis: { rate: 9181730.64, total: 1.98324233794E11 } } }, { type: 'packets', qq: { values: [['1675180224', '0'], ['1675181952', '606'], ['1675183680', '214'], ['1675185408', '526'], ['1675187136', '658'], ['1675188864', '962'], ['1675190592', '699'], ['1675192320', '497'], ['1675194048', '4134'], ['1675195776', '430'], ['1675197504', '242'], ['1675199232', '429'], ['1675200960', '346'], ['1675202688', '340'], ['1675204416', '337'], ['1675206144', '546'], ['1675207872', '614'], ['1675209600', '540'], ['1675211328', '463'], ['1675213056', '376'], ['1675214784', '451'], ['1675216512', '682'], ['1675218240', '396'], ['1675219968', '1123'], ['1675221696', '736'], ['1675223424', '771'], ['1675225152', '850'], ['1675226880', '569'], ['1675228608', '280'], ['1675230336', '389'], ['1675232064', '695'], ['1675233792', '457'], ['1675235520', '180'], ['1675237248', '487'], ['1675238976', '388'], ['1675240704', '553'], ['1675242432', '454'], ['1675244160', '514'], ['1675245888', '551'], ['1675247616', '446'], ['1675249344', '523'], ['1675251072', '324'], ['1675252800', '338'], ['1675254528', '473'], ['1675256256', '732'], ['1675257984', '649'], ['1675259712', '689'], ['1675261440', '490'], ['1675263168', '735'], ['1675264896', '339'], ['1675266624', '657'], ['1675268352', '383'], ['1675270080', '1747'], ['1675271808', '263'], ['1675273536', '349'], ['1675275264', '316'], ['1675276992', '520'], ['1675278720', '380'], ['1675280448', '486'], ['1675282176', '550'], ['1675283904', '319'], ['1675285632', '478'], ['1675287360', '604'], ['1675289088', '266'], ['1675290816', '1751'], ['1675292544', '416'], ['1675294272', '1045'], ['1675296000', '273'], ['1675297728', '644'], ['1675299456', '1215'], ['1675301184', '507'], ['1675302912', '436'], ['1675304640', '1353'], ['1675306368', '431'], ['1675308096', '409'], ['1675309824', '384'], ['1675311552', '209'], ['1675313280', '399'], ['1675315008', '435'], ['1675316736', '443'], ['1675318464', '241'], ['1675320192', '368'], ['1675321920', '399'], ['1675323648', '1294'], ['1675325376', '300'], ['1675327104', '384'], ['1675328832', '962'], ['1675330560', '234'], ['1675332288', '6718'], ['1675334016', '254'], ['1675335744', '446'], ['1675337472', '615'], ['1675339200', '877'], ['1675340928', '404'], ['1675342656', '548'], ['1675344384', '458'], ['1675346112', '347'], ['1675347840', '354'], ['1675349568', '417'], ['1675351296', '387'], ['1675353024', '441']], analysis: { rate: 2.96, total: 63339.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6197371'], ['1675183680', '6358852'], ['1675185408', '6715754'], ['1675187136', '7436866'], ['1675188864', '6557821'], ['1675190592', '6355871'], ['1675192320', '6859765'], ['1675194048', '7127026'], ['1675195776', '6381159'], ['1675197504', '7567599'], ['1675199232', '6226694'], ['1675200960', '7369356'], ['1675202688', '7712436'], ['1675204416', '7345952'], ['1675206144', '7218586'], ['1675207872', '6839080'], ['1675209600', '6887533'], ['1675211328', '6935752'], ['1675213056', '7890836'], ['1675214784', '6251184'], ['1675216512', '6845634'], ['1675218240', '6892309'], ['1675219968', '7150591'], ['1675221696', '6823704'], ['1675223424', '7646335'], ['1675225152', '7486344'], ['1675226880', '7040943'], ['1675228608', '6899602'], ['1675230336', '7066419'], ['1675232064', '7012961'], ['1675233792', '6734310'], ['1675235520', '7507330'], ['1675237248', '7328470'], ['1675238976', '7038404'], ['1675240704', '7173446'], ['1675242432', '6993118'], ['1675244160', '6410795'], ['1675245888', '5911194'], ['1675247616', '6277144'], ['1675249344', '6534898'], ['1675251072', '6118595'], ['1675252800', '6991938'], ['1675254528', '6519410'], ['1675256256', '7181072'], ['1675257984', '6615763'], ['1675259712', '7021918'], ['1675261440', '6878676'], ['1675263168', '7164503'], ['1675264896', '6874729'], ['1675266624', '6432753'], ['1675268352', '6307274'], ['1675270080', '6647741'], ['1675271808', '7462350'], ['1675273536', '7142099'], ['1675275264', '6328964'], ['1675276992', '6183940'], ['1675278720', '6791555'], ['1675280448', '6685349'], ['1675282176', '6661602'], ['1675283904', '6946903'], ['1675285632', '5897413'], ['1675287360', '6805796'], ['1675289088', '6568242'], ['1675290816', '7007823'], ['1675292544', '6610019'], ['1675294272', '6858170'], ['1675296000', '7744211'], ['1675297728', '7208221'], ['1675299456', '6815118'], ['1675301184', '7357640'], ['1675302912', '7459213'], ['1675304640', '6214814'], ['1675306368', '6458755'], ['1675308096', '6134159'], ['1675309824', '7139250'], ['1675311552', '5874017'], ['1675313280', '6848695'], ['1675315008', '6519852'], ['1675316736', '6777270'], ['1675318464', '6846661'], ['1675320192', '5884151'], ['1675321920', '6489480'], ['1675323648', '6293153'], ['1675325376', '7195451'], ['1675327104', '6517878'], ['1675328832', '6551928'], ['1675330560', '6274616'], ['1675332288', '6631027'], ['1675334016', '6614058'], ['1675335744', '6771588'], ['1675337472', '6188863'], ['1675339200', '6427004'], ['1675340928', '6343710'], ['1675342656', '6178169'], ['1675344384', '6657322'], ['1675346112', '6091040'], ['1675347840', '6871382'], ['1675349568', '7173669'], ['1675351296', '5823930'], ['1675353024', '6710423']], analysis: { rate: 31333.52, total: 6.76800759E8 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1705580'], ['1675183680', '1593727'], ['1675185408', '1946915'], ['1675187136', '1917429'], ['1675188864', '1795867'], ['1675190592', '1767678'], ['1675192320', '1863517'], ['1675194048', '1378238'], ['1675195776', '2133321'], ['1675197504', '2221475'], ['1675199232', '1603668'], ['1675200960', '1738494'], ['1675202688', '1513171'], ['1675204416', '2255791'], ['1675206144', '1716124'], ['1675207872', '1782197'], ['1675209600', '1744454'], ['1675211328', '1554832'], ['1675213056', '1984725'], ['1675214784', '2233360'], ['1675216512', '2297592'], ['1675218240', '1741490'], ['1675219968', '1624499'], ['1675221696', '1630196'], ['1675223424', '1815006'], ['1675225152', '1756123'], ['1675226880', '1899440'], ['1675228608', '2100577'], ['1675230336', '1831805'], ['1675232064', '1819676'], ['1675233792', '1978645'], ['1675235520', '2167573'], ['1675237248', '1557262'], ['1675238976', '1559497'], ['1675240704', '1944289'], ['1675242432', '1674776'], ['1675244160', '1614920'], ['1675245888', '1791181'], ['1675247616', '1675268'], ['1675249344', '2693715'], ['1675251072', '1642608'], ['1675252800', '1644117'], ['1675254528', '1562746'], ['1675256256', '1641479'], ['1675257984', '1935089'], ['1675259712', '1524063'], ['1675261440', '2144236'], ['1675263168', '1744826'], ['1675264896', '1644469'], ['1675266624', '2158417'], ['1675268352', '3294854'], ['1675270080', '1368127'], ['1675271808', '2014564'], ['1675273536', '1810232'], ['1675275264', '1759498'], ['1675276992', '2605599'], ['1675278720', '1780170'], ['1675280448', '1760412'], ['1675282176', '1996901'], ['1675283904', '1750576'], ['1675285632', '1661220'], ['1675287360', '1712123'], ['1675289088', '1536965'], ['1675290816', '1817954'], ['1675292544', '1733340'], ['1675294272', '1790373'], ['1675296000', '2469841'], ['1675297728', '2010199'], ['1675299456', '1642746'], ['1675301184', '1702235'], ['1675302912', '1732882'], ['1675304640', '2004182'], ['1675306368', '1718766'], ['1675308096', '1878088'], ['1675309824', '1969171'], ['1675311552', '1767540'], ['1675313280', '1637693'], ['1675315008', '1596693'], ['1675316736', '2018056'], ['1675318464', '1771415'], ['1675320192', '1595262'], ['1675321920', '1592882'], ['1675323648', '1902703'], ['1675325376', '1749528'], ['1675327104', '1848181'], ['1675328832', '1939436'], ['1675330560', '1443588'], ['1675332288', '1861515'], ['1675334016', '2110223'], ['1675335744', '1842995'], ['1675337472', '1374125'], ['1675339200', '1718740'], ['1675340928', '1665297'], ['1675342656', '1425021'], ['1675344384', '1991077'], ['1675346112', '1444718'], ['1675347840', '1873466'], ['1675349568', '1936970'], ['1675351296', '2080810'], ['1675353024', '1736479']], analysis: { rate: 8458.88, total: 1.82711574E8 } } }, { type: 'sessions', qq: { values: [['1675180224', '0'], ['1675181952', '31'], ['1675183680', '20'], ['1675185408', '34'], ['1675187136', '74'], ['1675188864', '279'], ['1675190592', '109'], ['1675192320', '29'], ['1675194048', '24'], ['1675195776', '27'], ['1675197504', '17'], ['1675199232', '29'], ['1675200960', '19'], ['1675202688', '22'], ['1675204416', '22'], ['1675206144', '38'], ['1675207872', '36'], ['1675209600', '31'], ['1675211328', '30'], ['1675213056', '24'], ['1675214784', '23'], ['1675216512', '41'], ['1675218240', '24'], ['1675219968', '32'], ['1675221696', '41'], ['1675223424', '51'], ['1675225152', '29'], ['1675226880', '35'], ['1675228608', '24'], ['1675230336', '22'], ['1675232064', '33'], ['1675233792', '31'], ['1675235520', '15'], ['1675237248', '18'], ['1675238976', '24'], ['1675240704', '34'], ['1675242432', '34'], ['1675244160', '30'], ['1675245888', '23'], ['1675247616', '29'], ['1675249344', '27'], ['1675251072', '26'], ['1675252800', '22'], ['1675254528', '27'], ['1675256256', '29'], ['1675257984', '24'], ['1675259712', '34'], ['1675261440', '22'], ['1675263168', '22'], ['1675264896', '22'], ['1675266624', '27'], ['1675268352', '21'], ['1675270080', '30'], ['1675271808', '19'], ['1675273536', '20'], ['1675275264', '20'], ['1675276992', '24'], ['1675278720', '28'], ['1675280448', '31'], ['1675282176', '25'], ['1675283904', '19'], ['1675285632', '31'], ['1675287360', '30'], ['1675289088', '19'], ['1675290816', '32'], ['1675292544', '23'], ['1675294272', '28'], ['1675296000', '29'], ['1675297728', '25'], ['1675299456', '33'], ['1675301184', '26'], ['1675302912', '23'], ['1675304640', '37'], ['1675306368', '24'], ['1675308096', '28'], ['1675309824', '17'], ['1675311552', '15'], ['1675313280', '28'], ['1675315008', '27'], ['1675316736', '29'], ['1675318464', '22'], ['1675320192', '22'], ['1675321920', '25'], ['1675323648', '30'], ['1675325376', '20'], ['1675327104', '28'], ['1675328832', '25'], ['1675330560', '12'], ['1675332288', '34'], ['1675334016', '19'], ['1675335744', '22'], ['1675337472', '31'], ['1675339200', '29'], ['1675340928', '31'], ['1675342656', '23'], ['1675344384', '36'], ['1675346112', '22'], ['1675347840', '25'], ['1675349568', '24'], ['1675351296', '26'], ['1675353024', '16']], analysis: { rate: 0.16, total: 3033.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6307'], ['1675183680', '6702'], ['1675185408', '6756'], ['1675187136', '6828'], ['1675188864', '6497'], ['1675190592', '6185'], ['1675192320', '6583'], ['1675194048', '6532'], ['1675195776', '6740'], ['1675197504', '7292'], ['1675199232', '6741'], ['1675200960', '7047'], ['1675202688', '7131'], ['1675204416', '7279'], ['1675206144', '7196'], ['1675207872', '6783'], ['1675209600', '6854'], ['1675211328', '7270'], ['1675213056', '7356'], ['1675214784', '6577'], ['1675216512', '6797'], ['1675218240', '6803'], ['1675219968', '7000'], ['1675221696', '7003'], ['1675223424', '7239'], ['1675225152', '7020'], ['1675226880', '6913'], ['1675228608', '7101'], ['1675230336', '6999'], ['1675232064', '6962'], ['1675233792', '6751'], ['1675235520', '6536'], ['1675237248', '6941'], ['1675238976', '6415'], ['1675240704', '6791'], ['1675242432', '6908'], ['1675244160', '6860'], ['1675245888', '5950'], ['1675247616', '6232'], ['1675249344', '6511'], ['1675251072', '6425'], ['1675252800', '6286'], ['1675254528', '6372'], ['1675256256', '6196'], ['1675257984', '6540'], ['1675259712', '6727'], ['1675261440', '6848'], ['1675263168', '6384'], ['1675264896', '6558'], ['1675266624', '6920'], ['1675268352', '6138'], ['1675270080', '6483'], ['1675271808', '6787'], ['1675273536', '7100'], ['1675275264', '6471'], ['1675276992', '6572'], ['1675278720', '6853'], ['1675280448', '6651'], ['1675282176', '6495'], ['1675283904', '6561'], ['1675285632', '5679'], ['1675287360', '6804'], ['1675289088', '6701'], ['1675290816', '7207'], ['1675292544', '6823'], ['1675294272', '6503'], ['1675296000', '6936'], ['1675297728', '6897'], ['1675299456', '6850'], ['1675301184', '6706'], ['1675302912', '7029'], ['1675304640', '6323'], ['1675306368', '6737'], ['1675308096', '6051'], ['1675309824', '6497'], ['1675311552', '6195'], ['1675313280', '6366'], ['1675315008', '6814'], ['1675316736', '6815'], ['1675318464', '6703'], ['1675320192', '5984'], ['1675321920', '6553'], ['1675323648', '6695'], ['1675325376', '6797'], ['1675327104', '6273'], ['1675328832', '6351'], ['1675330560', '6805'], ['1675332288', '6460'], ['1675334016', '6957'], ['1675335744', '6849'], ['1675337472', '6486'], ['1675339200', '6635'], ['1675340928', '6558'], ['1675342656', '6865'], ['1675344384', '6716'], ['1675346112', '6258'], ['1675347840', '6677'], ['1675349568', '6991'], ['1675351296', '6307'], ['1675353024', '6618']], analysis: { rate: 30.96, total: 668226.0 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1250'], ['1675183680', '1337'], ['1675185408', '1466'], ['1675187136', '1327'], ['1675188864', '1350'], ['1675190592', '1221'], ['1675192320', '1433'], ['1675194048', '1462'], ['1675195776', '1386'], ['1675197504', '1476'], ['1675199232', '1403'], ['1675200960', '1413'], ['1675202688', '1518'], ['1675204416', '1436'], ['1675206144', '1578'], ['1675207872', '1496'], ['1675209600', '1490'], ['1675211328', '1479'], ['1675213056', '1541'], ['1675214784', '1394'], ['1675216512', '1371'], ['1675218240', '1345'], ['1675219968', '1397'], ['1675221696', '1368'], ['1675223424', '1425'], ['1675225152', '1284'], ['1675226880', '1380'], ['1675228608', '1426'], ['1675230336', '1419'], ['1675232064', '1382'], ['1675233792', '1303'], ['1675235520', '1312'], ['1675237248', '1364'], ['1675238976', '1253'], ['1675240704', '1373'], ['1675242432', '1353'], ['1675244160', '1371'], ['1675245888', '1189'], ['1675247616', '1287'], ['1675249344', '1319'], ['1675251072', '1232'], ['1675252800', '1223'], ['1675254528', '1254'], ['1675256256', '1250'], ['1675257984', '1289'], ['1675259712', '1271'], ['1675261440', '1315'], ['1675263168', '1216'], ['1675264896', '1283'], ['1675266624', '1368'], ['1675268352', '1204'], ['1675270080', '1269'], ['1675271808', '1338'], ['1675273536', '1431'], ['1675275264', '1407'], ['1675276992', '1283'], ['1675278720', '1285'], ['1675280448', '1306'], ['1675282176', '1387'], ['1675283904', '1393'], ['1675285632', '1246'], ['1675287360', '1392'], ['1675289088', '1312'], ['1675290816', '1456'], ['1675292544', '1364'], ['1675294272', '1321'], ['1675296000', '1454'], ['1675297728', '1442'], ['1675299456', '1356'], ['1675301184', '1440'], ['1675302912', '1397'], ['1675304640', '1261'], ['1675306368', '1377'], ['1675308096', '1289'], ['1675309824', '1347'], ['1675311552', '1227'], ['1675313280', '1242'], ['1675315008', '1346'], ['1675316736', '1281'], ['1675318464', '1319'], ['1675320192', '1151'], ['1675321920', '1316'], ['1675323648', '1276'], ['1675325376', '1371'], ['1675327104', '1322'], ['1675328832', '1292'], ['1675330560', '1369'], ['1675332288', '1250'], ['1675334016', '1373'], ['1675335744', '1264'], ['1675337472', '1306'], ['1675339200', '1311'], ['1675340928', '1396'], ['1675342656', '1306'], ['1675344384', '1314'], ['1675346112', '1252'], ['1675347840', '1381'], ['1675349568', '1346'], ['1675351296', '1264'], ['1675353024', '1354']], analysis: { rate: 6.24, total: 134464.0 } }, wechat: { values: [['1675180224', '0'], ['1675181952', '2364'], ['1675183680', '2379'], ['1675185408', '2393'], ['1675187136', '2569'], ['1675188864', '2380'], ['1675190592', '2014'], ['1675192320', '2262'], ['1675194048', '2348'], ['1675195776', '2290'], ['1675197504', '2716'], ['1675199232', '2370'], ['1675200960', '2274'], ['1675202688', '2546'], ['1675204416', '2514'], ['1675206144', '2693'], ['1675207872', '2274'], ['1675209600', '2385'], ['1675211328', '2557'], ['1675213056', '2383'], ['1675214784', '2379'], ['1675216512', '2465'], ['1675218240', '2421'], ['1675219968', '2658'], ['1675221696', '2141'], ['1675223424', '2746'], ['1675225152', '2308'], ['1675226880', '2493'], ['1675228608', '2572'], ['1675230336', '2532'], ['1675232064', '2581'], ['1675233792', '2265'], ['1675235520', '2261'], ['1675237248', '2461'], ['1675238976', '2277'], ['1675240704', '2576'], ['1675242432', '2513'], ['1675244160', '2396'], ['1675245888', '2032'], ['1675247616', '2353'], ['1675249344', '2427'], ['1675251072', '2281'], ['1675252800', '2171'], ['1675254528', '2425'], ['1675256256', '2159'], ['1675257984', '2193'], ['1675259712', '2377'], ['1675261440', '2438'], ['1675263168', '2205'], ['1675264896', '2197'], ['1675266624', '2422'], ['1675268352', '2396'], ['1675270080', '2266'], ['1675271808', '2580'], ['1675273536', '2472'], ['1675275264', '2519'], ['1675276992', '2299'], ['1675278720', '2321'], ['1675280448', '2203'], ['1675282176', '2255'], ['1675283904', '2262'], ['1675285632', '1913'], ['1675287360', '2283'], ['1675289088', '2423'], ['1675290816', '2308'], ['1675292544', '2363'], ['1675294272', '2182'], ['1675296000', '2522'], ['1675297728', '2432'], ['1675299456', '2284'], ['1675301184', '2380'], ['1675302912', '2392'], ['1675304640', '2300'], ['1675306368', '2200'], ['1675308096', '2063'], ['1675309824', '2436'], ['1675311552', '1986'], ['1675313280', '2189'], ['1675315008', '2430'], ['1675316736', '2315'], ['1675318464', '2360'], ['1675320192', '2156'], ['1675321920', '2346'], ['1675323648', '2188'], ['1675325376', '2513'], ['1675327104', '2040'], ['1675328832', '2402'], ['1675330560', '2576'], ['1675332288', '2354'], ['1675334016', '2476'], ['1675335744', '2149'], ['1675337472', '2197'], ['1675339200', '2602'], ['1675340928', '2138'], ['1675342656', '2435'], ['1675344384', '2385'], ['1675346112', '2262'], ['1675347840', '2497'], ['1675349568', '2322'], ['1675351296', '2075'], ['1675353024', '2423']], analysis: { rate: 10.88, total: 235306.0 } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT1728S%27%2C%27zero%27%29%20AS%20stat_time%2C%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29%20AND%20stat_time%20%3C%20toDateTime%281675353599%29%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20stat_time%2Capp_label%20ORDER%20BY%20stat_time%20ASC&format=json&option=real-time', msg: 'OK' } }, + { data: { status: 200, code: 200, queryKey: '11e7e2634661a4ac63f45a90a4fbc366', success: true, message: null, statistics: { elapsed: 10, rows_read: 151581, bytes_read: 9629321, result_size: 384, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_company', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { rate: 1088125.12, total: 23503366121 }, Tencent: { rate: 13817425.76, total: 298454669638 }, Bytedance: { rate: 29791297.68, total: 643488305661 }, Alibaba: { rate: 3822845.52, total: 82572985509 } }, { type: 'packets', Baidu: { rate: 1132.24, total: 24456798 }, Tencent: { rate: 15815.6, total: 341615256 }, Bytedance: { rate: 27681.68, total: 597920164 }, Alibaba: { rate: 4051.04, total: 87502224 } }, { type: 'sessions', Baidu: { rate: 7.36, total: 158507 }, Tencent: { rate: 16.4, total: 355022 }, Bytedance: { rate: 38.56, total: 833195 }, Alibaba: { rate: 24, total: 519104 } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20app_company%20AS%20app_company%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29-172799%20AND%20stat_time%20%3C%20toDateTime%281675353599%29-172799%20AND%20app_company%20IN%20%28%20%27Bytedance%27%2C%27Tencent%27%2C%27Alibaba%27%2C%27Baidu%27%20%29%20GROUP%20BY%20app_company&format=json&option=real-time', msg: 'OK' } }, + { data: { status: 200, code: 200, queryKey: '54f7d44a87abfa2643033b45fb9ac1af', success: true, message: null, statistics: { elapsed: 14, rows_read: 633867, bytes_read: 22394902, result_size: 45357, result_rows: 404 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'app_company', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { values: [['1675180224', '0'], ['1675181952', '186922462'], ['1675183680', '246368399'], ['1675185408', '319109553'], ['1675187136', '304441401'], ['1675188864', '535693636'], ['1675190592', '306487561'], ['1675192320', '179845873'], ['1675194048', '240757575'], ['1675195776', '242490898'], ['1675197504', '266812080'], ['1675199232', '285633401'], ['1675200960', '250783731'], ['1675202688', '202741925'], ['1675204416', '288905564'], ['1675206144', '264733418'], ['1675207872', '170662251'], ['1675209600', '188119952'], ['1675211328', '258930258'], ['1675213056', '211813880'], ['1675214784', '311067410'], ['1675216512', '228958245'], ['1675218240', '203782626'], ['1675219968', '258819386'], ['1675221696', '922311133'], ['1675223424', '274140838'], ['1675225152', '214457186'], ['1675226880', '320938298'], ['1675228608', '223494342'], ['1675230336', '263221725'], ['1675232064', '392156448'], ['1675233792', '209510347'], ['1675235520', '233293822'], ['1675237248', '420123341'], ['1675238976', '500120418'], ['1675240704', '306320387'], ['1675242432', '276800750'], ['1675244160', '246412014'], ['1675245888', '213229410'], ['1675247616', '174621303'], ['1675249344', '167818258'], ['1675251072', '311630640'], ['1675252800', '204026984'], ['1675254528', '248019634'], ['1675256256', '225920989'], ['1675257984', '289571558'], ['1675259712', '260433584'], ['1675261440', '267076409'], ['1675263168', '172960469'], ['1675264896', '187771584'], ['1675266624', '241454724'], ['1675268352', '329752706'], ['1675270080', '288552844'], ['1675271808', '248913131'], ['1675273536', '343099199'], ['1675275264', '279732573'], ['1675276992', '199138635'], ['1675278720', '253584024'], ['1675280448', '186462990'], ['1675282176', '241297490'], ['1675283904', '676915126'], ['1675285632', '238702155'], ['1675287360', '349619952'], ['1675289088', '236809805'], ['1675290816', '236038733'], ['1675292544', '276030570'], ['1675294272', '277516641'], ['1675296000', '211822464'], ['1675297728', '272051733'], ['1675299456', '235388507'], ['1675301184', '319171935'], ['1675302912', '192217920'], ['1675304640', '345455785'], ['1675306368', '319848769'], ['1675308096', '303561695'], ['1675309824', '208942533'], ['1675311552', '272791726'], ['1675313280', '204352308'], ['1675315008', '388846886'], ['1675316736', '339402557'], ['1675318464', '260030322'], ['1675320192', '264913750'], ['1675321920', '268731960'], ['1675323648', '245927219'], ['1675325376', '279881933'], ['1675327104', '311843005'], ['1675328832', '282638902'], ['1675330560', '185391416'], ['1675332288', '251799584'], ['1675334016', '206192986'], ['1675335744', '254411430'], ['1675337472', '599077930'], ['1675339200', '257549224'], ['1675340928', '225861527'], ['1675342656', '198703921'], ['1675344384', '209918478'], ['1675346112', '190463924'], ['1675347840', '254093605'], ['1675349568', '229914017'], ['1675351296', '261381749'], ['1675353024', '174475031']], analysis: { rate: 1269032.4, total: 2.7410941385E10 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3364312107'], ['1675183680', '4079983457'], ['1675185408', '3664816581'], ['1675187136', '3901897437'], ['1675188864', '3105742432'], ['1675190592', '3109079773'], ['1675192320', '3634085043'], ['1675194048', '3304598207'], ['1675195776', '3364370975'], ['1675197504', '3679341083'], ['1675199232', '4004654138'], ['1675200960', '5075731596'], ['1675202688', '3350826774'], ['1675204416', '3965120815'], ['1675206144', '3258127210'], ['1675207872', '3579118980'], ['1675209600', '3436901533'], ['1675211328', '3963971268'], ['1675213056', '3524855019'], ['1675214784', '4125745109'], ['1675216512', '4280315838'], ['1675218240', '3329633122'], ['1675219968', '4412688081'], ['1675221696', '3283482365'], ['1675223424', '4468620552'], ['1675225152', '3557179411'], ['1675226880', '3579870652'], ['1675228608', '3670862787'], ['1675230336', '4625969288'], ['1675232064', '3708010075'], ['1675233792', '3244513018'], ['1675235520', '3878415405'], ['1675237248', '4052973978'], ['1675238976', '3691082916'], ['1675240704', '5372688259'], ['1675242432', '3702382171'], ['1675244160', '4219862737'], ['1675245888', '2787825671'], ['1675247616', '4763031990'], ['1675249344', '3516330763'], ['1675251072', '3113829408'], ['1675252800', '3218983906'], ['1675254528', '4173806034'], ['1675256256', '3123724450'], ['1675257984', '3244222065'], ['1675259712', '3707679969'], ['1675261440', '4554164279'], ['1675263168', '3597868330'], ['1675264896', '3677154027'], ['1675266624', '3196518119'], ['1675268352', '4017034040'], ['1675270080', '2951739722'], ['1675271808', '4169564577'], ['1675273536', '3285519344'], ['1675275264', '4539611918'], ['1675276992', '3367141015'], ['1675278720', '4219586671'], ['1675280448', '3643011153'], ['1675282176', '3525034696'], ['1675283904', '3250835967'], ['1675285632', '3734756859'], ['1675287360', '3458799171'], ['1675289088', '3561847920'], ['1675290816', '3832087457'], ['1675292544', '3720294758'], ['1675294272', '3095277835'], ['1675296000', '4171337383'], ['1675297728', '4078122772'], ['1675299456', '3741403940'], ['1675301184', '3894701201'], ['1675302912', '3674186510'], ['1675304640', '3516696930'], ['1675306368', '3943407043'], ['1675308096', '3496006622'], ['1675309824', '4132870839'], ['1675311552', '2927013222'], ['1675313280', '3183796841'], ['1675315008', '3711742824'], ['1675316736', '3747908497'], ['1675318464', '3526464555'], ['1675320192', '3785846721'], ['1675321920', '3796697606'], ['1675323648', '3594162696'], ['1675325376', '4271082440'], ['1675327104', '3308973077'], ['1675328832', '3754503133'], ['1675330560', '4138496845'], ['1675332288', '3412677975'], ['1675334016', '3702495983'], ['1675335744', '3023519646'], ['1675337472', '3131554386'], ['1675339200', '4523013005'], ['1675340928', '3188123380'], ['1675342656', '3753413721'], ['1675344384', '3645320211'], ['1675346112', '3399819129'], ['1675347840', '4205903262'], ['1675349568', '3392709766'], ['1675351296', '3433064810'], ['1675353024', '3759978873']], analysis: { rate: 1.715686448E7, total: 3.7058612815E11 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '7369561391'], ['1675183680', '7581865508'], ['1675185408', '7912824524'], ['1675187136', '9032300363'], ['1675188864', '7917531147'], ['1675190592', '7631183906'], ['1675192320', '8246679988'], ['1675194048', '8554299101'], ['1675195776', '7883903079'], ['1675197504', '9031857361'], ['1675199232', '7661890423'], ['1675200960', '8886566417'], ['1675202688', '9019250065'], ['1675204416', '8916375747'], ['1675206144', '8479488817'], ['1675207872', '8219763606'], ['1675209600', '8217171805'], ['1675211328', '8336759307'], ['1675213056', '9353465505'], ['1675214784', '7682132545'], ['1675216512', '8100245348'], ['1675218240', '8100168625'], ['1675219968', '8614738437'], ['1675221696', '8355313295'], ['1675223424', '8951119363'], ['1675225152', '8882541689'], ['1675226880', '8228284971'], ['1675228608', '8291470893'], ['1675230336', '8283731813'], ['1675232064', '8398043347'], ['1675233792', '7973853220'], ['1675235520', '13703005209'], ['1675237248', '8489774773'], ['1675238976', '8259222020'], ['1675240704', '8463042283'], ['1675242432', '8273284467'], ['1675244160', '7625472061'], ['1675245888', '6913302871'], ['1675247616', '7410940675'], ['1675249344', '7824045049'], ['1675251072', '7402226771'], ['1675252800', '8316031061'], ['1675254528', '7813282137'], ['1675256256', '8240617903'], ['1675257984', '7983563297'], ['1675259712', '8494801456'], ['1675261440', '8146768399'], ['1675263168', '8273092765'], ['1675264896', '8029603477'], ['1675266624', '7811366743'], ['1675268352', '7599047914'], ['1675270080', '7739846662'], ['1675271808', '8996551338'], ['1675273536', '8445844664'], ['1675275264', '7643411716'], ['1675276992', '7297063335'], ['1675278720', '7840484023'], ['1675280448', '7895092312'], ['1675282176', '7781709149'], ['1675283904', '8213174770'], ['1675285632', '6948686720'], ['1675287360', '8058979941'], ['1675289088', '7959295076'], ['1675290816', '8342931562'], ['1675292544', '7890729747'], ['1675294272', '8124775981'], ['1675296000', '9073797921'], ['1675297728', '8458548545'], ['1675299456', '8191538286'], ['1675301184', '9051440584'], ['1675302912', '8617530633'], ['1675304640', '7459882915'], ['1675306368', '7712272840'], ['1675308096', '7131792015'], ['1675309824', '8534686770'], ['1675311552', '7032452112'], ['1675313280', '8126943638'], ['1675315008', '7628525105'], ['1675316736', '8179538543'], ['1675318464', '8045196777'], ['1675320192', '6970699521'], ['1675321920', '7634588789'], ['1675323648', '7461903527'], ['1675325376', '8334614663'], ['1675327104', '7947481785'], ['1675328832', '7767817477'], ['1675330560', '7451706424'], ['1675332288', '7851774523'], ['1675334016', '7805064464'], ['1675335744', '8152740246'], ['1675337472', '7345349762'], ['1675339200', '7620051268'], ['1675340928', '7578625871'], ['1675342656', '7432575512'], ['1675344384', '8101138008'], ['1675346112', '6979913422'], ['1675347840', '8055117174'], ['1675349568', '8425690572'], ['1675351296', '7175858020'], ['1675353024', '8582510465']], analysis: { rate: 3.751340312E7, total: 8.1028481811E11 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1152063372'], ['1675183680', '816089654'], ['1675185408', '889381524'], ['1675187136', '1518914261'], ['1675188864', '936045239'], ['1675190592', '890527360'], ['1675192320', '1062813475'], ['1675194048', '893057420'], ['1675195776', '805316139'], ['1675197504', '865817855'], ['1675199232', '1337051022'], ['1675200960', '1323094820'], ['1675202688', '918093022'], ['1675204416', '974409292'], ['1675206144', '1221499013'], ['1675207872', '852239484'], ['1675209600', '1028295137'], ['1675211328', '905035471'], ['1675213056', '1160686881'], ['1675214784', '1066457258'], ['1675216512', '782964312'], ['1675218240', '882604945'], ['1675219968', '861896720'], ['1675221696', '1650609412'], ['1675223424', '1195310046'], ['1675225152', '870859428'], ['1675226880', '971786415'], ['1675228608', '864172496'], ['1675230336', '840337374'], ['1675232064', '1010973454'], ['1675233792', '928181215'], ['1675235520', '1001513720'], ['1675237248', '960498648'], ['1675238976', '1067893630'], ['1675240704', '1438810910'], ['1675242432', '1083718561'], ['1675244160', '920906302'], ['1675245888', '890363120'], ['1675247616', '1118329884'], ['1675249344', '653422905'], ['1675251072', '927813538'], ['1675252800', '937941271'], ['1675254528', '1255903102'], ['1675256256', '883473793'], ['1675257984', '1536384871'], ['1675259712', '869667589'], ['1675261440', '1020451266'], ['1675263168', '861917611'], ['1675264896', '930498335'], ['1675266624', '967959768'], ['1675268352', '823527431'], ['1675270080', '847364141'], ['1675271808', '972941204'], ['1675273536', '986524138'], ['1675275264', '758295795'], ['1675276992', '799931952'], ['1675278720', '928900364'], ['1675280448', '860706729'], ['1675282176', '1331438313'], ['1675283904', '1194277664'], ['1675285632', '971877294'], ['1675287360', '873458218'], ['1675289088', '772449542'], ['1675290816', '1137891669'], ['1675292544', '774151500'], ['1675294272', '1229495516'], ['1675296000', '973689434'], ['1675297728', '1074303268'], ['1675299456', '1107023021'], ['1675301184', '1101332250'], ['1675302912', '1135839078'], ['1675304640', '1399158961'], ['1675306368', '919405551'], ['1675308096', '991916341'], ['1675309824', '918910409'], ['1675311552', '835529341'], ['1675313280', '845288353'], ['1675315008', '889173989'], ['1675316736', '777774217'], ['1675318464', '1000168195'], ['1675320192', '1161465589'], ['1675321920', '1076421226'], ['1675323648', '981676104'], ['1675325376', '1325555966'], ['1675327104', '1696768745'], ['1675328832', '1115038006'], ['1675330560', '958436259'], ['1675332288', '923745960'], ['1675334016', '702238686'], ['1675335744', '923585295'], ['1675337472', '1180442037'], ['1675339200', '1372251737'], ['1675340928', '1230751841'], ['1675342656', '1351630983'], ['1675344384', '1222543360'], ['1675346112', '1049059896'], ['1675347840', '1011820794'], ['1675349568', '833134386'], ['1675351296', '1077473674'], ['1675353024', '1048911408']], analysis: { rate: 4735200.96, total: 1.0227974817E11 } } }, { type: 'packets', Baidu: { values: [['1675180224', '0'], ['1675181952', '223000'], ['1675183680', '265508'], ['1675185408', '350366'], ['1675187136', '310999'], ['1675188864', '510694'], ['1675190592', '308396'], ['1675192320', '203767'], ['1675194048', '255023'], ['1675195776', '255845'], ['1675197504', '287227'], ['1675199232', '292255'], ['1675200960', '270281'], ['1675202688', '241808'], ['1675204416', '294475'], ['1675206144', '279966'], ['1675207872', '200530'], ['1675209600', '231734'], ['1675211328', '287475'], ['1675213056', '235889'], ['1675214784', '333597'], ['1675216512', '239230'], ['1675218240', '226415'], ['1675219968', '275448'], ['1675221696', '831021'], ['1675223424', '286996'], ['1675225152', '236941'], ['1675226880', '345722'], ['1675228608', '251852'], ['1675230336', '281771'], ['1675232064', '406684'], ['1675233792', '226724'], ['1675235520', '247147'], ['1675237248', '407263'], ['1675238976', '475638'], ['1675240704', '314283'], ['1675242432', '283487'], ['1675244160', '272287'], ['1675245888', '227637'], ['1675247616', '209270'], ['1675249344', '194027'], ['1675251072', '309921'], ['1675252800', '227283'], ['1675254528', '269168'], ['1675256256', '257953'], ['1675257984', '289215'], ['1675259712', '276239'], ['1675261440', '269606'], ['1675263168', '194894'], ['1675264896', '212679'], ['1675266624', '251133'], ['1675268352', '327280'], ['1675270080', '304735'], ['1675271808', '249876'], ['1675273536', '338018'], ['1675275264', '293189'], ['1675276992', '216697'], ['1675278720', '255466'], ['1675280448', '214979'], ['1675282176', '246673'], ['1675283904', '576987'], ['1675285632', '247766'], ['1675287360', '395316'], ['1675289088', '256700'], ['1675290816', '261973'], ['1675292544', '285871'], ['1675294272', '295870'], ['1675296000', '244208'], ['1675297728', '292936'], ['1675299456', '268863'], ['1675301184', '324627'], ['1675302912', '215455'], ['1675304640', '346224'], ['1675306368', '336487'], ['1675308096', '307464'], ['1675309824', '233401'], ['1675311552', '272466'], ['1675313280', '222933'], ['1675315008', '403553'], ['1675316736', '328135'], ['1675318464', '277378'], ['1675320192', '275123'], ['1675321920', '294213'], ['1675323648', '282124'], ['1675325376', '316009'], ['1675327104', '319574'], ['1675328832', '284039'], ['1675330560', '215777'], ['1675332288', '260041'], ['1675334016', '232958'], ['1675335744', '270457'], ['1675337472', '589546'], ['1675339200', '293118'], ['1675340928', '252330'], ['1675342656', '226237'], ['1675344384', '232968'], ['1675346112', '205055'], ['1675347840', '267297'], ['1675349568', '243364'], ['1675351296', '298675'], ['1675353024', '196343']], analysis: { rate: 1334.88, total: 2.8833543E7 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3818134'], ['1675183680', '4563920'], ['1675185408', '4132640'], ['1675187136', '4385814'], ['1675188864', '3586636'], ['1675190592', '3504492'], ['1675192320', '4134802'], ['1675194048', '3832888'], ['1675195776', '3864609'], ['1675197504', '4208527'], ['1675199232', '4652086'], ['1675200960', '5709498'], ['1675202688', '3839139'], ['1675204416', '4523660'], ['1675206144', '3659488'], ['1675207872', '4152250'], ['1675209600', '4102703'], ['1675211328', '4533740'], ['1675213056', '4012813'], ['1675214784', '4690927'], ['1675216512', '4919255'], ['1675218240', '3820763'], ['1675219968', '5040527'], ['1675221696', '3675884'], ['1675223424', '5402526'], ['1675225152', '4052783'], ['1675226880', '4058055'], ['1675228608', '4154259'], ['1675230336', '5551875'], ['1675232064', '4246082'], ['1675233792', '3691700'], ['1675235520', '4407249'], ['1675237248', '4579687'], ['1675238976', '4308236'], ['1675240704', '6146600'], ['1675242432', '4267726'], ['1675244160', '4895859'], ['1675245888', '3121889'], ['1675247616', '5703047'], ['1675249344', '4050565'], ['1675251072', '3601406'], ['1675252800', '3689234'], ['1675254528', '4842280'], ['1675256256', '3576063'], ['1675257984', '3717912'], ['1675259712', '4272289'], ['1675261440', '5157266'], ['1675263168', '4171065'], ['1675264896', '4436045'], ['1675266624', '3701600'], ['1675268352', '4597804'], ['1675270080', '3414228'], ['1675271808', '4755984'], ['1675273536', '3751048'], ['1675275264', '5055637'], ['1675276992', '3827549'], ['1675278720', '4837360'], ['1675280448', '4162862'], ['1675282176', '4010427'], ['1675283904', '3688127'], ['1675285632', '4134073'], ['1675287360', '3969197'], ['1675289088', '4069713'], ['1675290816', '4329068'], ['1675292544', '4312185'], ['1675294272', '3469766'], ['1675296000', '4865903'], ['1675297728', '4726677'], ['1675299456', '4227722'], ['1675301184', '4814378'], ['1675302912', '4146704'], ['1675304640', '4013049'], ['1675306368', '5079648'], ['1675308096', '4017690'], ['1675309824', '4692524'], ['1675311552', '3282170'], ['1675313280', '3615970'], ['1675315008', '4284415'], ['1675316736', '4251382'], ['1675318464', '4079501'], ['1675320192', '4306283'], ['1675321920', '4295930'], ['1675323648', '4135408'], ['1675325376', '4797047'], ['1675327104', '3959597'], ['1675328832', '4317743'], ['1675330560', '4789363'], ['1675332288', '3847900'], ['1675334016', '4184459'], ['1675335744', '3418078'], ['1675337472', '3588527'], ['1675339200', '5216648'], ['1675340928', '3616641'], ['1675342656', '4200530'], ['1675344384', '4299724'], ['1675346112', '3842595'], ['1675347840', '4933832'], ['1675349568', '3889067'], ['1675351296', '3877365'], ['1675353024', '4329364']], analysis: { rate: 19699.04, total: 4.25497355E8 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '6799533'], ['1675183680', '7060925'], ['1675185408', '7379460'], ['1675187136', '8301829'], ['1675188864', '7273730'], ['1675190592', '7100779'], ['1675192320', '7752192'], ['1675194048', '7750030'], ['1675195776', '7319904'], ['1675197504', '8290190'], ['1675199232', '7095216'], ['1675200960', '8243937'], ['1675202688', '8306100'], ['1675204416', '8254111'], ['1675206144', '7985829'], ['1675207872', '7638631'], ['1675209600', '7572888'], ['1675211328', '7706519'], ['1675213056', '8679582'], ['1675214784', '7153544'], ['1675216512', '7412147'], ['1675218240', '7590032'], ['1675219968', '7938389'], ['1675221696', '7810497'], ['1675223424', '8432330'], ['1675225152', '8161332'], ['1675226880', '7694075'], ['1675228608', '7682116'], ['1675230336', '7748001'], ['1675232064', '7821867'], ['1675233792', '7729207'], ['1675235520', '11947627'], ['1675237248', '8074533'], ['1675238976', '7806795'], ['1675240704', '7879088'], ['1675242432', '7676938'], ['1675244160', '7130214'], ['1675245888', '6488665'], ['1675247616', '6914394'], ['1675249344', '7332892'], ['1675251072', '6905190'], ['1675252800', '7738099'], ['1675254528', '7244679'], ['1675256256', '7835482'], ['1675257984', '7368797'], ['1675259712', '7812392'], ['1675261440', '7547373'], ['1675263168', '7915780'], ['1675264896', '7490826'], ['1675266624', '7258320'], ['1675268352', '7071557'], ['1675270080', '7269268'], ['1675271808', '8294078'], ['1675273536', '7911350'], ['1675275264', '7071895'], ['1675276992', '6851499'], ['1675278720', '7463798'], ['1675280448', '7319364'], ['1675282176', '7200166'], ['1675283904', '7624110'], ['1675285632', '6484110'], ['1675287360', '7453461'], ['1675289088', '7316779'], ['1675290816', '7768863'], ['1675292544', '7200389'], ['1675294272', '7481637'], ['1675296000', '8573284'], ['1675297728', '7820538'], ['1675299456', '7584761'], ['1675301184', '8417599'], ['1675302912', '8099749'], ['1675304640', '6898692'], ['1675306368', '7197094'], ['1675308096', '6690452'], ['1675309824', '7875615'], ['1675311552', '6586706'], ['1675313280', '7562808'], ['1675315008', '7089669'], ['1675316736', '7616459'], ['1675318464', '7440240'], ['1675320192', '6393045'], ['1675321920', '7136052'], ['1675323648', '6910672'], ['1675325376', '7761117'], ['1675327104', '7337632'], ['1675328832', '7169969'], ['1675330560', '6931424'], ['1675332288', '7250827'], ['1675334016', '7287014'], ['1675335744', '7587844'], ['1675337472', '6816941'], ['1675339200', '7072447'], ['1675340928', '7084394'], ['1675342656', '6866922'], ['1675344384', '7453057'], ['1675346112', '6575739'], ['1675347840', '7473871'], ['1675349568', '7823227'], ['1675351296', '6794326'], ['1675353024', '8025933']], analysis: { rate: 34863.2, total: 7.53041449E8 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1194824'], ['1675183680', '874520'], ['1675185408', '978698'], ['1675187136', '1545349'], ['1675188864', '995660'], ['1675190592', '964558'], ['1675192320', '1132357'], ['1675194048', '933975'], ['1675195776', '872689'], ['1675197504', '954165'], ['1675199232', '1330184'], ['1675200960', '1383990'], ['1675202688', '979732'], ['1675204416', '1120652'], ['1675206144', '1293611'], ['1675207872', '895376'], ['1675209600', '1058540'], ['1675211328', '996617'], ['1675213056', '1285398'], ['1675214784', '1184048'], ['1675216512', '828141'], ['1675218240', '956425'], ['1675219968', '927401'], ['1675221696', '1732940'], ['1675223424', '1255392'], ['1675225152', '942600'], ['1675226880', '1047615'], ['1675228608', '934109'], ['1675230336', '882083'], ['1675232064', '1102657'], ['1675233792', '989123'], ['1675235520', '1078210'], ['1675237248', '1004089'], ['1675238976', '1112246'], ['1675240704', '1357828'], ['1675242432', '1139375'], ['1675244160', '1006102'], ['1675245888', '906401'], ['1675247616', '1160626'], ['1675249344', '717427'], ['1675251072', '979588'], ['1675252800', '984928'], ['1675254528', '1261482'], ['1675256256', '940721'], ['1675257984', '1687111'], ['1675259712', '914218'], ['1675261440', '1050511'], ['1675263168', '950266'], ['1675264896', '997716'], ['1675266624', '1003139'], ['1675268352', '881504'], ['1675270080', '884410'], ['1675271808', '1000046'], ['1675273536', '1058272'], ['1675275264', '830253'], ['1675276992', '869953'], ['1675278720', '1007729'], ['1675280448', '947868'], ['1675282176', '1228764'], ['1675283904', '1206030'], ['1675285632', '1050310'], ['1675287360', '922042'], ['1675289088', '827866'], ['1675290816', '1219546'], ['1675292544', '889108'], ['1675294272', '1221466'], ['1675296000', '1024271'], ['1675297728', '1158810'], ['1675299456', '1158765'], ['1675301184', '1152618'], ['1675302912', '1202723'], ['1675304640', '1451502'], ['1675306368', '957862'], ['1675308096', '1056933'], ['1675309824', '989023'], ['1675311552', '905790'], ['1675313280', '911109'], ['1675315008', '934888'], ['1675316736', '870895'], ['1675318464', '1054094'], ['1675320192', '1181781'], ['1675321920', '1145989'], ['1675323648', '1045330'], ['1675325376', '1403359'], ['1675327104', '1835335'], ['1675328832', '1178441'], ['1675330560', '1039693'], ['1675332288', '981454'], ['1675334016', '769723'], ['1675335744', '987426'], ['1675337472', '1217419'], ['1675339200', '1416718'], ['1675340928', '1317407'], ['1675342656', '1367354'], ['1675344384', '1294205'], ['1675346112', '1051390'], ['1675347840', '1116220'], ['1675349568', '879904'], ['1675351296', '1102655'], ['1675353024', '1129891']], analysis: { rate: 5007.52, total: 1.08161557E8 } } }, { type: 'sessions', Baidu: { values: [['1675180224', '0'], ['1675181952', '2045'], ['1675183680', '1954'], ['1675185408', '2133'], ['1675187136', '2110'], ['1675188864', '2060'], ['1675190592', '1923'], ['1675192320', '2101'], ['1675194048', '2039'], ['1675195776', '2082'], ['1675197504', '2080'], ['1675199232', '2059'], ['1675200960', '2054'], ['1675202688', '2197'], ['1675204416', '2154'], ['1675206144', '2252'], ['1675207872', '2155'], ['1675209600', '2116'], ['1675211328', '2145'], ['1675213056', '2212'], ['1675214784', '2121'], ['1675216512', '1874'], ['1675218240', '1899'], ['1675219968', '1910'], ['1675221696', '2065'], ['1675223424', '2075'], ['1675225152', '1924'], ['1675226880', '2037'], ['1675228608', '2128'], ['1675230336', '1964'], ['1675232064', '1982'], ['1675233792', '1964'], ['1675235520', '1963'], ['1675237248', '2045'], ['1675238976', '2166'], ['1675240704', '2040'], ['1675242432', '2082'], ['1675244160', '1898'], ['1675245888', '1845'], ['1675247616', '2016'], ['1675249344', '1940'], ['1675251072', '1850'], ['1675252800', '1974'], ['1675254528', '2060'], ['1675256256', '2070'], ['1675257984', '2018'], ['1675259712', '1920'], ['1675261440', '1844'], ['1675263168', '1872'], ['1675264896', '1738'], ['1675266624', '1920'], ['1675268352', '1810'], ['1675270080', '1923'], ['1675271808', '1890'], ['1675273536', '1862'], ['1675275264', '2070'], ['1675276992', '1897'], ['1675278720', '1917'], ['1675280448', '1943'], ['1675282176', '1883'], ['1675283904', '2095'], ['1675285632', '1850'], ['1675287360', '2139'], ['1675289088', '1987'], ['1675290816', '2228'], ['1675292544', '2032'], ['1675294272', '2219'], ['1675296000', '2241'], ['1675297728', '2188'], ['1675299456', '2230'], ['1675301184', '2031'], ['1675302912', '2058'], ['1675304640', '1921'], ['1675306368', '1832'], ['1675308096', '1668'], ['1675309824', '1833'], ['1675311552', '1792'], ['1675313280', '1793'], ['1675315008', '1901'], ['1675316736', '1752'], ['1675318464', '1858'], ['1675320192', '1740'], ['1675321920', '1826'], ['1675323648', '1966'], ['1675325376', '1927'], ['1675327104', '1981'], ['1675328832', '1954'], ['1675330560', '1733'], ['1675332288', '1758'], ['1675334016', '1900'], ['1675335744', '1898'], ['1675337472', '1890'], ['1675339200', '1986'], ['1675340928', '2070'], ['1675342656', '1963'], ['1675344384', '1944'], ['1675346112', '1858'], ['1675347840', '1990'], ['1675349568', '1978'], ['1675351296', '2108'], ['1675353024', '1876']], analysis: { rate: 9.2, total: 198264.0 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '4160'], ['1675183680', '4083'], ['1675185408', '4093'], ['1675187136', '4451'], ['1675188864', '4512'], ['1675190592', '3742'], ['1675192320', '4244'], ['1675194048', '4253'], ['1675195776', '4279'], ['1675197504', '4939'], ['1675199232', '4171'], ['1675200960', '4387'], ['1675202688', '4622'], ['1675204416', '4475'], ['1675206144', '4626'], ['1675207872', '4229'], ['1675209600', '4338'], ['1675211328', '4460'], ['1675213056', '4329'], ['1675214784', '4605'], ['1675216512', '4549'], ['1675218240', '4514'], ['1675219968', '4797'], ['1675221696', '4822'], ['1675223424', '5130'], ['1675225152', '4586'], ['1675226880', '4598'], ['1675228608', '4867'], ['1675230336', '4666'], ['1675232064', '4783'], ['1675233792', '4255'], ['1675235520', '4168'], ['1675237248', '4250'], ['1675238976', '4008'], ['1675240704', '4517'], ['1675242432', '4226'], ['1675244160', '4085'], ['1675245888', '3583'], ['1675247616', '4062'], ['1675249344', '4120'], ['1675251072', '3765'], ['1675252800', '3811'], ['1675254528', '4096'], ['1675256256', '3880'], ['1675257984', '4416'], ['1675259712', '4364'], ['1675261440', '4347'], ['1675263168', '4279'], ['1675264896', '3914'], ['1675266624', '4422'], ['1675268352', '4189'], ['1675270080', '4180'], ['1675271808', '4505'], ['1675273536', '4504'], ['1675275264', '4560'], ['1675276992', '4234'], ['1675278720', '4241'], ['1675280448', '3834'], ['1675282176', '4208'], ['1675283904', '3993'], ['1675285632', '3594'], ['1675287360', '4235'], ['1675289088', '4100'], ['1675290816', '4481'], ['1675292544', '4852'], ['1675294272', '4473'], ['1675296000', '4467'], ['1675297728', '4529'], ['1675299456', '4335'], ['1675301184', '4385'], ['1675302912', '4452'], ['1675304640', '4570'], ['1675306368', '4463'], ['1675308096', '3981'], ['1675309824', '4338'], ['1675311552', '4032'], ['1675313280', '4292'], ['1675315008', '4494'], ['1675316736', '4300'], ['1675318464', '4781'], ['1675320192', '4240'], ['1675321920', '4651'], ['1675323648', '4682'], ['1675325376', '4630'], ['1675327104', '3965'], ['1675328832', '4295'], ['1675330560', '4559'], ['1675332288', '4316'], ['1675334016', '4281'], ['1675335744', '4326'], ['1675337472', '4476'], ['1675339200', '4688'], ['1675340928', '4199'], ['1675342656', '4440'], ['1675344384', '4481'], ['1675346112', '4403'], ['1675347840', '4563'], ['1675349568', '4580'], ['1675351296', '4591'], ['1675353024', '4252']], analysis: { rate: 20.16, total: 435098.0 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '9660'], ['1675183680', '10163'], ['1675185408', '10437'], ['1675187136', '10493'], ['1675188864', '10058'], ['1675190592', '9670'], ['1675192320', '10173'], ['1675194048', '10109'], ['1675195776', '10301'], ['1675197504', '10879'], ['1675199232', '10491'], ['1675200960', '10796'], ['1675202688', '10615'], ['1675204416', '11054'], ['1675206144', '11036'], ['1675207872', '10498'], ['1675209600', '10504'], ['1675211328', '10911'], ['1675213056', '11053'], ['1675214784', '10541'], ['1675216512', '10122'], ['1675218240', '10506'], ['1675219968', '10752'], ['1675221696', '11017'], ['1675223424', '11052'], ['1675225152', '10610'], ['1675226880', '10862'], ['1675228608', '10897'], ['1675230336', '10748'], ['1675232064', '10806'], ['1675233792', '10589'], ['1675235520', '10160'], ['1675237248', '10590'], ['1675238976', '10022'], ['1675240704', '10218'], ['1675242432', '10319'], ['1675244160', '10392'], ['1675245888', '9096'], ['1675247616', '9688'], ['1675249344', '9996'], ['1675251072', '9730'], ['1675252800', '9606'], ['1675254528', '9726'], ['1675256256', '9635'], ['1675257984', '10247'], ['1675259712', '10242'], ['1675261440', '10328'], ['1675263168', '9738'], ['1675264896', '9720'], ['1675266624', '10521'], ['1675268352', '9414'], ['1675270080', '9936'], ['1675271808', '10447'], ['1675273536', '10840'], ['1675275264', '10020'], ['1675276992', '9910'], ['1675278720', '10333'], ['1675280448', '10341'], ['1675282176', '9771'], ['1675283904', '9946'], ['1675285632', '8611'], ['1675287360', '10287'], ['1675289088', '10168'], ['1675290816', '10858'], ['1675292544', '10252'], ['1675294272', '9988'], ['1675296000', '10610'], ['1675297728', '10408'], ['1675299456', '10594'], ['1675301184', '10363'], ['1675302912', '10647'], ['1675304640', '10022'], ['1675306368', '10571'], ['1675308096', '9479'], ['1675309824', '10015'], ['1675311552', '9625'], ['1675313280', '9858'], ['1675315008', '10435'], ['1675316736', '10623'], ['1675318464', '10332'], ['1675320192', '9246'], ['1675321920', '10265'], ['1675323648', '10308'], ['1675325376', '10266'], ['1675327104', '10017'], ['1675328832', '9931'], ['1675330560', '10591'], ['1675332288', '9971'], ['1675334016', '10590'], ['1675335744', '10745'], ['1675337472', '9874'], ['1675339200', '10143'], ['1675340928', '10501'], ['1675342656', '10829'], ['1675344384', '10524'], ['1675346112', '9595'], ['1675347840', '10187'], ['1675349568', '10652'], ['1675351296', '10072'], ['1675353024', '10234']], analysis: { rate: 47.52, total: 1026622.0 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '6259'], ['1675183680', '5994'], ['1675185408', '6400'], ['1675187136', '6495'], ['1675188864', '6432'], ['1675190592', '6382'], ['1675192320', '7069'], ['1675194048', '6016'], ['1675195776', '6542'], ['1675197504', '6274'], ['1675199232', '6580'], ['1675200960', '6660'], ['1675202688', '6121'], ['1675204416', '6612'], ['1675206144', '6465'], ['1675207872', '7281'], ['1675209600', '7306'], ['1675211328', '6455'], ['1675213056', '6976'], ['1675214784', '8342'], ['1675216512', '5635'], ['1675218240', '6527'], ['1675219968', '6182'], ['1675221696', '7297'], ['1675223424', '6458'], ['1675225152', '6446'], ['1675226880', '6260'], ['1675228608', '6424'], ['1675230336', '6584'], ['1675232064', '6260'], ['1675233792', '7646'], ['1675235520', '6740'], ['1675237248', '6407'], ['1675238976', '6809'], ['1675240704', '5862'], ['1675242432', '6052'], ['1675244160', '6395'], ['1675245888', '5817'], ['1675247616', '5452'], ['1675249344', '5573'], ['1675251072', '5614'], ['1675252800', '6100'], ['1675254528', '6085'], ['1675256256', '6413'], ['1675257984', '8435'], ['1675259712', '5928'], ['1675261440', '6034'], ['1675263168', '6818'], ['1675264896', '5718'], ['1675266624', '5842'], ['1675268352', '5789'], ['1675270080', '6738'], ['1675271808', '6023'], ['1675273536', '6160'], ['1675275264', '6088'], ['1675276992', '6252'], ['1675278720', '6782'], ['1675280448', '6569'], ['1675282176', '6028'], ['1675283904', '6243'], ['1675285632', '5515'], ['1675287360', '6350'], ['1675289088', '5872'], ['1675290816', '6445'], ['1675292544', '6173'], ['1675294272', '6579'], ['1675296000', '6547'], ['1675297728', '6635'], ['1675299456', '7510'], ['1675301184', '7063'], ['1675302912', '6524'], ['1675304640', '7073'], ['1675306368', '7444'], ['1675308096', '6280'], ['1675309824', '5793'], ['1675311552', '6172'], ['1675313280', '6252'], ['1675315008', '5648'], ['1675316736', '6324'], ['1675318464', '6242'], ['1675320192', '5861'], ['1675321920', '6722'], ['1675323648', '6581'], ['1675325376', '6184'], ['1675327104', '7407'], ['1675328832', '7587'], ['1675330560', '5659'], ['1675332288', '6138'], ['1675334016', '5978'], ['1675335744', '6513'], ['1675337472', '6154'], ['1675339200', '5983'], ['1675340928', '6780'], ['1675342656', '6356'], ['1675344384', '6301'], ['1675346112', '5765'], ['1675347840', '6199'], ['1675349568', '6272'], ['1675351296', '7894'], ['1675353024', '6256']], analysis: { rate: '', total: '' } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT1728S%27%2C%27zero%27%29%20AS%20stat_time%2C%20app_company%20AS%20app_company%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29%20AND%20stat_time%20%3C%20toDateTime%281675353599%29%20AND%20app_company%20IN%20%28%20%27Bytedance%27%2C%27Tencent%27%2C%27Alibaba%27%2C%27Baidu%27%20%29%20GROUP%20BY%20stat_time%2Capp_company%20ORDER%20BY%20stat_time%20ASC&format=json&option=real-time', msg: 'OK' } }, + { data: { code: 200, data: { total: 31, pageSize: 24, pages: 2, pageNo: 1, list: [{ id: 5568, name: '供应商', type: 'overviewProvide', code: '1', value: 'Alibaba', sort: 0, remark: 'Alibaba Group Holding Limited, also known as Alibaba, is a Chinese multinational technology company specializing in e-commerce, retail, Internet, and technology.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5569, name: '供应商', type: 'overviewProvide', code: '1', value: 'Tencent', sort: 0, remark: 'Tencent Holdings Ltd. is a Chinese multinational technology and entertainment conglomerate and holding company headquartered in Shenzhen. It is one of the highest grossing multimedia companies in the world based on revenue.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5570, name: '供应商', type: 'overviewProvide', code: '1', value: 'Baidu', sort: 0, remark: "Baidu, Inc. is a Chinese multinational technology company specializing in Internet-related services and products and artificial intelligence, headquartered in Beijing's Haidian District. It is one of the largest AI and Internet companies in the world.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5571, name: '供应商', type: 'overviewProvide', code: '1', value: 'Jingdong', sort: 0, remark: 'JD.com, Inc., also known as Jingdong and formerly called 360buy, is a Chinese e-commerce company headquartered in Beijing. It is one of the two massive B2C online retailers in China by transaction volume and revenue, a member of the Fortune Global 500 and a major competitor to Alibaba-run Tmall.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5572, name: '供应商', type: 'overviewProvide', code: '1', value: 'Meituan', sort: 0, remark: 'Meituan operates as a web based shopping platform for locally found consumer products and retail services. The Company offers deals of the day by selling vouchers on local services and entertainment, dining, delivery, and other services. Meituan provides its services throughout China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5573, name: '供应商', type: 'overviewProvide', code: '1', value: 'Bytedance', sort: 0, remark: 'ByteDance Ltd. is a Chinese multinational internet technology company headquartered in Beijing and incorporated in the Cayman Islands.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5574, name: '供应商', type: 'overviewProvide', code: '1', value: 'Pinduoduo', sort: 0, remark: 'Pinduoduo Inc. is the largest Chinese agricultural-focused technology platform. It has created a platform that connects farmers and distributors with consumers directly through its interactive shopping experience.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5575, name: '供应商', type: 'overviewProvide', code: '1', value: 'Netease', sort: 0, remark: 'NetEase, Inc. is a Chinese Internet technology company providing online services centered on content, community, communications, and commerce.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5576, name: '供应商', type: 'overviewProvide', code: '1', value: 'Kuaishou', sort: 0, remark: "Kuaishou is a video-sharing mobile app that is developed by Beijing Kuaishou Technology Co., Ltd. It is popular with users outside China's Tier 1 cities.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5577, name: '供应商', type: 'overviewProvide', code: '1', value: '360cn', sort: 0, remark: 'Qihoo 360, full name Qihoo 360 Technology Co. Ltd., is a Chinese internet security company that has developed the antivirus software programs 360 Safeguard and 360 Mobile Safe, the Web browser 360 Secure Browser, and the mobile application store 360 Mobile Assistant.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5578, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaomi', sort: 0, remark: 'Xiaomi Corporation, commonly known as Xiaomi and registered in Asia as Xiaomi Inc., is a Chinese designer and manufacturer of consumer electronics and related software, home appliances, and household items.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5580, name: '供应商', type: 'overviewProvide', code: '1', value: 'Huawei', sort: 0, remark: 'Huawei Technologies Co., Ltd. is a Chinese multinational technology corporation headquartered in Shenzhen, Guangdong, China. It designs, develops, produces and sells telecommunications equipment, consumer electronics and various smart devices.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5581, name: '供应商', type: 'overviewProvide', code: '1', value: 'Beike', sort: 0, remark: 'KE Holdings Inc is a China-based holding company engaged in housing transactions and related services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5582, name: '供应商', type: 'overviewProvide', code: '1', value: 'Aiqiyi', sort: 0, remark: 'iQIYI, Inc. is an innovative market-leading online entertainment service in China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5583, name: '供应商', type: 'overviewProvide', code: '1', value: 'Ctrip', sort: 0, remark: 'Trip.com Group Limited is a Chinese multinational online travel company that provides services including accommodation reservation, transportation ticketing, packaged tours and corporate travel management.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5584, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sohu', sort: 0, remark: 'Sohu, Inc. is a Chinese Internet company headquartered in the Sohu Internet Plaza in Haidian District, Beijing.[4][5] Sohu and its subsidiaries offer advertising, a search engine (Sogou.com), on-line multiplayer gaming (ChangYou.com) and other services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5585, name: '供应商', type: 'overviewProvide', code: '1', value: 'YY', sort: 0, remark: 'YY is a major Chinese video-based social network, a subsidiary of JOYY.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5586, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaohongshu', sort: 0, remark: 'Xiaohongshu, also known as Little Red Book is a social media and e-commerce platform. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5587, name: '供应商', type: 'overviewProvide', code: '1', value: 'Apple', sort: 0, remark: 'Apple Inc. is an American multinational technology company that specializes in consumer electronics, software and online services headquartered in Cupertino, California, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5588, name: '供应商', type: 'overviewProvide', code: '1', value: 'Microsoft', sort: 0, remark: 'Microsoft Corporation is an American multinational technology corporation which produces computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washington, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5589, name: '供应商', type: 'overviewProvide', code: '1', value: 'Steam', sort: 0, remark: 'Steam parent company Valve has enjoyed enormous success as a game developer, thanks to titles like Half-Life, Counter-Strike: Global Offensive, and Dota 2.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5590, name: '供应商', type: 'overviewProvide', code: '1', value: 'Cibn', sort: 0, remark: 'China International Radio and Television Network (CIBN for short) is a new media international communication platform established by China Radio International.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5591, name: '供应商', type: 'overviewProvide', code: '1', value: 'Amazon', sort: 0, remark: 'Amazon.com, Inc. is an American multinational technology company which focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-06 01:39:14', message: 'success' } }, + { data: { code: 200, data: { total: 3493, pageSize: 24, pages: 146, pageNo: 1, list: [{ id: 2304, name: '应用名', type: 'overviewApp', code: '1', value: 'avoidr', sort: 0, remark: 'Avoidr is a free web proxy', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2560, name: '应用名', type: 'overviewApp', code: '1', value: 'google_translate', sort: 0, remark: 'Google Translate is the Google translation tool', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2816, name: '应用名', type: 'overviewApp', code: '1', value: 'taobao', sort: 0, remark: 'Taobao is a chinese shopping website', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3328, name: '应用名', type: 'overviewApp', code: '1', value: 'searchnu', sort: 0, remark: 'Browser toolbar search engine', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3584, name: '应用名', type: 'overviewApp', code: '1', value: 'standardmedia', sort: 0, remark: 'Kenyan news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3840, name: '应用名', type: 'overviewApp', code: '1', value: 'mocean', sort: 0, remark: 'MOcean is a advertising agency', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4096, name: '应用名', type: 'overviewApp', code: '1', value: 'elnuevoherald', sort: 0, remark: 'Cuban news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4352, name: '应用名', type: 'overviewApp', code: '1', value: 'millardayo', sort: 0, remark: 'Global news portal in Tanzania', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4608, name: '应用名', type: 'overviewApp', code: '1', value: 'thadinatin', sort: 0, remark: 'Popular infotainment portal in Myanmar', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4864, name: '应用名', type: 'overviewApp', code: '1', value: 'iec104', sort: 0, remark: 'IEC 60870-5-104 protocol (aka IEC 104) is a part of IEC Telecontrol Equipment and Systems Standard IEC 60870-5 that provides a communication profile for sending basic telecontrol messages between two systems in electrical engineering and power system automation', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5120, name: '应用名', type: 'overviewApp', code: '1', value: 'agora_io', sort: 0, remark: 'Agora SDK is a WebRTC framework', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5376, name: '应用名', type: 'overviewApp', code: '1', value: 'LaowangVPN', sort: 0, uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2305, name: '应用名', type: 'overviewApp', code: '1', value: 'surrogafier', sort: 0, remark: 'Surrogafier is an online proxy provider This protocol plug-in classifies the http traffic to the hosts surrogafierinfo and govfservercom', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2561, name: '应用名', type: 'overviewApp', code: '1', value: 'gyao', sort: 0, remark: 'GyaO is a video website operated by Yahoo Japan', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2817, name: '应用名', type: 'overviewApp', code: '1', value: 'cvs', sort: 0, remark: 'The Concurrent Versions System keeps track of all work and all changes in a set of files typically the implementation of a software project and allows several developers to collaborate', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3073, name: '应用名', type: 'overviewApp', code: '1', value: 'ifeng_finance', sort: 0, remark: 'Ifeng finance news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3329, name: '应用名', type: 'overviewApp', code: '1', value: 'panet', sort: 0, remark: 'News and entertainment web portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3585, name: '应用名', type: 'overviewApp', code: '1', value: 'tasweernews', sort: 0, remark: 'Jordanian news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3841, name: '应用名', type: 'overviewApp', code: '1', value: 'turner', sort: 0, remark: 'Turner is a video streaming solution provider for audio/video content web services', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4097, name: '应用名', type: 'overviewApp', code: '1', value: 'listindiario', sort: 0, remark: 'Dominican republic news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4353, name: '应用名', type: 'overviewApp', code: '1', value: 'teletica', sort: 0, remark: 'TV calendar service and news web portal in Costa Rica', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4609, name: '应用名', type: 'overviewApp', code: '1', value: 'torrent9', sort: 0, remark: 'Popular torrent file (P2P) search engine and download web site', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4865, name: '应用名', type: 'overviewApp', code: '1', value: 'vonage_mobile', sort: 0, remark: 'Vonage Mobile is an instant messaging application that provides feature to make landline or international calls', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 02:12:00', message: 'success' } }, + { data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 07:46:05', message: 'success' } }, + { data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 09:37:55', message: 'success' } } + ], + chart: { id: 5, name: 'network overview apps', i18n: '', panelId: 1, pid: 0, type: 103, x: 0, y: 6, w: 19, h: 8, params: { app: [{ user: 'default', list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Tencent' }] }, { user: 5, list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Tencent' }, { type: 'provider', name: 'Alibaba' }, { type: 'provider', name: 'Baidu' }] }, { user: 1, list: [{ type: 'app', name: 'douyin' }, { type: 'app', name: 'kuaishou' }, { type: 'app', name: 'wechat' }, { type: 'app', name: 'qq' }, { type: 'provider', name: 'Tencent' }, { type: 'provider', name: 'Jingdong' }, { type: 'provider', name: 'Akamai' }, { type: 'provider', name: 'Bytedance' }, { type: 'provider', name: 'Baidu' }, { type: 'provider', name: 'Huawei' }, { type: 'app', name: 'taobao', appShow: true }] }] }, cby: 1, ctime: '2022-07-06 17:22:22', uby: 1, utime: '2022-11-08 08:19:52', remark: '', state: 1, system: 0, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null }, cuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null }, children: [], parent: null, panel: { id: 1, name: 'Network Overview', i18n: null, type: null, params: null, cby: null, ctime: null, uby: null, utime: null, remark: null, state: null, buildIn: null, uuser: null, cuser: null }, i: 5, category: 'echarts', firstShow: false, moved: false } + }, + empty: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + }, + boundary: { + data: [ + { data: { status: 200, code: 200, queryKey: 'd9f5b7769b8c9025354794d6eb053f5c', success: true, message: null, statistics: { elapsed: 8, rows_read: 151581, bytes_read: 9780720, result_size: 364, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { rate: 1010.16, total: 21819167 }, douyin: { rate: '0', total: 589724424997 }, kuaishou: { rate: 7390882.56, total: 159642139901 } }, { type: 'packets', qq: { rate: 2.64, total: 57117 }, douyin: { rate: 250258400000, total: 540554929 }, kuaishou: { rate: 6813.36, total: 147167390 } }, { type: 'sessions', qq: { rate: 0.08, total: 2042 }, douyin: { rate: 2504000000000, total: 541472 }, kuaishou: { rate: 5.04, total: 108589 } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675180800-172799%20AND%20stat_time%20%3C%201675353599-172799%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20app_label&format=json&option=real-time', msg: 'OK' } }, + { data: { status: 200, code: 200, queryKey: '0d6d3c03e630309af3ff000a353145bc', success: true, message: null, statistics: { elapsed: 40, rows_read: 633867, bytes_read: 23030397, result_size: 43140, result_rows: 404 }, job: null, formatType: 'json', meta: [{ name: 'stat_time', type: 'long', category: 'Dimension' }, { name: 'app_label', type: 'string', category: 'Dimension' }, { name: 'bytes_total', type: 'long', category: 'Metric' }, { name: 'packets_total', type: 'long', category: 'Metric' }, { name: 'sessions_total', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ type: 'bytes', qq: { values: [['1675180224', '0'], ['1675181952', '227614'], ['1675183680', '38412'], ['1675185408', '116041'], ['1675187136', '128653'], ['1675188864', '135713'], ['1675190592', '122184'], ['1675192320', '129864'], ['1675194048', '1964603'], ['1675195776', '125529'], ['1675197504', '40230'], ['1675199232', '77972'], ['1675200960', '78289'], ['1675202688', '67906'], ['1675204416', '57945'], ['1675206144', '109257'], ['1675207872', '143575'], ['1675209600', '118119'], ['1675211328', '175533'], ['1675213056', '69095'], ['1675214784', '108809'], ['1675216512', '130300'], ['1675218240', '68447'], ['1675219968', '630788'], ['1675221696', '155681'], ['1675223424', '176030'], ['1675225152', '128553'], ['1675226880', '113247'], ['1675228608', '50118'], ['1675230336', '84248'], ['1675232064', '142975'], ['1675233792', '93655'], ['1675235520', '33835'], ['1675237248', '139744'], ['1675238976', '77275'], ['1675240704', '121832'], ['1675242432', '96674'], ['1675244160', '117739'], ['1675245888', '167341'], ['1675247616', '111160'], ['1675249344', '121214'], ['1675251072', '52357'], ['1675252800', '64871'], ['1675254528', '175765'], ['1675256256', '198280'], ['1675257984', '313557'], ['1675259712', '130227'], ['1675261440', '104428'], ['1675263168', '274705'], ['1675264896', '70431'], ['1675266624', '140682'], ['1675268352', '83156'], ['1675270080', '1294611'], ['1675271808', '62669'], ['1675273536', '95395'], ['1675275264', '65723'], ['1675276992', '100901'], ['1675278720', '79062'], ['1675280448', '169488'], ['1675282176', '129568'], ['1675283904', '53631'], ['1675285632', '97518'], ['1675287360', '119426'], ['1675289088', '52308'], ['1675290816', '1361035'], ['1675292544', '156913'], ['1675294272', '215434'], ['1675296000', '54255'], ['1675297728', '288032'], ['1675299456', '772642'], ['1675301184', '107272'], ['1675302912', '92936'], ['1675304640', '498593'], ['1675306368', '102826'], ['1675308096', '76248'], ['1675309824', '145622'], ['1675311552', '55976'], ['1675313280', '75229'], ['1675315008', '162535'], ['1675316736', '180897'], ['1675318464', '60033'], ['1675320192', '64638'], ['1675321920', '129043'], ['1675323648', '579694'], ['1675325376', '51898'], ['1675327104', '75191'], ['1675328832', '333430'], ['1675330560', '39211'], ['1675332288', '1735358'], ['1675334016', '58490'], ['1675335744', '104864'], ['1675337472', '264375'], ['1675339200', '269080'], ['1675340928', '70592'], ['1675342656', '93411'], ['1675344384', '112441'], ['1675346112', '90449'], ['1675347840', '70863'], ['1675349568', '96436'], ['1675351296', '185547'], ['1675353024', '119575']], analysis: { rate: 910.96, total: 1.9676022E7 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6840349207'], ['1675183680', '6938901016'], ['1675185408', '7305187539'], ['1675187136', '8188141571'], ['1675188864', '7247690661'], ['1675190592', '6926759120'], ['1675192320', '7380048772'], ['1675194048', '7993802965'], ['1675195776', '6965741583'], ['1675197504', '8346510734'], ['1675199232', '6825635569'], ['1675200960', '8038915184'], ['1675202688', '8477225356'], ['1675204416', '8038673785'], ['1675206144', '7753302399'], ['1675207872', '7465742788'], ['1675209600', '7584210058'], ['1675211328', '7588104529'], ['1675213056', '8582557129'], ['1675214784', '6841255319'], ['1675216512', '7587872713'], ['1675218240', '7466607445'], ['1675219968', '7870624721'], ['1675221696', '7412764966'], ['1675223424', '8223871918'], ['1675225152', '8243945377'], ['1675226880', '7638363700'], ['1675228608', '7540615267'], ['1675230336', '7650851184'], ['1675232064', '7617949860'], ['1675233792', '7329955659'], ['1675235520', '8245178822'], ['1675237248', '7792148620'], ['1675238976', '7534743840'], ['1675240704', '7851088104'], ['1675242432', '7635228927'], ['1675244160', '6951204213'], ['1675245888', '6381170963'], ['1675247616', '6813650211'], ['1675249344', '7076447245'], ['1675251072', '6632590990'], ['1675252800', '7598778382'], ['1675254528', '7116694268'], ['1675256256', '7626461803'], ['1675257984', '7264879741'], ['1675259712', '7752671679'], ['1675261440', '7515853750'], ['1675263168', '7579932467'], ['1675264896', '7486997643'], ['1675266624', '7051686793'], ['1675268352', '6873607777'], ['1675270080', '7164166983'], ['1675271808', '8195989021'], ['1675273536', '7704140177'], ['1675275264', '6922140060'], ['1675276992', '6681666225'], ['1675278720', '7215000735'], ['1675280448', '7308499670'], ['1675282176', '7296427060'], ['1675283904', '7580297764'], ['1675285632', '6448511494'], ['1675287360', '7480200181'], ['1675289088', '7233539573'], ['1675290816', '7604079203'], ['1675292544', '7347409713'], ['1675294272', '7539122424'], ['1675296000', '8268929988'], ['1675297728', '7904603396'], ['1675299456', '7481158268'], ['1675301184', '7979103862'], ['1675302912', '8030132482'], ['1675304640', '6815551453'], ['1675306368', '6998980883'], ['1675308096', '6637269462'], ['1675309824', '7831818720'], ['1675311552', '6318916982'], ['1675313280', '7442258523'], ['1675315008', '7118095146'], ['1675316736', '7402017517'], ['1675318464', '7493982868'], ['1675320192', '6520083159'], ['1675321920', '7032318182'], ['1675323648', '6905781093'], ['1675325376', '7802918848'], ['1675327104', '7176212380'], ['1675328832', '7211668065'], ['1675330560', '6843290032'], ['1675332288', '7283947628'], ['1675334016', '7177682226'], ['1675335744', '7391199988'], ['1675337472', '6754687853'], ['1675339200', '6993139381'], ['1675340928', '6874136769'], ['1675342656', '6783677168'], ['1675344384', '7349291166'], ['1675346112', '6556961502'], ['1675347840', '7491223967'], ['1675349568', '7842238132'], ['1675351296', '6221073616'], ['1675353024', '7242494202']], analysis: { rate: 3.414793976E7, total: 7.37591229522E11 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1868006861'], ['1675183680', '1732168677'], ['1675185408', '2131898696'], ['1675187136', '2063010277'], ['1675188864', '1937537679'], ['1675190592', '1936788154'], ['1675192320', '2112580028'], ['1675194048', '1507654055'], ['1675195776', '2391037476'], ['1675197504', '2299446264'], ['1675199232', '1735303680'], ['1675200960', '1914095622'], ['1675202688', '1631022968'], ['1675204416', '2460019472'], ['1675206144', '1862981044'], ['1675207872', '1928704280'], ['1675209600', '1908009754'], ['1675211328', '1654220896'], ['1675213056', '2077381841'], ['1675214784', '2446500655'], ['1675216512', '2521067191'], ['1675218240', '1898347189'], ['1675219968', '1773018533'], ['1675221696', '1763549248'], ['1675223424', '1987857147'], ['1675225152', '1923607018'], ['1675226880', '2088989063'], ['1675228608', '2282878819'], ['1675230336', '1984472550'], ['1675232064', '1973641852'], ['1675233792', '2171240776'], ['1675235520', '2398440034'], ['1675237248', '1653378142'], ['1675238976', '1706909466'], ['1675240704', '2129291289'], ['1675242432', '1855368544'], ['1675244160', '1749240925'], ['1675245888', '1989494774'], ['1675247616', '1845322089'], ['1675249344', '2654426983'], ['1675251072', '1727183617'], ['1675252800', '1788630455'], ['1675254528', '1752731900'], ['1675256256', '1792192548'], ['1675257984', '2093031894'], ['1675259712', '1647678097'], ['1675261440', '2330265624'], ['1675263168', '1944482494'], ['1675264896', '1803569696'], ['1675266624', '2439742888'], ['1675268352', '3347846376'], ['1675270080', '1505440347'], ['1675271808', '2190442219'], ['1675273536', '1993445094'], ['1675275264', '1902837201'], ['1675276992', '2996332903'], ['1675278720', '1961133544'], ['1675280448', '1928639573'], ['1675282176', '2156986535'], ['1675283904', '1865411850'], ['1675285632', '1817765812'], ['1675287360', '1864996543'], ['1675289088', '1675537740'], ['1675290816', '1961491179'], ['1675292544', '1872641081'], ['1675294272', '1982193032'], ['1675296000', '2438454944'], ['1675297728', '2174619701'], ['1675299456', '1786626737'], ['1675301184', '1834178614'], ['1675302912', '1910990943'], ['1675304640', '2182469866'], ['1675306368', '1865110834'], ['1675308096', '2078719494'], ['1675309824', '2032641504'], ['1675311552', '1972714687'], ['1675313280', '1768457473'], ['1675315008', '1742922515'], ['1675316736', '2271077831'], ['1675318464', '1859973394'], ['1675320192', '1732928389'], ['1675321920', '1719608554'], ['1675323648', '1822114739'], ['1675325376', '1932173415'], ['1675327104', '2063384929'], ['1675328832', '2090741727'], ['1675330560', '1579268455'], ['1675332288', '2046765417'], ['1675334016', '2331961077'], ['1675335744', '2016304838'], ['1675337472', '1492052833'], ['1675339200', '1897359803'], ['1675340928', '1819642960'], ['1675342656', '1533538421'], ['1675344384', '2190655674'], ['1675346112', '1588408379'], ['1675347840', '1979353840'], ['1675349568', '2107484915'], ['1675351296', '2249064595'], ['1675353024', '1920902044']], analysis: { rate: 9181730.64, total: 1.98324233794E11 } } }, { type: 'packets', qq: { values: [['1675180224', '0'], ['1675181952', '606'], ['1675183680', '214'], ['1675185408', '526'], ['1675187136', '658'], ['1675188864', '962'], ['1675190592', '699'], ['1675192320', '497'], ['1675194048', '4134'], ['1675195776', '430'], ['1675197504', '242'], ['1675199232', '429'], ['1675200960', '346'], ['1675202688', '340'], ['1675204416', '337'], ['1675206144', '546'], ['1675207872', '614'], ['1675209600', '540'], ['1675211328', '463'], ['1675213056', '376'], ['1675214784', '451'], ['1675216512', '682'], ['1675218240', '396'], ['1675219968', '1123'], ['1675221696', '736'], ['1675223424', '771'], ['1675225152', '850'], ['1675226880', '569'], ['1675228608', '280'], ['1675230336', '389'], ['1675232064', '695'], ['1675233792', '457'], ['1675235520', '180'], ['1675237248', '487'], ['1675238976', '388'], ['1675240704', '553'], ['1675242432', '454'], ['1675244160', '514'], ['1675245888', '551'], ['1675247616', '446'], ['1675249344', '523'], ['1675251072', '324'], ['1675252800', '338'], ['1675254528', '473'], ['1675256256', '732'], ['1675257984', '649'], ['1675259712', '689'], ['1675261440', '490'], ['1675263168', '735'], ['1675264896', '339'], ['1675266624', '657'], ['1675268352', '383'], ['1675270080', '1747'], ['1675271808', '263'], ['1675273536', '349'], ['1675275264', '316'], ['1675276992', '520'], ['1675278720', '380'], ['1675280448', '486'], ['1675282176', '550'], ['1675283904', '319'], ['1675285632', '478'], ['1675287360', '604'], ['1675289088', '266'], ['1675290816', '1751'], ['1675292544', '416'], ['1675294272', '1045'], ['1675296000', '273'], ['1675297728', '644'], ['1675299456', '1215'], ['1675301184', '507'], ['1675302912', '436'], ['1675304640', '1353'], ['1675306368', '431'], ['1675308096', '409'], ['1675309824', '384'], ['1675311552', '209'], ['1675313280', '399'], ['1675315008', '435'], ['1675316736', '443'], ['1675318464', '241'], ['1675320192', '368'], ['1675321920', '399'], ['1675323648', '1294'], ['1675325376', '300'], ['1675327104', '384'], ['1675328832', '962'], ['1675330560', '234'], ['1675332288', '6718'], ['1675334016', '254'], ['1675335744', '446'], ['1675337472', '615'], ['1675339200', '877'], ['1675340928', '404'], ['1675342656', '548'], ['1675344384', '458'], ['1675346112', '347'], ['1675347840', '354'], ['1675349568', '417'], ['1675351296', '387'], ['1675353024', '441']], analysis: { rate: 2.96, total: 63339.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6197371'], ['1675183680', '6358852'], ['1675185408', '6715754'], ['1675187136', '7436866'], ['1675188864', '6557821'], ['1675190592', '6355871'], ['1675192320', '6859765'], ['1675194048', '7127026'], ['1675195776', '6381159'], ['1675197504', '7567599'], ['1675199232', '6226694'], ['1675200960', '7369356'], ['1675202688', '7712436'], ['1675204416', '7345952'], ['1675206144', '7218586'], ['1675207872', '6839080'], ['1675209600', '6887533'], ['1675211328', '6935752'], ['1675213056', '7890836'], ['1675214784', '6251184'], ['1675216512', '6845634'], ['1675218240', '6892309'], ['1675219968', '7150591'], ['1675221696', '6823704'], ['1675223424', '7646335'], ['1675225152', '7486344'], ['1675226880', '7040943'], ['1675228608', '6899602'], ['1675230336', '7066419'], ['1675232064', '7012961'], ['1675233792', '6734310'], ['1675235520', '7507330'], ['1675237248', '7328470'], ['1675238976', '7038404'], ['1675240704', '7173446'], ['1675242432', '6993118'], ['1675244160', '6410795'], ['1675245888', '5911194'], ['1675247616', '6277144'], ['1675249344', '6534898'], ['1675251072', '6118595'], ['1675252800', '6991938'], ['1675254528', '6519410'], ['1675256256', '7181072'], ['1675257984', '6615763'], ['1675259712', '7021918'], ['1675261440', '6878676'], ['1675263168', '7164503'], ['1675264896', '6874729'], ['1675266624', '6432753'], ['1675268352', '6307274'], ['1675270080', '6647741'], ['1675271808', '7462350'], ['1675273536', '7142099'], ['1675275264', '6328964'], ['1675276992', '6183940'], ['1675278720', '6791555'], ['1675280448', '6685349'], ['1675282176', '6661602'], ['1675283904', '6946903'], ['1675285632', '5897413'], ['1675287360', '6805796'], ['1675289088', '6568242'], ['1675290816', '7007823'], ['1675292544', '6610019'], ['1675294272', '6858170'], ['1675296000', '7744211'], ['1675297728', '7208221'], ['1675299456', '6815118'], ['1675301184', '7357640'], ['1675302912', '7459213'], ['1675304640', '6214814'], ['1675306368', '6458755'], ['1675308096', '6134159'], ['1675309824', '7139250'], ['1675311552', '5874017'], ['1675313280', '6848695'], ['1675315008', '6519852'], ['1675316736', '6777270'], ['1675318464', '6846661'], ['1675320192', '5884151'], ['1675321920', '6489480'], ['1675323648', '6293153'], ['1675325376', '7195451'], ['1675327104', '6517878'], ['1675328832', '6551928'], ['1675330560', '6274616'], ['1675332288', '6631027'], ['1675334016', '6614058'], ['1675335744', '6771588'], ['1675337472', '6188863'], ['1675339200', '6427004'], ['1675340928', '6343710'], ['1675342656', '6178169'], ['1675344384', '6657322'], ['1675346112', '6091040'], ['1675347840', '6871382'], ['1675349568', '7173669'], ['1675351296', '5823930'], ['1675353024', '6710423']], analysis: { rate: 31333520000, total: 676800759E8 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1705580'], ['1675183680', '1593727'], ['1675185408', '1946915'], ['1675187136', '1917429'], ['1675188864', '1795867'], ['1675190592', '1767678'], ['1675192320', '1863517'], ['1675194048', '1378238'], ['1675195776', '2133321'], ['1675197504', '2221475'], ['1675199232', '1603668'], ['1675200960', '1738494'], ['1675202688', '1513171'], ['1675204416', '2255791'], ['1675206144', '1716124'], ['1675207872', '1782197'], ['1675209600', '1744454'], ['1675211328', '1554832'], ['1675213056', '1984725'], ['1675214784', '2233360'], ['1675216512', '2297592'], ['1675218240', '1741490'], ['1675219968', '1624499'], ['1675221696', '1630196'], ['1675223424', '1815006'], ['1675225152', '1756123'], ['1675226880', '1899440'], ['1675228608', '2100577'], ['1675230336', '1831805'], ['1675232064', '1819676'], ['1675233792', '1978645'], ['1675235520', '2167573'], ['1675237248', '1557262'], ['1675238976', '1559497'], ['1675240704', '1944289'], ['1675242432', '1674776'], ['1675244160', '1614920'], ['1675245888', '1791181'], ['1675247616', '1675268'], ['1675249344', '2693715'], ['1675251072', '1642608'], ['1675252800', '1644117'], ['1675254528', '1562746'], ['1675256256', '1641479'], ['1675257984', '1935089'], ['1675259712', '1524063'], ['1675261440', '2144236'], ['1675263168', '1744826'], ['1675264896', '1644469'], ['1675266624', '2158417'], ['1675268352', '3294854'], ['1675270080', '1368127'], ['1675271808', '2014564'], ['1675273536', '1810232'], ['1675275264', '1759498'], ['1675276992', '2605599'], ['1675278720', '1780170'], ['1675280448', '1760412'], ['1675282176', '1996901'], ['1675283904', '1750576'], ['1675285632', '1661220'], ['1675287360', '1712123'], ['1675289088', '1536965'], ['1675290816', '1817954'], ['1675292544', '1733340'], ['1675294272', '1790373'], ['1675296000', '2469841'], ['1675297728', '2010199'], ['1675299456', '1642746'], ['1675301184', '1702235'], ['1675302912', '1732882'], ['1675304640', '2004182'], ['1675306368', '1718766'], ['1675308096', '1878088'], ['1675309824', '1969171'], ['1675311552', '1767540'], ['1675313280', '1637693'], ['1675315008', '1596693'], ['1675316736', '2018056'], ['1675318464', '1771415'], ['1675320192', '1595262'], ['1675321920', '1592882'], ['1675323648', '1902703'], ['1675325376', '1749528'], ['1675327104', '1848181'], ['1675328832', '1939436'], ['1675330560', '1443588'], ['1675332288', '1861515'], ['1675334016', '2110223'], ['1675335744', '1842995'], ['1675337472', '1374125'], ['1675339200', '1718740'], ['1675340928', '1665297'], ['1675342656', '1425021'], ['1675344384', '1991077'], ['1675346112', '1444718'], ['1675347840', '1873466'], ['1675349568', '1936970'], ['1675351296', '2080810'], ['1675353024', '1736479']], analysis: { rate: 84588800000000, total: 182711574E8 } } }, { type: 'sessions', qq: { values: [['1675180224', '0'], ['1675181952', '31'], ['1675183680', '20'], ['1675185408', '34'], ['1675187136', '74'], ['1675188864', '279'], ['1675190592', '109'], ['1675192320', '29'], ['1675194048', '24'], ['1675195776', '27'], ['1675197504', '17'], ['1675199232', '29'], ['1675200960', '19'], ['1675202688', '22'], ['1675204416', '22'], ['1675206144', '38'], ['1675207872', '36'], ['1675209600', '31'], ['1675211328', '30'], ['1675213056', '24'], ['1675214784', '23'], ['1675216512', '41'], ['1675218240', '24'], ['1675219968', '32'], ['1675221696', '41'], ['1675223424', '51'], ['1675225152', '29'], ['1675226880', '35'], ['1675228608', '24'], ['1675230336', '22'], ['1675232064', '33'], ['1675233792', '31'], ['1675235520', '15'], ['1675237248', '18'], ['1675238976', '24'], ['1675240704', '34'], ['1675242432', '34'], ['1675244160', '30'], ['1675245888', '23'], ['1675247616', '29'], ['1675249344', '27'], ['1675251072', '26'], ['1675252800', '22'], ['1675254528', '27'], ['1675256256', '29'], ['1675257984', '24'], ['1675259712', '34'], ['1675261440', '22'], ['1675263168', '22'], ['1675264896', '22'], ['1675266624', '27'], ['1675268352', '21'], ['1675270080', '30'], ['1675271808', '19'], ['1675273536', '20'], ['1675275264', '20'], ['1675276992', '24'], ['1675278720', '28'], ['1675280448', '31'], ['1675282176', '25'], ['1675283904', '19'], ['1675285632', '31'], ['1675287360', '30'], ['1675289088', '19'], ['1675290816', '32'], ['1675292544', '23'], ['1675294272', '28'], ['1675296000', '29'], ['1675297728', '25'], ['1675299456', '33'], ['1675301184', '26'], ['1675302912', '23'], ['1675304640', '37'], ['1675306368', '24'], ['1675308096', '28'], ['1675309824', '17'], ['1675311552', '15'], ['1675313280', '28'], ['1675315008', '27'], ['1675316736', '29'], ['1675318464', '22'], ['1675320192', '22'], ['1675321920', '25'], ['1675323648', '30'], ['1675325376', '20'], ['1675327104', '28'], ['1675328832', '25'], ['1675330560', '12'], ['1675332288', '34'], ['1675334016', '19'], ['1675335744', '22'], ['1675337472', '31'], ['1675339200', '29'], ['1675340928', '31'], ['1675342656', '23'], ['1675344384', '36'], ['1675346112', '22'], ['1675347840', '25'], ['1675349568', '24'], ['1675351296', '26'], ['1675353024', '16']], analysis: { rate: 0.16, total: 3033.0 } }, douyin: { values: [['1675180224', '0'], ['1675181952', '6307'], ['1675183680', '6702'], ['1675185408', '6756'], ['1675187136', '6828'], ['1675188864', '6497'], ['1675190592', '6185'], ['1675192320', '6583'], ['1675194048', '6532'], ['1675195776', '6740'], ['1675197504', '7292'], ['1675199232', '6741'], ['1675200960', '7047'], ['1675202688', '7131'], ['1675204416', '7279'], ['1675206144', '7196'], ['1675207872', '6783'], ['1675209600', '6854'], ['1675211328', '7270'], ['1675213056', '7356'], ['1675214784', '6577'], ['1675216512', '6797'], ['1675218240', '6803'], ['1675219968', '7000'], ['1675221696', '7003'], ['1675223424', '7239'], ['1675225152', '7020'], ['1675226880', '6913'], ['1675228608', '7101'], ['1675230336', '6999'], ['1675232064', '6962'], ['1675233792', '6751'], ['1675235520', '6536'], ['1675237248', '6941'], ['1675238976', '6415'], ['1675240704', '6791'], ['1675242432', '6908'], ['1675244160', '6860'], ['1675245888', '5950'], ['1675247616', '6232'], ['1675249344', '6511'], ['1675251072', '6425'], ['1675252800', '6286'], ['1675254528', '6372'], ['1675256256', '6196'], ['1675257984', '6540'], ['1675259712', '6727'], ['1675261440', '6848'], ['1675263168', '6384'], ['1675264896', '6558'], ['1675266624', '6920'], ['1675268352', '6138'], ['1675270080', '6483'], ['1675271808', '6787'], ['1675273536', '7100'], ['1675275264', '6471'], ['1675276992', '6572'], ['1675278720', '6853'], ['1675280448', '6651'], ['1675282176', '6495'], ['1675283904', '6561'], ['1675285632', '5679'], ['1675287360', '6804'], ['1675289088', '6701'], ['1675290816', '7207'], ['1675292544', '6823'], ['1675294272', '6503'], ['1675296000', '6936'], ['1675297728', '6897'], ['1675299456', '6850'], ['1675301184', '6706'], ['1675302912', '7029'], ['1675304640', '6323'], ['1675306368', '6737'], ['1675308096', '6051'], ['1675309824', '6497'], ['1675311552', '6195'], ['1675313280', '6366'], ['1675315008', '6814'], ['1675316736', '6815'], ['1675318464', '6703'], ['1675320192', '5984'], ['1675321920', '6553'], ['1675323648', '6695'], ['1675325376', '6797'], ['1675327104', '6273'], ['1675328832', '6351'], ['1675330560', '6805'], ['1675332288', '6460'], ['1675334016', '6957'], ['1675335744', '6849'], ['1675337472', '6486'], ['1675339200', '6635'], ['1675340928', '6558'], ['1675342656', '6865'], ['1675344384', '6716'], ['1675346112', '6258'], ['1675347840', '6677'], ['1675349568', '6991'], ['1675351296', '6307'], ['1675353024', '6618']], analysis: { rate: 30.96, total: 668226.0 } }, kuaishou: { values: [['1675180224', '0'], ['1675181952', '1250'], ['1675183680', '1337'], ['1675185408', '1466'], ['1675187136', '1327'], ['1675188864', '1350'], ['1675190592', '1221'], ['1675192320', '1433'], ['1675194048', '1462'], ['1675195776', '1386'], ['1675197504', '1476'], ['1675199232', '1403'], ['1675200960', '1413'], ['1675202688', '1518'], ['1675204416', '1436'], ['1675206144', '1578'], ['1675207872', '1496'], ['1675209600', '1490'], ['1675211328', '1479'], ['1675213056', '1541'], ['1675214784', '1394'], ['1675216512', '1371'], ['1675218240', '1345'], ['1675219968', '1397'], ['1675221696', '1368'], ['1675223424', '1425'], ['1675225152', '1284'], ['1675226880', '1380'], ['1675228608', '1426'], ['1675230336', '1419'], ['1675232064', '1382'], ['1675233792', '1303'], ['1675235520', '1312'], ['1675237248', '1364'], ['1675238976', '1253'], ['1675240704', '1373'], ['1675242432', '1353'], ['1675244160', '1371'], ['1675245888', '1189'], ['1675247616', '1287'], ['1675249344', '1319'], ['1675251072', '1232'], ['1675252800', '1223'], ['1675254528', '1254'], ['1675256256', '1250'], ['1675257984', '1289'], ['1675259712', '1271'], ['1675261440', '1315'], ['1675263168', '1216'], ['1675264896', '1283'], ['1675266624', '1368'], ['1675268352', '1204'], ['1675270080', '1269'], ['1675271808', '1338'], ['1675273536', '1431'], ['1675275264', '1407'], ['1675276992', '1283'], ['1675278720', '1285'], ['1675280448', '1306'], ['1675282176', '1387'], ['1675283904', '1393'], ['1675285632', '1246'], ['1675287360', '1392'], ['1675289088', '1312'], ['1675290816', '1456'], ['1675292544', '1364'], ['1675294272', '1321'], ['1675296000', '1454'], ['1675297728', '1442'], ['1675299456', '1356'], ['1675301184', '1440'], ['1675302912', '1397'], ['1675304640', '1261'], ['1675306368', '1377'], ['1675308096', '1289'], ['1675309824', '1347'], ['1675311552', '1227'], ['1675313280', '1242'], ['1675315008', '1346'], ['1675316736', '1281'], ['1675318464', '1319'], ['1675320192', '1151'], ['1675321920', '1316'], ['1675323648', '1276'], ['1675325376', '1371'], ['1675327104', '1322'], ['1675328832', '1292'], ['1675330560', '1369'], ['1675332288', '1250'], ['1675334016', '1373'], ['1675335744', '1264'], ['1675337472', '1306'], ['1675339200', '1311'], ['1675340928', '1396'], ['1675342656', '1306'], ['1675344384', '1314'], ['1675346112', '1252'], ['1675347840', '1381'], ['1675349568', '1346'], ['1675351296', '1264'], ['1675353024', '1354']], analysis: { rate: 6.24, total: 134464.0 } }, wechat: { values: [['1675180224', '0'], ['1675181952', '2364'], ['1675183680', '2379'], ['1675185408', '2393'], ['1675187136', '2569'], ['1675188864', '2380'], ['1675190592', '2014'], ['1675192320', '2262'], ['1675194048', '2348'], ['1675195776', '2290'], ['1675197504', '2716'], ['1675199232', '2370'], ['1675200960', '2274'], ['1675202688', '2546'], ['1675204416', '2514'], ['1675206144', '2693'], ['1675207872', '2274'], ['1675209600', '2385'], ['1675211328', '2557'], ['1675213056', '2383'], ['1675214784', '2379'], ['1675216512', '2465'], ['1675218240', '2421'], ['1675219968', '2658'], ['1675221696', '2141'], ['1675223424', '2746'], ['1675225152', '2308'], ['1675226880', '2493'], ['1675228608', '2572'], ['1675230336', '2532'], ['1675232064', '2581'], ['1675233792', '2265'], ['1675235520', '2261'], ['1675237248', '2461'], ['1675238976', '2277'], ['1675240704', '2576'], ['1675242432', '2513'], ['1675244160', '2396'], ['1675245888', '2032'], ['1675247616', '2353'], ['1675249344', '2427'], ['1675251072', '2281'], ['1675252800', '2171'], ['1675254528', '2425'], ['1675256256', '2159'], ['1675257984', '2193'], ['1675259712', '2377'], ['1675261440', '2438'], ['1675263168', '2205'], ['1675264896', '2197'], ['1675266624', '2422'], ['1675268352', '2396'], ['1675270080', '2266'], ['1675271808', '2580'], ['1675273536', '2472'], ['1675275264', '2519'], ['1675276992', '2299'], ['1675278720', '2321'], ['1675280448', '2203'], ['1675282176', '2255'], ['1675283904', '2262'], ['1675285632', '1913'], ['1675287360', '2283'], ['1675289088', '2423'], ['1675290816', '2308'], ['1675292544', '2363'], ['1675294272', '2182'], ['1675296000', '2522'], ['1675297728', '2432'], ['1675299456', '2284'], ['1675301184', '2380'], ['1675302912', '2392'], ['1675304640', '2300'], ['1675306368', '2200'], ['1675308096', '2063'], ['1675309824', '2436'], ['1675311552', '1986'], ['1675313280', '2189'], ['1675315008', '2430'], ['1675316736', '2315'], ['1675318464', '2360'], ['1675320192', '2156'], ['1675321920', '2346'], ['1675323648', '2188'], ['1675325376', '2513'], ['1675327104', '2040'], ['1675328832', '2402'], ['1675330560', '2576'], ['1675332288', '2354'], ['1675334016', '2476'], ['1675335744', '2149'], ['1675337472', '2197'], ['1675339200', '2602'], ['1675340928', '2138'], ['1675342656', '2435'], ['1675344384', '2385'], ['1675346112', '2262'], ['1675347840', '2497'], ['1675349568', '2322'], ['1675351296', '2075'], ['1675353024', '2423']], analysis: { rate: 10.88, total: 235306.0 } } }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20TIME_FLOOR_WITH_FILL%28stat_time%2C%27PT1728S%27%2C%27zero%27%29%20AS%20stat_time%2C%20common_app_label%20AS%20app_label%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20bytes_total%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20packets_total%2C%20SUM%28common_sessions%29%20AS%20sessions_total%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%20toDateTime%281675180800%29%20AND%20stat_time%20%3C%20toDateTime%281675353599%29%20AND%20common_app_label%20IN%20%28%20%27douyin%27%2C%27kuaishou%27%2C%27qq%27%2C%27wechat%27%20%29%20GROUP%20BY%20stat_time%2Capp_label%20ORDER%20BY%20stat_time%20ASC&format=json&option=real-time', msg: 'OK' } }, + { data: { status: 200, code: 200, data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { rate: 10881251200, total: 23503366121 }, Tencent: { rate: 13817425.76, total: 298454669638 }, Bytedance: { rate: 29791297.68, total: 643488305661 }, Alibaba: { rate: 3822845.52, total: 82572985509 } }, { type: 'packets', Baidu: { rate: 1132.24, total: 24456798 }, Tencent: { rate: 15815.6, total: 341615256 }, Bytedance: { rate: 27681.68, total: 597920164 }, Alibaba: { rate: 4051.04, total: 87502224 } }, { type: 'sessions', Baidu: { rate: 7.36, total: 158507 }, Tencent: { rate: 16.4, total: 355022 }, Bytedance: { rate: 38.56, total: 833195 }, Alibaba: { rate: 24, total: 519104 } }] } } }, + { data: { status: 200, code: 200, data: { resultType: 'object', result: [{ type: 'bytes', Baidu: { values: [['1675180224', '0'], ['1675181952', '186922462'], ['1675183680', '246368399'], ['1675185408', '319109553'], ['1675187136', '304441401'], ['1675188864', '535693636'], ['1675190592', '306487561'], ['1675192320', '179845873'], ['1675194048', '240757575'], ['1675195776', '242490898'], ['1675197504', '266812080'], ['1675199232', '285633401'], ['1675200960', '250783731'], ['1675202688', '202741925'], ['1675204416', '288905564'], ['1675206144', '264733418'], ['1675207872', '170662251'], ['1675209600', '188119952'], ['1675211328', '258930258'], ['1675213056', '211813880'], ['1675214784', '311067410'], ['1675216512', '228958245'], ['1675218240', '203782626'], ['1675219968', '258819386'], ['1675221696', '922311133'], ['1675223424', '274140838'], ['1675225152', '214457186'], ['1675226880', '320938298'], ['1675228608', '223494342'], ['1675230336', '263221725'], ['1675232064', '392156448'], ['1675233792', '209510347'], ['1675235520', '233293822'], ['1675237248', '420123341'], ['1675238976', '500120418'], ['1675240704', '306320387'], ['1675242432', '276800750'], ['1675244160', '246412014'], ['1675245888', '213229410'], ['1675247616', '174621303'], ['1675249344', '167818258'], ['1675251072', '311630640'], ['1675252800', '204026984'], ['1675254528', '248019634'], ['1675256256', '225920989'], ['1675257984', '289571558'], ['1675259712', '260433584'], ['1675261440', '267076409'], ['1675263168', '172960469'], ['1675264896', '187771584'], ['1675266624', '241454724'], ['1675268352', '329752706'], ['1675270080', '288552844'], ['1675271808', '248913131'], ['1675273536', '343099199'], ['1675275264', '279732573'], ['1675276992', '199138635'], ['1675278720', '253584024'], ['1675280448', '186462990'], ['1675282176', '241297490'], ['1675283904', '676915126'], ['1675285632', '238702155'], ['1675287360', '349619952'], ['1675289088', '236809805'], ['1675290816', '236038733'], ['1675292544', '276030570'], ['1675294272', '277516641'], ['1675296000', '211822464'], ['1675297728', '272051733'], ['1675299456', '235388507'], ['1675301184', '319171935'], ['1675302912', '192217920'], ['1675304640', '345455785'], ['1675306368', '319848769'], ['1675308096', '303561695'], ['1675309824', '208942533'], ['1675311552', '272791726'], ['1675313280', '204352308'], ['1675315008', '388846886'], ['1675316736', '339402557'], ['1675318464', '260030322'], ['1675320192', '264913750'], ['1675321920', '268731960'], ['1675323648', '245927219'], ['1675325376', '279881933'], ['1675327104', '311843005'], ['1675328832', '282638902'], ['1675330560', '185391416'], ['1675332288', '251799584'], ['1675334016', '206192986'], ['1675335744', '254411430'], ['1675337472', '599077930'], ['1675339200', '257549224'], ['1675340928', '225861527'], ['1675342656', '198703921'], ['1675344384', '209918478'], ['1675346112', '190463924'], ['1675347840', '254093605'], ['1675349568', '229914017'], ['1675351296', '261381749'], ['1675353024', '174475031']], analysis: { rate: 1269032.4, total: 2.7410941385E10 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3364312107'], ['1675183680', '4079983457'], ['1675185408', '3664816581'], ['1675187136', '3901897437'], ['1675188864', '3105742432'], ['1675190592', '3109079773'], ['1675192320', '3634085043'], ['1675194048', '3304598207'], ['1675195776', '3364370975'], ['1675197504', '3679341083'], ['1675199232', '4004654138'], ['1675200960', '5075731596'], ['1675202688', '3350826774'], ['1675204416', '3965120815'], ['1675206144', '3258127210'], ['1675207872', '3579118980'], ['1675209600', '3436901533'], ['1675211328', '3963971268'], ['1675213056', '3524855019'], ['1675214784', '4125745109'], ['1675216512', '4280315838'], ['1675218240', '3329633122'], ['1675219968', '4412688081'], ['1675221696', '3283482365'], ['1675223424', '4468620552'], ['1675225152', '3557179411'], ['1675226880', '3579870652'], ['1675228608', '3670862787'], ['1675230336', '4625969288'], ['1675232064', '3708010075'], ['1675233792', '3244513018'], ['1675235520', '3878415405'], ['1675237248', '4052973978'], ['1675238976', '3691082916'], ['1675240704', '5372688259'], ['1675242432', '3702382171'], ['1675244160', '4219862737'], ['1675245888', '2787825671'], ['1675247616', '4763031990'], ['1675249344', '3516330763'], ['1675251072', '3113829408'], ['1675252800', '3218983906'], ['1675254528', '4173806034'], ['1675256256', '3123724450'], ['1675257984', '3244222065'], ['1675259712', '3707679969'], ['1675261440', '4554164279'], ['1675263168', '3597868330'], ['1675264896', '3677154027'], ['1675266624', '3196518119'], ['1675268352', '4017034040'], ['1675270080', '2951739722'], ['1675271808', '4169564577'], ['1675273536', '3285519344'], ['1675275264', '4539611918'], ['1675276992', '3367141015'], ['1675278720', '4219586671'], ['1675280448', '3643011153'], ['1675282176', '3525034696'], ['1675283904', '3250835967'], ['1675285632', '3734756859'], ['1675287360', '3458799171'], ['1675289088', '3561847920'], ['1675290816', '3832087457'], ['1675292544', '3720294758'], ['1675294272', '3095277835'], ['1675296000', '4171337383'], ['1675297728', '4078122772'], ['1675299456', '3741403940'], ['1675301184', '3894701201'], ['1675302912', '3674186510'], ['1675304640', '3516696930'], ['1675306368', '3943407043'], ['1675308096', '3496006622'], ['1675309824', '4132870839'], ['1675311552', '2927013222'], ['1675313280', '3183796841'], ['1675315008', '3711742824'], ['1675316736', '3747908497'], ['1675318464', '3526464555'], ['1675320192', '3785846721'], ['1675321920', '3796697606'], ['1675323648', '3594162696'], ['1675325376', '4271082440'], ['1675327104', '3308973077'], ['1675328832', '3754503133'], ['1675330560', '4138496845'], ['1675332288', '3412677975'], ['1675334016', '3702495983'], ['1675335744', '3023519646'], ['1675337472', '3131554386'], ['1675339200', '4523013005'], ['1675340928', '3188123380'], ['1675342656', '3753413721'], ['1675344384', '3645320211'], ['1675346112', '3399819129'], ['1675347840', '4205903262'], ['1675349568', '3392709766'], ['1675351296', '3433064810'], ['1675353024', '3759978873']], analysis: { rate: 1.715686448E7, total: 3.7058612815E11 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '7369561391'], ['1675183680', '7581865508'], ['1675185408', '7912824524'], ['1675187136', '9032300363'], ['1675188864', '7917531147'], ['1675190592', '7631183906'], ['1675192320', '8246679988'], ['1675194048', '8554299101'], ['1675195776', '7883903079'], ['1675197504', '9031857361'], ['1675199232', '7661890423'], ['1675200960', '8886566417'], ['1675202688', '9019250065'], ['1675204416', '8916375747'], ['1675206144', '8479488817'], ['1675207872', '8219763606'], ['1675209600', '8217171805'], ['1675211328', '8336759307'], ['1675213056', '9353465505'], ['1675214784', '7682132545'], ['1675216512', '8100245348'], ['1675218240', '8100168625'], ['1675219968', '8614738437'], ['1675221696', '8355313295'], ['1675223424', '8951119363'], ['1675225152', '8882541689'], ['1675226880', '8228284971'], ['1675228608', '8291470893'], ['1675230336', '8283731813'], ['1675232064', '8398043347'], ['1675233792', '7973853220'], ['1675235520', '13703005209'], ['1675237248', '8489774773'], ['1675238976', '8259222020'], ['1675240704', '8463042283'], ['1675242432', '8273284467'], ['1675244160', '7625472061'], ['1675245888', '6913302871'], ['1675247616', '7410940675'], ['1675249344', '7824045049'], ['1675251072', '7402226771'], ['1675252800', '8316031061'], ['1675254528', '7813282137'], ['1675256256', '8240617903'], ['1675257984', '7983563297'], ['1675259712', '8494801456'], ['1675261440', '8146768399'], ['1675263168', '8273092765'], ['1675264896', '8029603477'], ['1675266624', '7811366743'], ['1675268352', '7599047914'], ['1675270080', '7739846662'], ['1675271808', '8996551338'], ['1675273536', '8445844664'], ['1675275264', '7643411716'], ['1675276992', '7297063335'], ['1675278720', '7840484023'], ['1675280448', '7895092312'], ['1675282176', '7781709149'], ['1675283904', '8213174770'], ['1675285632', '6948686720'], ['1675287360', '8058979941'], ['1675289088', '7959295076'], ['1675290816', '8342931562'], ['1675292544', '7890729747'], ['1675294272', '8124775981'], ['1675296000', '9073797921'], ['1675297728', '8458548545'], ['1675299456', '8191538286'], ['1675301184', '9051440584'], ['1675302912', '8617530633'], ['1675304640', '7459882915'], ['1675306368', '7712272840'], ['1675308096', '7131792015'], ['1675309824', '8534686770'], ['1675311552', '7032452112'], ['1675313280', '8126943638'], ['1675315008', '7628525105'], ['1675316736', '8179538543'], ['1675318464', '8045196777'], ['1675320192', '6970699521'], ['1675321920', '7634588789'], ['1675323648', '7461903527'], ['1675325376', '8334614663'], ['1675327104', '7947481785'], ['1675328832', '7767817477'], ['1675330560', '7451706424'], ['1675332288', '7851774523'], ['1675334016', '7805064464'], ['1675335744', '8152740246'], ['1675337472', '7345349762'], ['1675339200', '7620051268'], ['1675340928', '7578625871'], ['1675342656', '7432575512'], ['1675344384', '8101138008'], ['1675346112', '6979913422'], ['1675347840', '8055117174'], ['1675349568', '8425690572'], ['1675351296', '7175858020'], ['1675353024', '8582510465']], analysis: { rate: 3.751340312E7, total: 8.1028481811E11 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1152063372'], ['1675183680', '816089654'], ['1675185408', '889381524'], ['1675187136', '1518914261'], ['1675188864', '936045239'], ['1675190592', '890527360'], ['1675192320', '1062813475'], ['1675194048', '893057420'], ['1675195776', '805316139'], ['1675197504', '865817855'], ['1675199232', '1337051022'], ['1675200960', '1323094820'], ['1675202688', '918093022'], ['1675204416', '974409292'], ['1675206144', '1221499013'], ['1675207872', '852239484'], ['1675209600', '1028295137'], ['1675211328', '905035471'], ['1675213056', '1160686881'], ['1675214784', '1066457258'], ['1675216512', '782964312'], ['1675218240', '882604945'], ['1675219968', '861896720'], ['1675221696', '1650609412'], ['1675223424', '1195310046'], ['1675225152', '870859428'], ['1675226880', '971786415'], ['1675228608', '864172496'], ['1675230336', '840337374'], ['1675232064', '1010973454'], ['1675233792', '928181215'], ['1675235520', '1001513720'], ['1675237248', '960498648'], ['1675238976', '1067893630'], ['1675240704', '1438810910'], ['1675242432', '1083718561'], ['1675244160', '920906302'], ['1675245888', '890363120'], ['1675247616', '1118329884'], ['1675249344', '653422905'], ['1675251072', '927813538'], ['1675252800', '937941271'], ['1675254528', '1255903102'], ['1675256256', '883473793'], ['1675257984', '1536384871'], ['1675259712', '869667589'], ['1675261440', '1020451266'], ['1675263168', '861917611'], ['1675264896', '930498335'], ['1675266624', '967959768'], ['1675268352', '823527431'], ['1675270080', '847364141'], ['1675271808', '972941204'], ['1675273536', '986524138'], ['1675275264', '758295795'], ['1675276992', '799931952'], ['1675278720', '928900364'], ['1675280448', '860706729'], ['1675282176', '1331438313'], ['1675283904', '1194277664'], ['1675285632', '971877294'], ['1675287360', '873458218'], ['1675289088', '772449542'], ['1675290816', '1137891669'], ['1675292544', '774151500'], ['1675294272', '1229495516'], ['1675296000', '973689434'], ['1675297728', '1074303268'], ['1675299456', '1107023021'], ['1675301184', '1101332250'], ['1675302912', '1135839078'], ['1675304640', '1399158961'], ['1675306368', '919405551'], ['1675308096', '991916341'], ['1675309824', '918910409'], ['1675311552', '835529341'], ['1675313280', '845288353'], ['1675315008', '889173989'], ['1675316736', '777774217'], ['1675318464', '1000168195'], ['1675320192', '1161465589'], ['1675321920', '1076421226'], ['1675323648', '981676104'], ['1675325376', '1325555966'], ['1675327104', '1696768745'], ['1675328832', '1115038006'], ['1675330560', '958436259'], ['1675332288', '923745960'], ['1675334016', '702238686'], ['1675335744', '923585295'], ['1675337472', '1180442037'], ['1675339200', '1372251737'], ['1675340928', '1230751841'], ['1675342656', '1351630983'], ['1675344384', '1222543360'], ['1675346112', '1049059896'], ['1675347840', '1011820794'], ['1675349568', '833134386'], ['1675351296', '1077473674'], ['1675353024', '1048911408']], analysis: { rate: 4735200.96, total: 1.0227974817E11 } } }, { type: 'packets', Baidu: { values: [['1675180224', '0'], ['1675181952', '223000'], ['1675183680', '265508'], ['1675185408', '350366'], ['1675187136', '310999'], ['1675188864', '510694'], ['1675190592', '308396'], ['1675192320', '203767'], ['1675194048', '255023'], ['1675195776', '255845'], ['1675197504', '287227'], ['1675199232', '292255'], ['1675200960', '270281'], ['1675202688', '241808'], ['1675204416', '294475'], ['1675206144', '279966'], ['1675207872', '200530'], ['1675209600', '231734'], ['1675211328', '287475'], ['1675213056', '235889'], ['1675214784', '333597'], ['1675216512', '239230'], ['1675218240', '226415'], ['1675219968', '275448'], ['1675221696', '831021'], ['1675223424', '286996'], ['1675225152', '236941'], ['1675226880', '345722'], ['1675228608', '251852'], ['1675230336', '281771'], ['1675232064', '406684'], ['1675233792', '226724'], ['1675235520', '247147'], ['1675237248', '407263'], ['1675238976', '475638'], ['1675240704', '314283'], ['1675242432', '283487'], ['1675244160', '272287'], ['1675245888', '227637'], ['1675247616', '209270'], ['1675249344', '194027'], ['1675251072', '309921'], ['1675252800', '227283'], ['1675254528', '269168'], ['1675256256', '257953'], ['1675257984', '289215'], ['1675259712', '276239'], ['1675261440', '269606'], ['1675263168', '194894'], ['1675264896', '212679'], ['1675266624', '251133'], ['1675268352', '327280'], ['1675270080', '304735'], ['1675271808', '249876'], ['1675273536', '338018'], ['1675275264', '293189'], ['1675276992', '216697'], ['1675278720', '255466'], ['1675280448', '214979'], ['1675282176', '246673'], ['1675283904', '576987'], ['1675285632', '247766'], ['1675287360', '395316'], ['1675289088', '256700'], ['1675290816', '261973'], ['1675292544', '285871'], ['1675294272', '295870'], ['1675296000', '244208'], ['1675297728', '292936'], ['1675299456', '268863'], ['1675301184', '324627'], ['1675302912', '215455'], ['1675304640', '346224'], ['1675306368', '336487'], ['1675308096', '307464'], ['1675309824', '233401'], ['1675311552', '272466'], ['1675313280', '222933'], ['1675315008', '403553'], ['1675316736', '328135'], ['1675318464', '277378'], ['1675320192', '275123'], ['1675321920', '294213'], ['1675323648', '282124'], ['1675325376', '316009'], ['1675327104', '319574'], ['1675328832', '284039'], ['1675330560', '215777'], ['1675332288', '260041'], ['1675334016', '232958'], ['1675335744', '270457'], ['1675337472', '589546'], ['1675339200', '293118'], ['1675340928', '252330'], ['1675342656', '226237'], ['1675344384', '232968'], ['1675346112', '205055'], ['1675347840', '267297'], ['1675349568', '243364'], ['1675351296', '298675'], ['1675353024', '196343']], analysis: { rate: 0, total: 28833543E7 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '3818134'], ['1675183680', '4563920'], ['1675185408', '4132640'], ['1675187136', '4385814'], ['1675188864', '3586636'], ['1675190592', '3504492'], ['1675192320', '4134802'], ['1675194048', '3832888'], ['1675195776', '3864609'], ['1675197504', '4208527'], ['1675199232', '4652086'], ['1675200960', '5709498'], ['1675202688', '3839139'], ['1675204416', '4523660'], ['1675206144', '3659488'], ['1675207872', '4152250'], ['1675209600', '4102703'], ['1675211328', '4533740'], ['1675213056', '4012813'], ['1675214784', '4690927'], ['1675216512', '4919255'], ['1675218240', '3820763'], ['1675219968', '5040527'], ['1675221696', '3675884'], ['1675223424', '5402526'], ['1675225152', '4052783'], ['1675226880', '4058055'], ['1675228608', '4154259'], ['1675230336', '5551875'], ['1675232064', '4246082'], ['1675233792', '3691700'], ['1675235520', '4407249'], ['1675237248', '4579687'], ['1675238976', '4308236'], ['1675240704', '6146600'], ['1675242432', '4267726'], ['1675244160', '4895859'], ['1675245888', '3121889'], ['1675247616', '5703047'], ['1675249344', '4050565'], ['1675251072', '3601406'], ['1675252800', '3689234'], ['1675254528', '4842280'], ['1675256256', '3576063'], ['1675257984', '3717912'], ['1675259712', '4272289'], ['1675261440', '5157266'], ['1675263168', '4171065'], ['1675264896', '4436045'], ['1675266624', '3701600'], ['1675268352', '4597804'], ['1675270080', '3414228'], ['1675271808', '4755984'], ['1675273536', '3751048'], ['1675275264', '5055637'], ['1675276992', '3827549'], ['1675278720', '4837360'], ['1675280448', '4162862'], ['1675282176', '4010427'], ['1675283904', '3688127'], ['1675285632', '4134073'], ['1675287360', '3969197'], ['1675289088', '4069713'], ['1675290816', '4329068'], ['1675292544', '4312185'], ['1675294272', '3469766'], ['1675296000', '4865903'], ['1675297728', '4726677'], ['1675299456', '4227722'], ['1675301184', '4814378'], ['1675302912', '4146704'], ['1675304640', '4013049'], ['1675306368', '5079648'], ['1675308096', '4017690'], ['1675309824', '4692524'], ['1675311552', '3282170'], ['1675313280', '3615970'], ['1675315008', '4284415'], ['1675316736', '4251382'], ['1675318464', '4079501'], ['1675320192', '4306283'], ['1675321920', '4295930'], ['1675323648', '4135408'], ['1675325376', '4797047'], ['1675327104', '3959597'], ['1675328832', '4317743'], ['1675330560', '4789363'], ['1675332288', '3847900'], ['1675334016', '4184459'], ['1675335744', '3418078'], ['1675337472', '3588527'], ['1675339200', '5216648'], ['1675340928', '3616641'], ['1675342656', '4200530'], ['1675344384', '4299724'], ['1675346112', '3842595'], ['1675347840', '4933832'], ['1675349568', '3889067'], ['1675351296', '3877365'], ['1675353024', '4329364']], analysis: { rate: 196990400000000, total: 4.25497355E8 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '6799533'], ['1675183680', '7060925'], ['1675185408', '7379460'], ['1675187136', '8301829'], ['1675188864', '7273730'], ['1675190592', '7100779'], ['1675192320', '7752192'], ['1675194048', '7750030'], ['1675195776', '7319904'], ['1675197504', '8290190'], ['1675199232', '7095216'], ['1675200960', '8243937'], ['1675202688', '8306100'], ['1675204416', '8254111'], ['1675206144', '7985829'], ['1675207872', '7638631'], ['1675209600', '7572888'], ['1675211328', '7706519'], ['1675213056', '8679582'], ['1675214784', '7153544'], ['1675216512', '7412147'], ['1675218240', '7590032'], ['1675219968', '7938389'], ['1675221696', '7810497'], ['1675223424', '8432330'], ['1675225152', '8161332'], ['1675226880', '7694075'], ['1675228608', '7682116'], ['1675230336', '7748001'], ['1675232064', '7821867'], ['1675233792', '7729207'], ['1675235520', '11947627'], ['1675237248', '8074533'], ['1675238976', '7806795'], ['1675240704', '7879088'], ['1675242432', '7676938'], ['1675244160', '7130214'], ['1675245888', '6488665'], ['1675247616', '6914394'], ['1675249344', '7332892'], ['1675251072', '6905190'], ['1675252800', '7738099'], ['1675254528', '7244679'], ['1675256256', '7835482'], ['1675257984', '7368797'], ['1675259712', '7812392'], ['1675261440', '7547373'], ['1675263168', '7915780'], ['1675264896', '7490826'], ['1675266624', '7258320'], ['1675268352', '7071557'], ['1675270080', '7269268'], ['1675271808', '8294078'], ['1675273536', '7911350'], ['1675275264', '7071895'], ['1675276992', '6851499'], ['1675278720', '7463798'], ['1675280448', '7319364'], ['1675282176', '7200166'], ['1675283904', '7624110'], ['1675285632', '6484110'], ['1675287360', '7453461'], ['1675289088', '7316779'], ['1675290816', '7768863'], ['1675292544', '7200389'], ['1675294272', '7481637'], ['1675296000', '8573284'], ['1675297728', '7820538'], ['1675299456', '7584761'], ['1675301184', '8417599'], ['1675302912', '8099749'], ['1675304640', '6898692'], ['1675306368', '7197094'], ['1675308096', '6690452'], ['1675309824', '7875615'], ['1675311552', '6586706'], ['1675313280', '7562808'], ['1675315008', '7089669'], ['1675316736', '7616459'], ['1675318464', '7440240'], ['1675320192', '6393045'], ['1675321920', '7136052'], ['1675323648', '6910672'], ['1675325376', '7761117'], ['1675327104', '7337632'], ['1675328832', '7169969'], ['1675330560', '6931424'], ['1675332288', '7250827'], ['1675334016', '7287014'], ['1675335744', '7587844'], ['1675337472', '6816941'], ['1675339200', '7072447'], ['1675340928', '7084394'], ['1675342656', '6866922'], ['1675344384', '7453057'], ['1675346112', '6575739'], ['1675347840', '7473871'], ['1675349568', '7823227'], ['1675351296', '6794326'], ['1675353024', '8025933']], analysis: { rate: 0, total: 753041449E8 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '1194824'], ['1675183680', '874520'], ['1675185408', '978698'], ['1675187136', '1545349'], ['1675188864', '995660'], ['1675190592', '964558'], ['1675192320', '1132357'], ['1675194048', '933975'], ['1675195776', '872689'], ['1675197504', '954165'], ['1675199232', '1330184'], ['1675200960', '1383990'], ['1675202688', '979732'], ['1675204416', '1120652'], ['1675206144', '1293611'], ['1675207872', '895376'], ['1675209600', '1058540'], ['1675211328', '996617'], ['1675213056', '1285398'], ['1675214784', '1184048'], ['1675216512', '828141'], ['1675218240', '956425'], ['1675219968', '927401'], ['1675221696', '1732940'], ['1675223424', '1255392'], ['1675225152', '942600'], ['1675226880', '1047615'], ['1675228608', '934109'], ['1675230336', '882083'], ['1675232064', '1102657'], ['1675233792', '989123'], ['1675235520', '1078210'], ['1675237248', '1004089'], ['1675238976', '1112246'], ['1675240704', '1357828'], ['1675242432', '1139375'], ['1675244160', '1006102'], ['1675245888', '906401'], ['1675247616', '1160626'], ['1675249344', '717427'], ['1675251072', '979588'], ['1675252800', '984928'], ['1675254528', '1261482'], ['1675256256', '940721'], ['1675257984', '1687111'], ['1675259712', '914218'], ['1675261440', '1050511'], ['1675263168', '950266'], ['1675264896', '997716'], ['1675266624', '1003139'], ['1675268352', '881504'], ['1675270080', '884410'], ['1675271808', '1000046'], ['1675273536', '1058272'], ['1675275264', '830253'], ['1675276992', '869953'], ['1675278720', '1007729'], ['1675280448', '947868'], ['1675282176', '1228764'], ['1675283904', '1206030'], ['1675285632', '1050310'], ['1675287360', '922042'], ['1675289088', '827866'], ['1675290816', '1219546'], ['1675292544', '889108'], ['1675294272', '1221466'], ['1675296000', '1024271'], ['1675297728', '1158810'], ['1675299456', '1158765'], ['1675301184', '1152618'], ['1675302912', '1202723'], ['1675304640', '1451502'], ['1675306368', '957862'], ['1675308096', '1056933'], ['1675309824', '989023'], ['1675311552', '905790'], ['1675313280', '911109'], ['1675315008', '934888'], ['1675316736', '870895'], ['1675318464', '1054094'], ['1675320192', '1181781'], ['1675321920', '1145989'], ['1675323648', '1045330'], ['1675325376', '1403359'], ['1675327104', '1835335'], ['1675328832', '1178441'], ['1675330560', '1039693'], ['1675332288', '981454'], ['1675334016', '769723'], ['1675335744', '987426'], ['1675337472', '1217419'], ['1675339200', '1416718'], ['1675340928', '1317407'], ['1675342656', '1367354'], ['1675344384', '1294205'], ['1675346112', '1051390'], ['1675347840', '1116220'], ['1675349568', '879904'], ['1675351296', '1102655'], ['1675353024', '1129891']], analysis: { rate: 500752, total: 108161557E8 } } }, { type: 'sessions', Baidu: { values: [['1675180224', '0'], ['1675181952', '2045'], ['1675183680', '1954'], ['1675185408', '2133'], ['1675187136', '2110'], ['1675188864', '2060'], ['1675190592', '1923'], ['1675192320', '2101'], ['1675194048', '2039'], ['1675195776', '2082'], ['1675197504', '2080'], ['1675199232', '2059'], ['1675200960', '2054'], ['1675202688', '2197'], ['1675204416', '2154'], ['1675206144', '2252'], ['1675207872', '2155'], ['1675209600', '2116'], ['1675211328', '2145'], ['1675213056', '2212'], ['1675214784', '2121'], ['1675216512', '1874'], ['1675218240', '1899'], ['1675219968', '1910'], ['1675221696', '2065'], ['1675223424', '2075'], ['1675225152', '1924'], ['1675226880', '2037'], ['1675228608', '2128'], ['1675230336', '1964'], ['1675232064', '1982'], ['1675233792', '1964'], ['1675235520', '1963'], ['1675237248', '2045'], ['1675238976', '2166'], ['1675240704', '2040'], ['1675242432', '2082'], ['1675244160', '1898'], ['1675245888', '1845'], ['1675247616', '2016'], ['1675249344', '1940'], ['1675251072', '1850'], ['1675252800', '1974'], ['1675254528', '2060'], ['1675256256', '2070'], ['1675257984', '2018'], ['1675259712', '1920'], ['1675261440', '1844'], ['1675263168', '1872'], ['1675264896', '1738'], ['1675266624', '1920'], ['1675268352', '1810'], ['1675270080', '1923'], ['1675271808', '1890'], ['1675273536', '1862'], ['1675275264', '2070'], ['1675276992', '1897'], ['1675278720', '1917'], ['1675280448', '1943'], ['1675282176', '1883'], ['1675283904', '2095'], ['1675285632', '1850'], ['1675287360', '2139'], ['1675289088', '1987'], ['1675290816', '2228'], ['1675292544', '2032'], ['1675294272', '2219'], ['1675296000', '2241'], ['1675297728', '2188'], ['1675299456', '2230'], ['1675301184', '2031'], ['1675302912', '2058'], ['1675304640', '1921'], ['1675306368', '1832'], ['1675308096', '1668'], ['1675309824', '1833'], ['1675311552', '1792'], ['1675313280', '1793'], ['1675315008', '1901'], ['1675316736', '1752'], ['1675318464', '1858'], ['1675320192', '1740'], ['1675321920', '1826'], ['1675323648', '1966'], ['1675325376', '1927'], ['1675327104', '1981'], ['1675328832', '1954'], ['1675330560', '1733'], ['1675332288', '1758'], ['1675334016', '1900'], ['1675335744', '1898'], ['1675337472', '1890'], ['1675339200', '1986'], ['1675340928', '2070'], ['1675342656', '1963'], ['1675344384', '1944'], ['1675346112', '1858'], ['1675347840', '1990'], ['1675349568', '1978'], ['1675351296', '2108'], ['1675353024', '1876']], analysis: { rate: 9.2, total: 198264.0 } }, Tencent: { values: [['1675180224', '0'], ['1675181952', '4160'], ['1675183680', '4083'], ['1675185408', '4093'], ['1675187136', '4451'], ['1675188864', '4512'], ['1675190592', '3742'], ['1675192320', '4244'], ['1675194048', '4253'], ['1675195776', '4279'], ['1675197504', '4939'], ['1675199232', '4171'], ['1675200960', '4387'], ['1675202688', '4622'], ['1675204416', '4475'], ['1675206144', '4626'], ['1675207872', '4229'], ['1675209600', '4338'], ['1675211328', '4460'], ['1675213056', '4329'], ['1675214784', '4605'], ['1675216512', '4549'], ['1675218240', '4514'], ['1675219968', '4797'], ['1675221696', '4822'], ['1675223424', '5130'], ['1675225152', '4586'], ['1675226880', '4598'], ['1675228608', '4867'], ['1675230336', '4666'], ['1675232064', '4783'], ['1675233792', '4255'], ['1675235520', '4168'], ['1675237248', '4250'], ['1675238976', '4008'], ['1675240704', '4517'], ['1675242432', '4226'], ['1675244160', '4085'], ['1675245888', '3583'], ['1675247616', '4062'], ['1675249344', '4120'], ['1675251072', '3765'], ['1675252800', '3811'], ['1675254528', '4096'], ['1675256256', '3880'], ['1675257984', '4416'], ['1675259712', '4364'], ['1675261440', '4347'], ['1675263168', '4279'], ['1675264896', '3914'], ['1675266624', '4422'], ['1675268352', '4189'], ['1675270080', '4180'], ['1675271808', '4505'], ['1675273536', '4504'], ['1675275264', '4560'], ['1675276992', '4234'], ['1675278720', '4241'], ['1675280448', '3834'], ['1675282176', '4208'], ['1675283904', '3993'], ['1675285632', '3594'], ['1675287360', '4235'], ['1675289088', '4100'], ['1675290816', '4481'], ['1675292544', '4852'], ['1675294272', '4473'], ['1675296000', '4467'], ['1675297728', '4529'], ['1675299456', '4335'], ['1675301184', '4385'], ['1675302912', '4452'], ['1675304640', '4570'], ['1675306368', '4463'], ['1675308096', '3981'], ['1675309824', '4338'], ['1675311552', '4032'], ['1675313280', '4292'], ['1675315008', '4494'], ['1675316736', '4300'], ['1675318464', '4781'], ['1675320192', '4240'], ['1675321920', '4651'], ['1675323648', '4682'], ['1675325376', '4630'], ['1675327104', '3965'], ['1675328832', '4295'], ['1675330560', '4559'], ['1675332288', '4316'], ['1675334016', '4281'], ['1675335744', '4326'], ['1675337472', '4476'], ['1675339200', '4688'], ['1675340928', '4199'], ['1675342656', '4440'], ['1675344384', '4481'], ['1675346112', '4403'], ['1675347840', '4563'], ['1675349568', '4580'], ['1675351296', '4591'], ['1675353024', '4252']], analysis: { rate: 20.16, total: 435098.0 } }, Bytedance: { values: [['1675180224', '0'], ['1675181952', '9660'], ['1675183680', '10163'], ['1675185408', '10437'], ['1675187136', '10493'], ['1675188864', '10058'], ['1675190592', '9670'], ['1675192320', '10173'], ['1675194048', '10109'], ['1675195776', '10301'], ['1675197504', '10879'], ['1675199232', '10491'], ['1675200960', '10796'], ['1675202688', '10615'], ['1675204416', '11054'], ['1675206144', '11036'], ['1675207872', '10498'], ['1675209600', '10504'], ['1675211328', '10911'], ['1675213056', '11053'], ['1675214784', '10541'], ['1675216512', '10122'], ['1675218240', '10506'], ['1675219968', '10752'], ['1675221696', '11017'], ['1675223424', '11052'], ['1675225152', '10610'], ['1675226880', '10862'], ['1675228608', '10897'], ['1675230336', '10748'], ['1675232064', '10806'], ['1675233792', '10589'], ['1675235520', '10160'], ['1675237248', '10590'], ['1675238976', '10022'], ['1675240704', '10218'], ['1675242432', '10319'], ['1675244160', '10392'], ['1675245888', '9096'], ['1675247616', '9688'], ['1675249344', '9996'], ['1675251072', '9730'], ['1675252800', '9606'], ['1675254528', '9726'], ['1675256256', '9635'], ['1675257984', '10247'], ['1675259712', '10242'], ['1675261440', '10328'], ['1675263168', '9738'], ['1675264896', '9720'], ['1675266624', '10521'], ['1675268352', '9414'], ['1675270080', '9936'], ['1675271808', '10447'], ['1675273536', '10840'], ['1675275264', '10020'], ['1675276992', '9910'], ['1675278720', '10333'], ['1675280448', '10341'], ['1675282176', '9771'], ['1675283904', '9946'], ['1675285632', '8611'], ['1675287360', '10287'], ['1675289088', '10168'], ['1675290816', '10858'], ['1675292544', '10252'], ['1675294272', '9988'], ['1675296000', '10610'], ['1675297728', '10408'], ['1675299456', '10594'], ['1675301184', '10363'], ['1675302912', '10647'], ['1675304640', '10022'], ['1675306368', '10571'], ['1675308096', '9479'], ['1675309824', '10015'], ['1675311552', '9625'], ['1675313280', '9858'], ['1675315008', '10435'], ['1675316736', '10623'], ['1675318464', '10332'], ['1675320192', '9246'], ['1675321920', '10265'], ['1675323648', '10308'], ['1675325376', '10266'], ['1675327104', '10017'], ['1675328832', '9931'], ['1675330560', '10591'], ['1675332288', '9971'], ['1675334016', '10590'], ['1675335744', '10745'], ['1675337472', '9874'], ['1675339200', '10143'], ['1675340928', '10501'], ['1675342656', '10829'], ['1675344384', '10524'], ['1675346112', '9595'], ['1675347840', '10187'], ['1675349568', '10652'], ['1675351296', '10072'], ['1675353024', '10234']], analysis: { rate: 47.52, total: 1026622.0 } }, Alibaba: { values: [['1675180224', '0'], ['1675181952', '6259'], ['1675183680', '5994'], ['1675185408', '6400'], ['1675187136', '6495'], ['1675188864', '6432'], ['1675190592', '6382'], ['1675192320', '7069'], ['1675194048', '6016'], ['1675195776', '6542'], ['1675197504', '6274'], ['1675199232', '6580'], ['1675200960', '6660'], ['1675202688', '6121'], ['1675204416', '6612'], ['1675206144', '6465'], ['1675207872', '7281'], ['1675209600', '7306'], ['1675211328', '6455'], ['1675213056', '6976'], ['1675214784', '8342'], ['1675216512', '5635'], ['1675218240', '6527'], ['1675219968', '6182'], ['1675221696', '7297'], ['1675223424', '6458'], ['1675225152', '6446'], ['1675226880', '6260'], ['1675228608', '6424'], ['1675230336', '6584'], ['1675232064', '6260'], ['1675233792', '7646'], ['1675235520', '6740'], ['1675237248', '6407'], ['1675238976', '6809'], ['1675240704', '5862'], ['1675242432', '6052'], ['1675244160', '6395'], ['1675245888', '5817'], ['1675247616', '5452'], ['1675249344', '5573'], ['1675251072', '5614'], ['1675252800', '6100'], ['1675254528', '6085'], ['1675256256', '6413'], ['1675257984', '8435'], ['1675259712', '5928'], ['1675261440', '6034'], ['1675263168', '6818'], ['1675264896', '5718'], ['1675266624', '5842'], ['1675268352', '5789'], ['1675270080', '6738'], ['1675271808', '6023'], ['1675273536', '6160'], ['1675275264', '6088'], ['1675276992', '6252'], ['1675278720', '6782'], ['1675280448', '6569'], ['1675282176', '6028'], ['1675283904', '6243'], ['1675285632', '5515'], ['1675287360', '6350'], ['1675289088', '5872'], ['1675290816', '6445'], ['1675292544', '6173'], ['1675294272', '6579'], ['1675296000', '6547'], ['1675297728', '6635'], ['1675299456', '7510'], ['1675301184', '7063'], ['1675302912', '6524'], ['1675304640', '7073'], ['1675306368', '7444'], ['1675308096', '6280'], ['1675309824', '5793'], ['1675311552', '6172'], ['1675313280', '6252'], ['1675315008', '5648'], ['1675316736', '6324'], ['1675318464', '6242'], ['1675320192', '5861'], ['1675321920', '6722'], ['1675323648', '6581'], ['1675325376', '6184'], ['1675327104', '7407'], ['1675328832', '7587'], ['1675330560', '5659'], ['1675332288', '6138'], ['1675334016', '5978'], ['1675335744', '6513'], ['1675337472', '6154'], ['1675339200', '5983'], ['1675340928', '6780'], ['1675342656', '6356'], ['1675344384', '6301'], ['1675346112', '5765'], ['1675347840', '6199'], ['1675349568', '6272'], ['1675351296', '7894'], ['1675353024', '6256']], analysis: { rate: '', total: '' } } }] } } }, + { data: { code: 200, data: { total: 31, pageSize: 24, pages: 2, pageNo: 1, list: [{ id: 5568, name: '供应商', type: 'overviewProvide', code: '1', value: 'Alibaba', sort: 0, remark: 'Alibaba Group Holding Limited, also known as Alibaba, is a Chinese multinational technology company specializing in e-commerce, retail, Internet, and technology.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5569, name: '供应商', type: 'overviewProvide', code: '1', value: 'Tencent', sort: 0, remark: 'Tencent Holdings Ltd. is a Chinese multinational technology and entertainment conglomerate and holding company headquartered in Shenzhen. It is one of the highest grossing multimedia companies in the world based on revenue.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5570, name: '供应商', type: 'overviewProvide', code: '1', value: 'Baidu', sort: 0, remark: "Baidu, Inc. is a Chinese multinational technology company specializing in Internet-related services and products and artificial intelligence, headquartered in Beijing's Haidian District. It is one of the largest AI and Internet companies in the world.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5571, name: '供应商', type: 'overviewProvide', code: '1', value: 'Jingdong', sort: 0, remark: 'JD.com, Inc., also known as Jingdong and formerly called 360buy, is a Chinese e-commerce company headquartered in Beijing. It is one of the two massive B2C online retailers in China by transaction volume and revenue, a member of the Fortune Global 500 and a major competitor to Alibaba-run Tmall.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5572, name: '供应商', type: 'overviewProvide', code: '1', value: 'Meituan', sort: 0, remark: 'Meituan operates as a web based shopping platform for locally found consumer products and retail services. The Company offers deals of the day by selling vouchers on local services and entertainment, dining, delivery, and other services. Meituan provides its services throughout China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5573, name: '供应商', type: 'overviewProvide', code: '1', value: 'Bytedance', sort: 0, remark: 'ByteDance Ltd. is a Chinese multinational internet technology company headquartered in Beijing and incorporated in the Cayman Islands.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5574, name: '供应商', type: 'overviewProvide', code: '1', value: 'Pinduoduo', sort: 0, remark: 'Pinduoduo Inc. is the largest Chinese agricultural-focused technology platform. It has created a platform that connects farmers and distributors with consumers directly through its interactive shopping experience.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5575, name: '供应商', type: 'overviewProvide', code: '1', value: 'Netease', sort: 0, remark: 'NetEase, Inc. is a Chinese Internet technology company providing online services centered on content, community, communications, and commerce.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5576, name: '供应商', type: 'overviewProvide', code: '1', value: 'Kuaishou', sort: 0, remark: "Kuaishou is a video-sharing mobile app that is developed by Beijing Kuaishou Technology Co., Ltd. It is popular with users outside China's Tier 1 cities.", uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5577, name: '供应商', type: 'overviewProvide', code: '1', value: '360cn', sort: 0, remark: 'Qihoo 360, full name Qihoo 360 Technology Co. Ltd., is a Chinese internet security company that has developed the antivirus software programs 360 Safeguard and 360 Mobile Safe, the Web browser 360 Secure Browser, and the mobile application store 360 Mobile Assistant.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5578, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaomi', sort: 0, remark: 'Xiaomi Corporation, commonly known as Xiaomi and registered in Asia as Xiaomi Inc., is a Chinese designer and manufacturer of consumer electronics and related software, home appliances, and household items.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5580, name: '供应商', type: 'overviewProvide', code: '1', value: 'Huawei', sort: 0, remark: 'Huawei Technologies Co., Ltd. is a Chinese multinational technology corporation headquartered in Shenzhen, Guangdong, China. It designs, develops, produces and sells telecommunications equipment, consumer electronics and various smart devices.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5581, name: '供应商', type: 'overviewProvide', code: '1', value: 'Beike', sort: 0, remark: 'KE Holdings Inc is a China-based holding company engaged in housing transactions and related services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5582, name: '供应商', type: 'overviewProvide', code: '1', value: 'Aiqiyi', sort: 0, remark: 'iQIYI, Inc. is an innovative market-leading online entertainment service in China.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5583, name: '供应商', type: 'overviewProvide', code: '1', value: 'Ctrip', sort: 0, remark: 'Trip.com Group Limited is a Chinese multinational online travel company that provides services including accommodation reservation, transportation ticketing, packaged tours and corporate travel management.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5584, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sohu', sort: 0, remark: 'Sohu, Inc. is a Chinese Internet company headquartered in the Sohu Internet Plaza in Haidian District, Beijing.[4][5] Sohu and its subsidiaries offer advertising, a search engine (Sogou.com), on-line multiplayer gaming (ChangYou.com) and other services.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5585, name: '供应商', type: 'overviewProvide', code: '1', value: 'YY', sort: 0, remark: 'YY is a major Chinese video-based social network, a subsidiary of JOYY.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5586, name: '供应商', type: 'overviewProvide', code: '1', value: 'Xiaohongshu', sort: 0, remark: 'Xiaohongshu, also known as Little Red Book is a social media and e-commerce platform. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5587, name: '供应商', type: 'overviewProvide', code: '1', value: 'Apple', sort: 0, remark: 'Apple Inc. is an American multinational technology company that specializes in consumer electronics, software and online services headquartered in Cupertino, California, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5588, name: '供应商', type: 'overviewProvide', code: '1', value: 'Microsoft', sort: 0, remark: 'Microsoft Corporation is an American multinational technology corporation which produces computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washington, United States.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5589, name: '供应商', type: 'overviewProvide', code: '1', value: 'Steam', sort: 0, remark: 'Steam parent company Valve has enjoyed enormous success as a game developer, thanks to titles like Half-Life, Counter-Strike: Global Offensive, and Dota 2.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5590, name: '供应商', type: 'overviewProvide', code: '1', value: 'Cibn', sort: 0, remark: 'China International Radio and Television Network (CIBN for short) is a new media international communication platform established by China Radio International.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5591, name: '供应商', type: 'overviewProvide', code: '1', value: 'Amazon', sort: 0, remark: 'Amazon.com, Inc. is an American multinational technology company which focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence.', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-06 01:39:14', message: 'success' } }, + { data: { code: 200, data: { total: 3493, pageSize: 24, pages: 146, pageNo: 1, list: [{ id: 2304, name: '应用名', type: 'overviewApp', code: '1', value: 'avoidr', sort: 0, remark: 'Avoidr is a free web proxy', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2560, name: '应用名', type: 'overviewApp', code: '1', value: 'google_translate', sort: 0, remark: 'Google Translate is the Google translation tool', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2816, name: '应用名', type: 'overviewApp', code: '1', value: 'taobao', sort: 0, remark: 'Taobao is a chinese shopping website', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3328, name: '应用名', type: 'overviewApp', code: '1', value: 'searchnu', sort: 0, remark: 'Browser toolbar search engine', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3584, name: '应用名', type: 'overviewApp', code: '1', value: 'standardmedia', sort: 0, remark: 'Kenyan news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3840, name: '应用名', type: 'overviewApp', code: '1', value: 'mocean', sort: 0, remark: 'MOcean is a advertising agency', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4096, name: '应用名', type: 'overviewApp', code: '1', value: 'elnuevoherald', sort: 0, remark: 'Cuban news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4352, name: '应用名', type: 'overviewApp', code: '1', value: 'millardayo', sort: 0, remark: 'Global news portal in Tanzania', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4608, name: '应用名', type: 'overviewApp', code: '1', value: 'thadinatin', sort: 0, remark: 'Popular infotainment portal in Myanmar', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4864, name: '应用名', type: 'overviewApp', code: '1', value: 'iec104', sort: 0, remark: 'IEC 60870-5-104 protocol (aka IEC 104) is a part of IEC Telecontrol Equipment and Systems Standard IEC 60870-5 that provides a communication profile for sending basic telecontrol messages between two systems in electrical engineering and power system automation', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5120, name: '应用名', type: 'overviewApp', code: '1', value: 'agora_io', sort: 0, remark: 'Agora SDK is a WebRTC framework', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 5376, name: '应用名', type: 'overviewApp', code: '1', value: 'LaowangVPN', sort: 0, uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2305, name: '应用名', type: 'overviewApp', code: '1', value: 'surrogafier', sort: 0, remark: 'Surrogafier is an online proxy provider This protocol plug-in classifies the http traffic to the hosts surrogafierinfo and govfservercom', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2561, name: '应用名', type: 'overviewApp', code: '1', value: 'gyao', sort: 0, remark: 'GyaO is a video website operated by Yahoo Japan', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 2817, name: '应用名', type: 'overviewApp', code: '1', value: 'cvs', sort: 0, remark: 'The Concurrent Versions System keeps track of all work and all changes in a set of files typically the implementation of a software project and allows several developers to collaborate', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3073, name: '应用名', type: 'overviewApp', code: '1', value: 'ifeng_finance', sort: 0, remark: 'Ifeng finance news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3329, name: '应用名', type: 'overviewApp', code: '1', value: 'panet', sort: 0, remark: 'News and entertainment web portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3585, name: '应用名', type: 'overviewApp', code: '1', value: 'tasweernews', sort: 0, remark: 'Jordanian news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 3841, name: '应用名', type: 'overviewApp', code: '1', value: 'turner', sort: 0, remark: 'Turner is a video streaming solution provider for audio/video content web services', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4097, name: '应用名', type: 'overviewApp', code: '1', value: 'listindiario', sort: 0, remark: 'Dominican republic news portal', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4353, name: '应用名', type: 'overviewApp', code: '1', value: 'teletica', sort: 0, remark: 'TV calendar service and news web portal in Costa Rica', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4609, name: '应用名', type: 'overviewApp', code: '1', value: 'torrent9', sort: 0, remark: 'Popular torrent file (P2P) search engine and download web site', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }, { id: 4865, name: '应用名', type: 'overviewApp', code: '1', value: 'vonage_mobile', sort: 0, remark: 'Vonage Mobile is an instant messaging application that provides feature to make landline or international calls', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 02:12:00', message: 'success' } }, + { data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 5579, name: '供应商', type: 'overviewProvide', code: '1', value: 'Sina', sort: 0, remark: 'Sina Corporation is a Chinese technology company. Sina operates four major business lines: Sina Weibo, Sina Mobile, Sina Online, and Sinanet. Sina has over 100 million registered users worldwide. ', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 07:46:05', message: 'success' } }, + { data: { code: 200, data: { total: 1, pageSize: 24, pages: 1, pageNo: 1, list: [{ id: 3072, name: '应用名', type: 'overviewApp', code: '1', value: 'iapp', sort: 0, remark: 'News site about mobile applications', uby: 1, utime: '2022-08-10 17:52:07', i18n: 'en', state: 1, buildIn: 0, uuser: { id: 1, name: null, username: 'admin', salt: null, lang: null, theme: null, lastLoginIp: null, lastLoginTime: null, ctime: null, cby: null, email: null, mobile: null, status: null, source: null, buildIn: null, roleIds: null, usergroupIds: null, roles: null, apiKeyId: null } }] }, time: '2023-02-07 09:37:55', message: 'success' } } + ] + } +} diff --git a/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewDdosDetection.js b/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewDdosDetection.js new file mode 100644 index 00000000..0d4e3015 --- /dev/null +++ b/test/views/charts2/charts/networkOverview/mockData/NetworkOverviewDdosDetection.js @@ -0,0 +1,32 @@ +export const mockData = { + common: { + data: { status: 200, code: 200, queryKey: 'dec6723e173e8fa2b00917dc597bfb27', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 58, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'attack_event_count', type: 'long', category: 'Metric' }, { name: 'attacker_count', type: 'long', category: 'Metric' }, { name: 'victim_count', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ attackEventCount: 1200000, attackerCount: 2687878, victimCount: 36676767 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20COUNT%28*%29%20AS%20attack_event_count%2C%20COUNT%28DISTINCT%28offender_ip%29%29%20AS%20attacker_count%2C%20COUNT%28DISTINCT%28victim_ip%29%29%20AS%20victim_count%20FROM%20security_event%20WHERE%20start_time%20%3E%3D%201675043912%20AND%20start_time%20%3C%201675047512%20AND%20security_type%20%3D%20%27ddos%27&format=json&option=real-time', msg: 'OK' } + }, + empty: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + }, + boundary: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + attackEventCount: 120000077777, + attackerCount: 0, + victimCount: 3667676700000 + } + ] + } + } + } +} diff --git a/test/views/charts2/charts/npm/NpmAppCategoryScore.test.js b/test/views/charts2/charts/npm/NpmAppCategoryScore.test.js index 26a66286..0b31f94b 100644 --- a/test/views/charts2/charts/npm/NpmAppCategoryScore.test.js +++ b/test/views/charts2/charts/npm/NpmAppCategoryScore.test.js @@ -2,31 +2,15 @@ import NpmAppCategoryScore from '@/views/charts2/charts/npm/NpmAppCategoryScore' import { mount } from '@vue/test-utils' import axios from 'axios' import ElementPlus from 'element-plus' +import { mockData } from './mockData/NpmAppCategoryScore' -const mockGet1 = { - data: { status: 200, code: 200, queryKey: '85bef15c1d30074bd716a1e95ba98b71', success: true, message: null, statistics: { elapsed: 3, rows_read: 8239, bytes_read: 1130060, result_size: 1550, result_rows: 6 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'inbound_bytes', type: 'long', category: 'Metric' }, { name: 'outbound_bytes', type: 'long', category: 'Metric' }, { name: 'internal_bytes', type: 'long', category: 'Metric' }, { name: 'through_bytes', type: 'long', category: 'Metric' }, { name: 'total_packets', type: 'long', category: 'Metric' }, { name: 'inbound_packets', type: 'long', category: 'Metric' }, { name: 'outbound_packets', type: 'long', category: 'Metric' }, { name: 'internal_packets', type: 'long', category: 'Metric' }, { name: 'through_packets', type: 'long', category: 'Metric' }, { name: 'sessions', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', totalBytes: '1198357', totalBitsRate: 2663.04, inboundBytes: '209590', inboundBitsRate: 465.76, outboundBytes: '868709', outboundBitsRate: 1930.48, internalBytes: '0', internalBitsRate: 0, throughBytes: '17814', throughBitsRate: 39.6, totalPackets: '2125', totalPacketsRate: '0.59', inboundPackets: '295', inboundPacketsRate: '0.08', outboundPackets: '705', outboundPacketsRate: '0.20', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '29', throughPacketsRate: '0.01', sessions: '49', sessionsRate: '0.01' }, { appSubcategory: 'email', totalBytes: '524260', totalBitsRate: 1165.04, inboundBytes: '485307', inboundBitsRate: 1078.48, outboundBytes: '0', outboundBitsRate: 0, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '621', totalPacketsRate: '0.17', inboundPackets: '380', inboundPacketsRate: '0.11', outboundPackets: '0', outboundPacketsRate: '0.00', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '6', sessionsRate: '0.00' }, { appSubcategory: 'file-sharing', totalBytes: '287808020', totalBitsRate: 639573.36, inboundBytes: '383569', inboundBitsRate: 852.4, outboundBytes: '283158589', outboundBitsRate: 629241.28, internalBytes: '150', internalBitsRate: 0.32, throughBytes: '103241', throughBitsRate: 229.44, totalPackets: '243319', totalPacketsRate: '67.59', inboundPackets: '1184', inboundPacketsRate: '0.33', outboundPackets: '206409', outboundPacketsRate: '57.34', internalPackets: '2', internalPacketsRate: '0.00', throughPackets: '1555', throughPacketsRate: '0.43', sessions: '655', sessionsRate: '0.18' }, { appSubcategory: 'voip-video', totalBytes: '1394859', totalBitsRate: 3099.68, inboundBytes: '1309', inboundBitsRate: 2.88, outboundBytes: '1306937', outboundBitsRate: 2904.32, internalBytes: '55505', internalBitsRate: 123.36, throughBytes: '0', throughBitsRate: 0, totalPackets: '1249', totalPacketsRate: '0.35', inboundPackets: '9', inboundPacketsRate: '0.00', outboundPackets: '964', outboundPacketsRate: '0.27', internalPackets: '47', internalPacketsRate: '0.01', throughPackets: '0', throughPacketsRate: '0.00', sessions: '37', sessionsRate: '0.01' }, { appSubcategory: 'multimedia-streaming', totalBytes: '20753258085', totalBitsRate: 46118351.28, inboundBytes: '885592886', inboundBitsRate: 1967984.16, outboundBytes: '18584773000', outboundBitsRate: 41299495.52, internalBytes: '1239219', internalBitsRate: 2753.84, throughBytes: '862004543', throughBitsRate: 1915565.68, totalPackets: '19072293', totalPacketsRate: '5297.86', inboundPackets: '622206', inboundPacketsRate: '172.84', outboundPackets: '13193955', outboundPacketsRate: '3664.99', internalPackets: '1093', internalPacketsRate: '0.30', throughPackets: '762869', throughPacketsRate: '211.91', sessions: '18867', sessionsRate: '5.24' }, { appSubcategory: 'social-networking', totalBytes: '324162', totalBitsRate: 720.4, inboundBytes: '39911', inboundBitsRate: 88.72, outboundBytes: '218503', outboundBitsRate: 485.6, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '729', totalPacketsRate: '0.20', inboundPackets: '99', inboundPacketsRate: '0.03', outboundPackets: '291', outboundPacketsRate: '0.08', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '28', sessionsRate: '0.01' }] }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20inbound_bytes%2C%20SUM%28traffic_outbound_byte%29%20AS%20outbound_bytes%2C%20SUM%28traffic_internal_byte%29%20AS%20internal_bytes%2C%20SUM%28traffic_through_byte%29%20AS%20through_bytes%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20total_packets%2C%20SUM%28traffic_inbound_pkt%29%20AS%20inbound_packets%2C%20SUM%28traffic_outbound_pkt%29%20AS%20outbound_packets%2C%20SUM%28traffic_internal_pkt%29%20AS%20internal_packets%2C%20SUM%28traffic_through_pkt%29%20AS%20through_packets%2C%20SUM%28common_sessions%29%20AS%20sessions%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201674956525-3600%20AND%20stat_time%20%3C%201674960125-3600%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet2 = { - data: { status: 200, code: 200, queryKey: 'afa724c5532a078ad0ca2bc52b834e2e', success: true, message: null, statistics: { elapsed: 7, rows_read: 9931, bytes_read: 1362019, result_size: 1550, result_rows: 6 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'inbound_bytes', type: 'long', category: 'Metric' }, { name: 'outbound_bytes', type: 'long', category: 'Metric' }, { name: 'internal_bytes', type: 'long', category: 'Metric' }, { name: 'through_bytes', type: 'long', category: 'Metric' }, { name: 'total_packets', type: 'long', category: 'Metric' }, { name: 'inbound_packets', type: 'long', category: 'Metric' }, { name: 'outbound_packets', type: 'long', category: 'Metric' }, { name: 'internal_packets', type: 'long', category: 'Metric' }, { name: 'through_packets', type: 'long', category: 'Metric' }, { name: 'sessions', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'multimedia-streaming', totalBytes: '21278548763', totalBitsRate: 47285663.92, inboundBytes: '785312903', inboundBitsRate: 1745139.76, outboundBytes: '19030565618', outboundBitsRate: 42290145.84, internalBytes: '3319150', internalBitsRate: 7375.92, throughBytes: '1046422310', throughBitsRate: 2325382.88, totalPackets: '19448513', totalPacketsRate: '5402.36', inboundPackets: '542606', inboundPacketsRate: '150.72', outboundPackets: '13518174', outboundPacketsRate: '3755.05', internalPackets: '2774', internalPacketsRate: '0.77', throughPackets: '907519', throughPacketsRate: '252.09', sessions: '18844', sessionsRate: '5.23' }, { appSubcategory: 'file-sharing', totalBytes: '332811699', totalBitsRate: 739581.52, inboundBytes: '1672996', inboundBitsRate: 3717.76, outboundBytes: '324802448', outboundBitsRate: 721783.2, internalBytes: '0', internalBitsRate: 0, throughBytes: '75036', throughBitsRate: 166.72, totalPackets: '294049', totalPacketsRate: '81.68', inboundPackets: '2512', inboundPacketsRate: '0.70', outboundPackets: '238868', outboundPacketsRate: '66.35', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '1086', throughPacketsRate: '0.30', sessions: '565', sessionsRate: '0.16' }, { appSubcategory: 'voip-video', totalBytes: '16159697', totalBitsRate: 35910.4, inboundBytes: '9983', inboundBitsRate: 22.16, outboundBytes: '16024232', outboundBitsRate: 35609.44, internalBytes: '11691', internalBitsRate: 26, throughBytes: '0', throughBitsRate: 0, totalPackets: '12250', totalPacketsRate: '3.40', inboundPackets: '63', inboundPacketsRate: '0.02', outboundPackets: '11168', outboundPacketsRate: '3.10', internalPackets: '15', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '46', sessionsRate: '0.01' }, { appSubcategory: 'gaming', totalBytes: '2011572', totalBitsRate: 4470.16, inboundBytes: '85755', inboundBitsRate: 190.56, outboundBytes: '1809947', outboundBitsRate: 4022.08, internalBytes: '0', internalBitsRate: 0, throughBytes: '972', throughBitsRate: 2.16, totalPackets: '2157', totalPacketsRate: '0.60', inboundPackets: '249', inboundPacketsRate: '0.07', outboundPackets: '1336', outboundPacketsRate: '0.37', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '9', throughPacketsRate: '0.00', sessions: '47', sessionsRate: '0.01' }, { appSubcategory: 'social-networking', totalBytes: '386093', totalBitsRate: 858, inboundBytes: '804', inboundBitsRate: 176, outboundBytes: '343729', outboundBitsRate: 763.84, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '794', totalPacketsRate: '0.22', inboundPackets: '12', inboundPacketsRate: '0.00', outboundPackets: '436', outboundPacketsRate: '0.12', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '34', sessionsRate: '0.01' }, { appSubcategory: 'email', totalBytes: '33128', totalBitsRate: 73.6, inboundBytes: '21144', inboundBitsRate: 46.96, outboundBytes: '4069', outboundBitsRate: 9.04, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '93', totalPacketsRate: '0.03', inboundPackets: '46', inboundPacketsRate: '0.01', outboundPackets: '7', outboundPacketsRate: '0.00', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '6', sessionsRate: '0.00' }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20inbound_bytes%2C%20SUM%28traffic_outbound_byte%29%20AS%20outbound_bytes%2C%20SUM%28traffic_internal_byte%29%20AS%20internal_bytes%2C%20SUM%28traffic_through_byte%29%20AS%20through_bytes%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20total_packets%2C%20SUM%28traffic_inbound_pkt%29%20AS%20inbound_packets%2C%20SUM%28traffic_outbound_pkt%29%20AS%20outbound_packets%2C%20SUM%28traffic_internal_pkt%29%20AS%20internal_packets%2C%20SUM%28traffic_through_pkt%29%20AS%20through_packets%2C%20SUM%28common_sessions%29%20AS%20sessions%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201674956525%20AND%20stat_time%20%3C%201674960125%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20%20ORDER%20BY%20total_bytes%20desc%20%20%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet3 = { - data: { status: 200, code: 200, queryKey: '4492575d70af04eca0829f4cf049c523', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 311, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', establishLatencyMs: 80.2037 }, { appSubcategory: 'file-sharing', establishLatencyMs: 186.7609 }, { appSubcategory: 'voip-video', establishLatencyMs: 61 }, { appSubcategory: 'multimedia-streaming', establishLatencyMs: 95.5483 }, { appSubcategory: 'social-networking', establishLatencyMs: 51.0179 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_establish_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet4 = { - data: { status: 200, code: 200, queryKey: '8141b611155bb7eac75b6be6da314b79', success: true, message: null, statistics: { elapsed: 1, rows_read: 7960, bytes_read: 335660, result_size: 258, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', httpResponseLatency: 49.9375 }, { appSubcategory: 'file-sharing', httpResponseLatency: 304.75 }, { appSubcategory: 'multimedia-streaming', httpResponseLatency: 319.011 }, { appSubcategory: 'social-networking', httpResponseLatency: 55.4423 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_http_response_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet5 = { - data: { status: 200, code: 200, queryKey: 'df80ef09ef60ddc6da8343edd5699796', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 209, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', sslConLatency: 0 }, { appSubcategory: 'voip-video', sslConLatency: 0 }, { appSubcategory: 'multimedia-streaming', sslConLatency: 0 }, { appSubcategory: 'social-networking', sslConLatency: 0 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_ssl_con_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet6 = { - data: { status: 200, code: 200, queryKey: '209ee36ddba970fef15d8347acbb45d1', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 289, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', tcpLostlenPercent: 0 }, { appSubcategory: 'file-sharing', tcpLostlenPercent: 0 }, { appSubcategory: 'voip-video', tcpLostlenPercent: 0 }, { appSubcategory: 'multimedia-streaming', tcpLostlenPercent: 0.006 }, { appSubcategory: 'social-networking', tcpLostlenPercent: 0.0208 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28tcp_lostlen_ratio%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} -const mockGet7 = { - data: { status: 200, code: 200, queryKey: 'bc04f2b6120feeb9eee2d83640475447', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 295, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', pktRetransPercent: 0.0023 }, { appSubcategory: 'file-sharing', pktRetransPercent: 0 }, { appSubcategory: 'voip-video', pktRetransPercent: 0 }, { appSubcategory: 'multimedia-streaming', pktRetransPercent: 0.0171 }, { appSubcategory: 'social-networking', pktRetransPercent: 0.0003 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28pkt_retrans_ratio%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } -} +const mockGet1 = mockData.common.data1 +const mockGet2 = mockData.common.data2 +const mockGet3 = mockData.common +delete mockGet3.data1 +delete mockGet3.data2 -// 实例,使用var提升变量,供下面调用 -var wrapper = null +let wrapper = null const timeFilter = { dateRangeValue: -1, @@ -36,28 +20,32 @@ const timeFilter = { /** * 进行axios请求,并挂载vue实例 - * @param list + * @param list1 + * @param list2 + * @param list3 */ -function axiosPostAndMounted (list) { +function axiosPostAndMounted (list1, list2, list3) { require('vue-router').useRoute.mockReturnValue({ query: {} }) require('vue-router').useRouter.mockReturnValue({ currentRoute: { value: { path: '/' } } }) - // 模拟Promise.all批量请求,分开请求 - list ? axios.get.mockResolvedValueOnce(list) : axios.get.mockResolvedValueOnce(mockGet1) - axios.get.mockResolvedValueOnce(mockGet2) + const data1 = list1 || mockGet1 + const data2 = list2 || mockGet2 + const data3 = list3 || mockGet3 + axios.get.mockResolvedValueOnce(data1) + axios.get.mockResolvedValueOnce(data2) axios.get.mockImplementation(url => { switch (url) { case '/interface/application/performance/overview/appTcpSessionDelay': - return Promise.resolve(mockGet3) + return Promise.resolve(data3.data3) case '/interface/application/performance/overview/appHttpResponseDelay': - return Promise.resolve(mockGet4) + return Promise.resolve(data3.data4) case '/interface/application/performance/overview/appSslConDelay': - return Promise.resolve(mockGet5) + return Promise.resolve(data3.data5) case '/interface/application/performance/overview/appTcpLostlenPercent': - return Promise.resolve(mockGet6) + return Promise.resolve(data3.data6) case '/interface/application/performance/overview/appPacketRetransPercent': - return Promise.resolve(mockGet7) + return Promise.resolve(data3.data7) } }) @@ -120,29 +108,74 @@ describe('views/charts2/charts/npm/NpmAppCategoryScore.vue测试', () => { resolve() }, 200)) }) - test('NpmAppCategoryScore测试Inound同比超500%或无上周情况等', async () => { - const prev0 = mockGet1.data.data.result.find(p => p.appSubcategory === 'multimedia-streaming') - const prev1 = mockGet2.data.data.result.find(p => p.appSubcategory === 'social-networking') - // 设置multimedia-streaming行(即video)上周期无数据 - prev0.inboundBitsRate = 0 - // 设置Social Network行(即network)的输入>500% - prev1.inboundBitsRate = 1.76 - + test('score列的File Sharing和video,值为null', async () => { // 调用axios请求,并加载实例 - axiosPostAndMounted() + const data3 = mockData.score + axiosPostAndMounted(mockGet1, mockGet2, data3) + + await new Promise(resolve => setTimeout(() => { + // 右侧表格的分数列 + const textNode0 = wrapper.find('[test-id="score-gaming"]') + const textNode1 = wrapper.find('[test-id="score-email"]') + const textNode2 = wrapper.find('[test-id="score-file-sharing"]') + const textNode3 = wrapper.find('[test-id="score-voip-video"]') + const textNode4 = wrapper.find('[test-id="score-multimedia-streaming"]') + const textNode5 = wrapper.find('[test-id="score-social-networking"]') + + expect(textNode0.text()).toBe('6') + expect(textNode1.text()).toBe('6') + expect(textNode2.text()).toBe('-') + expect(textNode3.text()).toBe('-') + expect(textNode4.text()).toBe('5') + expect(textNode5.text()).toBe('3') + resolve() + }, 200)) + }) + test('NpmAppCategoryScore测试Inound列大数值', async () => { + const data = mockData.boundary.large.data1 + + axiosPostAndMounted(data) await new Promise(resolve => setTimeout(() => { // 右侧表格的inbound列 - // const textNode0 = wrapper.find('[test-id="inbound-gaming"]') - // const textNode1 = wrapper.find('[test-id="inbound-email"]') - // const textNode2 = wrapper.find('[test-id="inbound-file-sharing"]') - // const textNode3 = wrapper.find('[test-id="inbound-voip-video"]') + const textNode0 = wrapper.find('[test-id="inbound-gaming"]') + const textNode1 = wrapper.find('[test-id="inbound-email"]') + const textNode2 = wrapper.find('[test-id="inbound-file-sharing"]') + const textNode3 = wrapper.find('[test-id="inbound-voip-video"]') const textNode4 = wrapper.find('[test-id="inbound-multimedia-streaming"]') const textNode5 = wrapper.find('[test-id="inbound-social-networking"]') - expect(textNode4.text()).toBe('100.00%') + expect(textNode0.text()).toBe('>500.00%') + expect(textNode1.text()).toBe('>500.00%') + expect(textNode2.text()).toBe('>500.00%') + expect(textNode3.text()).toBe('>500.00%') + expect(textNode4.text()).toBe('>500.00%') expect(textNode5.text()).toBe('>500.00%') resolve() }, 200)) }) + test('NpmAppCategoryScore测试Inound列无数据', async () => { + const data1 = mockData.boundary.zero.data1 + + // 调用axios请求,并加载实例 + axiosPostAndMounted(data1) + + await new Promise(resolve => setTimeout(() => { + // 右侧表格的inbound列 + const textNode0 = wrapper.find('[test-id="inbound-packet-gaming"]') + const textNode1 = wrapper.find('[test-id="inbound-packet-email"]') + const textNode2 = wrapper.find('[test-id="inbound-packet-file-sharing"]') + const textNode3 = wrapper.find('[test-id="inbound-packet-voip-video"]') + const textNode4 = wrapper.find('[test-id="inbound-packet-multimedia-streaming"]') + const textNode5 = wrapper.find('[test-id="inbound-packet-social-networking"]') + + expect(textNode0.text()).toBe('0 bps') + expect(textNode1.text()).toBe('0 bps') + expect(textNode2.text()).toBe('0 bps') + expect(textNode3.text()).toBe('0 bps') + expect(textNode4.text()).toBe('0 bps') + expect(textNode5.text()).toBe('0 bps') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/npm/NpmAppEventTable.test.js b/test/views/charts2/charts/npm/NpmAppEventTable.test.js index c67a9e6d..aaf500c7 100644 --- a/test/views/charts2/charts/npm/NpmAppEventTable.test.js +++ b/test/views/charts2/charts/npm/NpmAppEventTable.test.js @@ -2,6 +2,10 @@ import NpmAppEventTable from '@/views/charts2/charts/npm/NpmAppEventTable' import { mount } from '@vue/test-utils' import axios from 'axios' import ElementPlus from 'element-plus' +import { mockData } from './mockData/NpmAppEventByTable' + +let wrapper = null +const mockGet = mockData.common.data const timeFilter = { dateRangeValue: -1, @@ -9,22 +13,30 @@ const timeFilter = { endTime: 1675731457 } -const mockGet = { data: { status: 200, code: 200, queryKey: '88eeb92e0ddb40c0327db494cfe5c74c', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 752, result_rows: 10 }, job: null, formatType: 'json', meta: [{ name: 'app_name', type: 'string', category: 'Dimension' }, { name: 'event_severity', type: 'string', category: 'Dimension' }, { name: 'event_type', type: 'string', category: 'Dimension' }, { name: 'count', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ appName: 'youku', eventSeverity: 'info', eventType: 'http error', count: 6 }, { appName: 'uplive', eventSeverity: 'critical', eventType: 'http error', count: 5 }, { appName: 'youku', eventSeverity: 'low', eventType: 'http error', count: 4 }, { appName: 'apple_hls', eventSeverity: 'info', eventType: 'http error', count: 3 }, { appName: 'apple_hls', eventSeverity: 'low', eventType: 'http error', count: 3 }, { appName: 'apple_hls', eventSeverity: 'medium', eventType: 'http error', count: 2 }, { appName: 'uplive', eventSeverity: 'high', eventType: 'http error', count: 2 }, { appName: 'windows_update', eventSeverity: 'medium', eventType: 'http error', count: 2 }, { appName: 'apple_hls', eventSeverity: 'critical', eventType: 'http error', count: 1 }, { appName: 'cloudflare', eventSeverity: 'info', eventType: 'http error', count: 1 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20app_name%20AS%20app_name%2C%20event_severity%20AS%20event_severity%2C%20event_type%20AS%20event_type%2C%20COUNT%28*%29%20AS%20count%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675580110%20AND%20end_time%20%3C%201675752910%20AND%20entity_type%20%3D%20%27app%27%20GROUP%20BY%20app_name%2Cevent_severity%2Cevent_type%20ORDER%20BY%20count%20DESC%20%20LIMIT%2010%20&format=json&option=real-time', msg: 'OK' } } +/** + * 进行axios请求,并挂载vue实例 + * @param data + */ +function axiosPostAndMounted (data) { + require('vue-router').useRoute.mockReturnValue({ query: {} }) + const _data = data || mockGet + // 模拟 axios 数据 + axios.get.mockResolvedValue(_data) + + // 加载vue组件,获得实例 + wrapper = mount(NpmAppEventTable, { + global: { + plugins: [ElementPlus] + }, + propsData: { + timeFilter + } + }) +} describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { test('Npm 事件:APP事件信息表格 严重程度色块验证', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NpmAppEventTable, { - global: { - plugins: [ElementPlus] - }, - propsData: { - timeFilter - } - }) + axiosPostAndMounted() await new Promise(resolve => setTimeout(() => { // critical @@ -96,18 +108,7 @@ describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { }, 200)) }) test('Npm 事件:APP事件信息表格 数据验证(应用数据列)', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NpmAppEventTable, { - global: { - plugins: [ElementPlus] - }, - propsData: { - timeFilter - } - }) + axiosPostAndMounted() await new Promise(resolve => setTimeout(() => { const textNode0 = wrapper.find('[test-id="appName0"]') @@ -136,18 +137,7 @@ describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { }, 200)) }) test('Npm 事件:APP事件信息表格 数据验证(严重程度数据列)', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NpmAppEventTable, { - global: { - plugins: [ElementPlus] - }, - propsData: { - timeFilter - } - }) + axiosPostAndMounted() await new Promise(resolve => setTimeout(() => { const textNode0 = wrapper.find('[test-id="eventSeverity0"]') @@ -176,18 +166,7 @@ describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { }, 200)) }) test('Npm 事件:APP事件信息表格 数据验证(事件类型数据列)', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NpmAppEventTable, { - global: { - plugins: [ElementPlus] - }, - propsData: { - timeFilter - } - }) + axiosPostAndMounted() await new Promise(resolve => setTimeout(() => { const textNode0 = wrapper.find('[test-id="eventType0"]') @@ -216,18 +195,7 @@ describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { }, 200)) }) test('Npm 事件:APP事件信息表格 数据验证(事件数量数据列)', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 数据 - axios.get.mockResolvedValue(mockGet) - // 加载vue组件,获得实例 - const wrapper = mount(NpmAppEventTable, { - global: { - plugins: [ElementPlus] - }, - propsData: { - timeFilter - } - }) + axiosPostAndMounted() await new Promise(resolve => setTimeout(() => { const textNode0 = wrapper.find('[test-id="count0"]') @@ -255,4 +223,13 @@ describe('views/charts2/charts/npm/NpmAppEventTable.vue测试', () => { resolve() }, 200)) }) + test('Npm 事件:APP事件信息表格 无数据', async () => { + axiosPostAndMounted(mockData.empty.data) + + await new Promise(resolve => setTimeout(() => { + const noData = wrapper.get('[test-id="noData"]') + expect(noData.text()).toBe('npm.noData') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/npm/NpmEventsByType.test.js b/test/views/charts2/charts/npm/NpmEventsByType.test.js index 94139cfd..ee2af046 100644 --- a/test/views/charts2/charts/npm/NpmEventsByType.test.js +++ b/test/views/charts2/charts/npm/NpmEventsByType.test.js @@ -11,6 +11,7 @@ const timeFilter = { startTime: 1673244000, endTime: 1673247600 } + /** * 进行axios请求,并挂载vue实例 * @param data diff --git a/test/views/charts2/charts/npm/NpmEventsHeader.test.js b/test/views/charts2/charts/npm/NpmEventsHeader.test.js index bacdd94c..2dccfe68 100644 --- a/test/views/charts2/charts/npm/NpmEventsHeader.test.js +++ b/test/views/charts2/charts/npm/NpmEventsHeader.test.js @@ -1,25 +1,35 @@ import NpmEventsHeader from '@/views/charts2/charts/npm/NpmEventsHeader' import { mount } from '@vue/test-utils' import axios from 'axios' +import { mockData } from './mockData/NpmEventsHeader' // 模拟数据 -const chartData = { - data: { status: 200, code: 200, queryKey: '6480498979f7501d822572ebeb9e9665', success: true, message: null, statistics: { elapsed: 0, rows_read: 3, result_size: 167, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'event_severity', type: 'string', category: 'Dimension' }, { name: 'count', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ eventSeverity: 'critical', count: 322334 }, { eventSeverity: 'high', count: 1111 }, { eventSeverity: 'info', count: 122222 }, { eventSeverity: 'low', count: 14456678 }, { eventSeverity: 'medium', count: 2000000 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_severity%20AS%20event_severity%2C%20COUNT%28*%29%20AS%20count%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675026686%20AND%20end_time%20%3C%201675048286%20GROUP%20BY%20event_severity&format=json&option=real-time', msg: 'OK' } -} +const chartData = mockData.common.data // type const type = 'severity' +let wrapper = null + +/** + * 进行axios请求,并挂载vue实例 + * @param data + */ +function axiosPostAndMounted (data) { + require('vue-router').useRoute.mockReturnValue({ query: {} }) + const _data = data || chartData + // 模拟 axios 数据 + axios.get.mockResolvedValue(_data) + + // 加载vue组件,获得实例 + wrapper = mount(NpmEventsHeader, { + propsData: { + type + } + }) +} describe('views/charts2/charts/npm/NpmEventsHeader.vue测试', () => { test('严重等级各等级个数:npm event 严重等级单值', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 返回数据 - axios.get.mockResolvedValue(chartData) - // 加载vue组件,获得实例 - const wrapper = mount(NpmEventsHeader, { - propsData: { - type - } - }) + axiosPostAndMounted() // 严重等级 const severity0 = wrapper.get('[test-id="severity0"]') const severity1 = wrapper.get('[test-id="severity1"]') @@ -51,4 +61,40 @@ describe('views/charts2/charts/npm/NpmEventsHeader.vue测试', () => { resolve() }, 200)) }) + test('请求无数据', async () => { + axiosPostAndMounted(mockData.empty.data) + // 各等级个数 + const total0 = wrapper.get('[test-id="total0"]') + const total1 = wrapper.get('[test-id="total1"]') + const total2 = wrapper.get('[test-id="total2"]') + const total3 = wrapper.get('[test-id="total3"]') + const total4 = wrapper.get('[test-id="total4"]') + + await new Promise(resolve => setTimeout(() => { + expect(total0.text()).toEqual('-') + expect(total1.text()).toEqual('-') + expect(total2.text()).toEqual('-') + expect(total3.text()).toEqual('-') + expect(total4.text()).toEqual('-') + resolve() + }, 200)) + }) + test('数据为0或极大', async () => { + axiosPostAndMounted(mockData.boundary.data) + // 各等级个数 + const total0 = wrapper.get('[test-id="total0"]') + const total1 = wrapper.get('[test-id="total1"]') + const total2 = wrapper.get('[test-id="total2"]') + const total3 = wrapper.get('[test-id="total3"]') + const total4 = wrapper.get('[test-id="total4"]') + + await new Promise(resolve => setTimeout(() => { + expect(total0.text()).toEqual('0') + expect(total1.text()).toEqual('0') + expect(total2.text()).toEqual('0') + expect(total3.text()).toEqual('14,456,678') + expect(total4.text()).toEqual('1,222,225,432,456,789') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/npm/NpmNetworkQuantity.test.js b/test/views/charts2/charts/npm/NpmNetworkQuantity.test.js index d023ada9..156938f4 100644 --- a/test/views/charts2/charts/npm/NpmNetworkQuantity.test.js +++ b/test/views/charts2/charts/npm/NpmNetworkQuantity.test.js @@ -1,47 +1,12 @@ import NpmNetworkQuantity from '@/views/charts2/charts/npm/NpmNetworkQuantity' import { mount } from '@vue/test-utils' import axios from 'axios' -// 下钻 -const mockGet0 = { - data: { status: 200, code: 200, queryKey: '176825b31c1b552bca8b3ec494cb7af3', success: true, message: null, statistics: { elapsed: 10, rows_read: 112586, bytes_read: 10235742, result_size: 771, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ip', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }, { name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { ip: '116.178.70.242', establishLatencyMsAvg: 130.8252, establishLatencyMsP50: 81, establishLatencyMsP90: 262, establishLatencyMsP95: 445, establishLatencyMsP99: 601, httpResponseLatencyAvg: 598.2844, httpResponseLatencyP50: 88, httpResponseLatencyP90: 2282, httpResponseLatencyP95: 2949, httpResponseLatencyP99: 4620, sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0, tcpLostlenPercentAvg: 0.0108, tcpLostlenPercentP50: 0.0017, tcpLostlenPercentP90: 0.0224, tcpLostlenPercentP95: 0.0346, tcpLostlenPercentP99: 0.1372, pktRetransPercentAvg: 0.0379, pktRetransPercentP50: 0.0202, pktRetransPercentP90: 0.0946, pktRetransPercentP95: 0.1047, pktRetransPercentP99: 0.183 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ip%20AS%20ip%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.50%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.90%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.50%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.90%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.50%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.90%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.50%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.90%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.50%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.90%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%20metric_ip%20WHERE%20%20stat_time%20%3E%3D%201675215165%20AND%20stat_time%20%3C%201675218765%20%20%20AND%20%28ip%3D%27116.178.70.242%27%20and%20side%3D%27server%27%29%20%20GROUP%20BY%20ip&format=json&option=real-time', msg: 'OK' } -} -const mockGet1 = { - data: { status: 200, code: 200, queryKey: 'c45cc8bbb2aecd158c72a550093c07bb', success: true, message: null, statistics: { elapsed: 10, rows_read: 109487, bytes_read: 9949922, result_size: 769, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ip', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }, { name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { ip: '116.178.70.242', establishLatencyMsAvg: 86.5147, establishLatencyMsP50: 68, establishLatencyMsP90: 131, establishLatencyMsP95: 152, establishLatencyMsP99: 321, httpResponseLatencyAvg: 311.6164, httpResponseLatencyP50: 66, httpResponseLatencyP90: 305, httpResponseLatencyP95: 592, httpResponseLatencyP99: 5724, sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0, tcpLostlenPercentAvg: 0.0147, tcpLostlenPercentP50: 0.0011, tcpLostlenPercentP90: 0.0226, tcpLostlenPercentP95: 0.0357, tcpLostlenPercentP99: 0.2522, pktRetransPercentAvg: 0.0357, pktRetransPercentP50: 0.0192, pktRetransPercentP90: 0.0919, pktRetransPercentP95: 0.1043, pktRetransPercentP99: 0.2249 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ip%20AS%20ip%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.50%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.90%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.50%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.90%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.50%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.90%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.50%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.90%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.50%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.90%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%20metric_ip%20WHERE%20%20stat_time%20%3E%3D%201675215165-3600%20AND%20stat_time%20%3C%201675218765-3600%20%20%20AND%20%28ip%3D%27116.178.70.242%27%20and%20side%3D%27server%27%29%20%20GROUP%20BY%20ip&format=json&option=real-time', msg: 'OK' } -} +import { mockData } from './mockData/NpmNetworkQuantity' -// 未下钻 cycle 为 0 -const tcp0 = { - data: { status: 200, code: 200, queryKey: '43786ef6059289466ee0870e51fd4e10', success: true, message: null, statistics: { elapsed: 13, rows_read: 112696, bytes_read: 3831664, result_size: 149, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { establishLatencyMsAvg: 92, establishLatencyMsP50: 49, establishLatencyMsP90: 91, establishLatencyMsP95: 160, establishLatencyMsP99: 789 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28common_establish_latency_ms%29%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.5%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.9%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%27IPv6_TCP%27%29%20&format=json&option=real-time', msg: 'OK' } -} -const http0 = { - data: { status: 200, code: 200, queryKey: '9c24dd3ad820f76adc84c261c7754a1e', success: true, message: null, statistics: { elapsed: 8, rows_read: 112696, bytes_read: 3319507, result_size: 157, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { httpResponseLatencyAvg: 193, httpResponseLatencyP50: 56, httpResponseLatencyP90: 128, httpResponseLatencyP95: 266, httpResponseLatencyP99: 2093 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28http_response_latency_ms%29%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.5%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.9%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_schema_type%20%3D%20%27HTTP%27%20&format=json&option=real-time', msg: 'OK' } -} -const ssl0 = { - data: { status: 200, code: 200, queryKey: '15433596850b0bc440b087db3995b073', success: true, message: null, statistics: { elapsed: 7, rows_read: 112696, bytes_read: 3319507, result_size: 117, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28ssl_con_latency_ms%29%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.5%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.9%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_schema_type%20%3D%20%27SSL%27%20&format=json&option=real-time', msg: 'OK' } -} -const tcpPercent0 = { - data: { status: 200, code: 200, queryKey: '4249cc0e01eaa33feb66a35885c4497c', success: true, message: null, statistics: { elapsed: 10, rows_read: 112696, bytes_read: 6649064, result_size: 162, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { tcpLostlenPercentAvg: 0.0156, tcpLostlenPercentP50: 0.0068, tcpLostlenPercentP90: 0.0169, tcpLostlenPercentP95: 0.0223, tcpLostlenPercentP99: 0.2187 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28sequence_gap_loss_percent%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.5%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.9%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%20%2F%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%20%2B%20common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%2C%204%29%20AS%20sequence_gap_loss_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } -} -const packetPercent0 = { - data: { status: 200, code: 200, queryKey: '00ccdfe80cd8e68ca8e60c57ac9cb60b', success: true, message: null, statistics: { elapsed: 9, rows_read: 112696, bytes_read: 6649064, result_size: 161, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { pktRetransPercentAvg: 0.0382, pktRetransPercentP50: 0.0353, pktRetransPercentP90: 0.0593, pktRetransPercentP95: 0.066, pktRetransPercentP99: 0.0926 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28pkt_retrans_percent%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.5%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.9%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_pkt_retrans%20%2B%20common_s2c_pkt_retrans%29%2F%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%2C4%29%20AS%20pkt_retrans_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } -} - -// 未下钻 cycle 为 1 -const tcp1 = { - data: { status: 200, code: 200, queryKey: '45b6f5188d3d59a11c95061ebeef5297', success: true, message: null, statistics: { elapsed: 7, rows_read: 116184, bytes_read: 3950256, result_size: 31, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { establishLatencyMsAvg: 96 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ROUND%28AVG%28common_establish_latency_ms%29%29%20AS%20establish_latency_ms_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%27IPv6_TCP%27%29%20&format=json&option=real-time', msg: 'OK' } -} -const http1 = { - data: { status: 200, code: 200, queryKey: 'd807b6dd867a37c57d512768b4cebfc4', success: true, message: null, statistics: { elapsed: 12, rows_read: 116184, bytes_read: 3422832, result_size: 33, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'http_response_latency_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { httpResponseLatencyAvg: 184 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28http_response_latency_ms%29%29%20AS%20http_response_latency_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_schema_type%20%3D%20%27HTTP%27%20&format=json&option=real-time', msg: 'OK' } -} -const ssl1 = { - data: { status: 200, code: 200, queryKey: 'b8cd46d7a83f032bc5bd31092707c9fb', success: true, message: null, statistics: { elapsed: 8, rows_read: 116184, bytes_read: 3422832, result_size: 25, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { sslConLatencyAvg: 1 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28ssl_con_latency_ms%29%29%20AS%20ssl_con_latency_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_schema_type%20%3D%20%27SSL%27%20&format=json&option=real-time', msg: 'OK' } -} -const tcpPercent1 = { - data: { status: 200, code: 200, queryKey: 'b2cbf07a6bd9e131f433fd17a784aa95', success: true, message: null, statistics: { elapsed: 11, rows_read: 116184, bytes_read: 6854856, result_size: 34, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { tcpLostlenPercentAvg: 0.0258 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28sequence_gap_loss_percent%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%20%2F%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%20%2B%20common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%2C%204%29%20AS%20sequence_gap_loss_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2CINTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } -} -const packetPercent1 = { - data: { status: 200, code: 200, queryKey: 'b87afb99b22c44769f4a284ed8b62d5b', success: true, message: null, statistics: { elapsed: 11, rows_read: 116184, bytes_read: 6854856, result_size: 34, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { pktRetransPercentAvg: 0.0419 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28pkt_retrans_percent%29%2C%204%29%20AS%20pkt_retrans_percent_avg%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_pkt_retrans%20%2B%20common_s2c_pkt_retrans%29%2F%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%2C4%29%20AS%20pkt_retrans_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } -} +const notDrillDownData = mockData.common.notDrillDown // 未下钻数据 +const drillDownData = mockData.common.drillDown // 下钻数据 +const emptyData = mockData.empty.data // 空数据 +const query = mockData.common.query const timeFilter = { dateRangeValue: -1, @@ -49,37 +14,57 @@ const timeFilter = { endTime: 1675047512 } -const query = { - t: '1675218280698', - curTab: 'country', - networkOverviewBeforeTab: 'ip', - tabOperationBeforeType: 4, - tabOperationType: 4, - queryCondition: "common_client_ip='116.178.70.242' OR common_server_ip='116.178.70.242'", - panelName: '116.178.70.242', - thirdMenu: 'network.ips', - dimensionType: 'ip', - fourthMenu: '116.178.70.242', - tabIndex: '1', - thirdPanel: '12', - fourthPanel: '8', - startTime: 1675215165, - endTime: 1675218765, - range: 60 +let wrapper = null + +/** + * 进行axios请求,并挂载vue实例 + * @param type + * @param data + * @param empty + */ +function axiosPostAndMounted (type, data, empty) { + if (type === 'drillDown') { + require('vue-router').useRoute.mockReturnValue({ query: query }) + if (empty) { + axios.get.mockResolvedValueOnce(emptyData) + axios.get.mockResolvedValueOnce(emptyData) + } else { + axios.get.mockResolvedValueOnce(data.data1) + axios.get.mockResolvedValueOnce(data.data2) + } + } else { + require('vue-router').useRoute.mockReturnValue({ query: {} }) + if (empty) { + for (let i = 0; i < 10; i++) { + axios.get.mockResolvedValue(emptyData) + } + } else { + axios.get.mockResolvedValueOnce(data.data1.tcp0) + axios.get.mockResolvedValueOnce(data.data1.http0) + axios.get.mockResolvedValueOnce(data.data1.ssl0) + axios.get.mockResolvedValueOnce(data.data1.tcpPercent0) + axios.get.mockResolvedValueOnce(data.data1.packetPercent0) + + axios.get.mockResolvedValueOnce(data.data2.tcp1) + axios.get.mockResolvedValueOnce(data.data2.http1) + axios.get.mockResolvedValueOnce(data.data2.ssl1) + axios.get.mockResolvedValueOnce(data.data2.tcpPercent1) + axios.get.mockResolvedValueOnce(data.data2.packetPercent1) + } + } + + wrapper = mount(NpmNetworkQuantity, { + propsData: { + timeFilter + } + }) } describe('views/charts2/charts/npm/NpmNetworkQuantity.vue测试', () => { test('Npm概况信息:服务质量图 下钻', async () => { - // 下钻时需要将模拟下钻 query 对象传入 - require('vue-router').useRoute.mockReturnValue({ query: query }) - // 模拟 axios 返回数据 - axios.get.mockResolvedValueOnce(mockGet0) - axios.get.mockResolvedValueOnce(mockGet1) - - const wrapper = mount(NpmNetworkQuantity, { - propsData: { - timeFilter - } + axiosPostAndMounted('drillDown', { + data1: drillDownData.data1, + data2: drillDownData.data2 }) await new Promise(resolve => setTimeout(() => { @@ -153,26 +138,9 @@ describe('views/charts2/charts/npm/NpmNetworkQuantity.vue测试', () => { }, 400)) }) test('Npm概况信息:服务质量图 未下钻', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 返回数据 - // 未下钻 cycle 为 0 - axios.get.mockResolvedValueOnce(tcp0) - axios.get.mockResolvedValueOnce(http0) - axios.get.mockResolvedValueOnce(ssl0) - axios.get.mockResolvedValueOnce(tcpPercent0) - axios.get.mockResolvedValueOnce(packetPercent0) - - // 未下钻 cycle 为 1 - axios.get.mockResolvedValueOnce(tcp1) - axios.get.mockResolvedValueOnce(http1) - axios.get.mockResolvedValueOnce(ssl1) - axios.get.mockResolvedValueOnce(tcpPercent1) - axios.get.mockResolvedValueOnce(packetPercent1) - - const wrapper = mount(NpmNetworkQuantity, { - propsData: { - timeFilter - } + axiosPostAndMounted('', { + data1: notDrillDownData.cycle0, + data2: notDrillDownData.cycle1 }) await new Promise(resolve => setTimeout(async () => { @@ -245,4 +213,152 @@ describe('views/charts2/charts/npm/NpmNetworkQuantity.vue测试', () => { resolve() }, 300)) }) + test('Npm概况信息:服务质量图 下钻无数据', async () => { + axiosPostAndMounted('drillDown', '', 'empty1') + + await new Promise(resolve => setTimeout(() => { + const textNode0 = wrapper.get('[test-id="singleValueContent0"]') + const textNode1 = wrapper.get('[test-id="singleValueContent1"]') + const textNode2 = wrapper.get('[test-id="singleValueContent2"]') + const textNode3 = wrapper.get('[test-id="singleValueContent3"]') + const textNode4 = wrapper.get('[test-id="singleValueContent4"]') + + expect(textNode0.text()).toEqual('-') + expect(textNode1.text()).toEqual('-') + expect(textNode2.text()).toEqual('-') + expect(textNode3.text()).toEqual('-') + expect(textNode4.text()).toEqual('-') + + const p95Node0 = wrapper.get('[test-id="singleValueP950"]') + const p95Node1 = wrapper.get('[test-id="singleValueP951"]') + const p95Node2 = wrapper.get('[test-id="singleValueP952"]') + const p95Node3 = wrapper.get('[test-id="singleValueP953"]') + const p95Node4 = wrapper.get('[test-id="singleValueP954"]') + + expect(p95Node0.text()).toEqual('P95:-') + expect(p95Node1.text()).toEqual('P95:-') + expect(p95Node2.text()).toEqual('P95:-') + expect(p95Node3.text()).toEqual('P95:-') + expect(p95Node4.text()).toEqual('P95:-') + + const p99Node0 = wrapper.get('[test-id="singleValueP990"]') + const p99Node1 = wrapper.get('[test-id="singleValueP991"]') + const p99Node2 = wrapper.get('[test-id="singleValueP992"]') + const p99Node3 = wrapper.get('[test-id="singleValueP993"]') + const p99Node4 = wrapper.get('[test-id="singleValueP994"]') + + expect(p99Node0.text()).toEqual('P99:-') + expect(p99Node1.text()).toEqual('P99:-') + expect(p99Node2.text()).toEqual('P99:-') + expect(p99Node3.text()).toEqual('P99:-') + expect(p99Node4.text()).toEqual('P99:-') + resolve() + }, 500)) + }) + test('Npm概况信息:服务质量图 未下钻无数据', async () => { + axiosPostAndMounted('', '', 'empty') + + await new Promise(resolve => setTimeout(async () => { + const textNode0 = wrapper.get('[test-id="singleValueContent0"]') + const textNode1 = wrapper.get('[test-id="singleValueContent1"]') + const textNode2 = wrapper.get('[test-id="singleValueContent2"]') + const textNode3 = wrapper.get('[test-id="singleValueContent3"]') + const textNode4 = wrapper.get('[test-id="singleValueContent4"]') + + expect(textNode0.text()).toEqual('-') + expect(textNode1.text()).toEqual('-') + expect(textNode2.text()).toEqual('-') + expect(textNode3.text()).toEqual('-') + expect(textNode4.text()).toEqual('-') + + const p95Node0 = wrapper.get('[test-id="singleValueP950"]') + const p95Node1 = wrapper.get('[test-id="singleValueP951"]') + const p95Node2 = wrapper.get('[test-id="singleValueP952"]') + const p95Node3 = wrapper.get('[test-id="singleValueP953"]') + const p95Node4 = wrapper.get('[test-id="singleValueP954"]') + + expect(p95Node0.text()).toEqual('P95:-') + expect(p95Node1.text()).toEqual('P95:-') + expect(p95Node2.text()).toEqual('P95:-') + expect(p95Node3.text()).toEqual('P95:-') + expect(p95Node4.text()).toEqual('P95:-') + + const p99Node0 = wrapper.get('[test-id="singleValueP990"]') + const p99Node1 = wrapper.get('[test-id="singleValueP991"]') + const p99Node2 = wrapper.get('[test-id="singleValueP992"]') + const p99Node3 = wrapper.get('[test-id="singleValueP993"]') + const p99Node4 = wrapper.get('[test-id="singleValueP994"]') + + expect(p99Node0.text()).toEqual('P99:-') + expect(p99Node1.text()).toEqual('P99:-') + expect(p99Node2.text()).toEqual('P99:-') + expect(p99Node3.text()).toEqual('P99:-') + expect(p99Node4.text()).toEqual('P99:-') + resolve() + }, 300)) + }) + test('Npm概况信息:服务质量图 下钻数据为0或极大值', async () => { + axiosPostAndMounted('drillDown', { + data1: mockData.boundary.drillDown.data1, + data2: mockData.boundary.drillDown.data2 + }) + + await new Promise(resolve => setTimeout(() => { + const textNode0 = wrapper.get('[test-id="singleValueContent0"]') + const textNode1 = wrapper.get('[test-id="singleValueContent1"]') + const textNode2 = wrapper.get('[test-id="singleValueContent2"]') + const textNode3 = wrapper.get('[test-id="singleValueContent3"]') + const textNode4 = wrapper.get('[test-id="singleValueContent4"]') + + expect(textNode0.text()).toEqual('3.63 h') + expect(textNode1.text()).toEqual('1.66 h') + expect(textNode2.text()).toEqual('2.78 h') + expect(textNode3.text()).toEqual('10800.00 %') + expect(textNode4.text()).toEqual('37900.00 %') + + const trendIconNode0 = wrapper.get('[test-id="singleValueTrendIcon0"]') + // const trendIconNode1 = wrapper.get('[test-id="singleValueTrendIcon1"]') + /* + * 当元素存在的时候,find 和 get 是一样的; + * 当找不到元素的时候: + * (1) find 会返回 null, 不会报错,case 通过 + * (2) get 会报错,case 失败 + * 一般总是使用 get ,除非想要判断一些元素不存在的时候,使用 find; + */ + const trendIconNode2 = wrapper.find('[test-id="singleValueTrendIcon2"]') + const trendIconNode3 = wrapper.get('[test-id="singleValueTrendIcon3"]') + const trendIconNode4 = wrapper.get('[test-id="singleValueTrendIcon4"]') + + expect(trendIconNode0.classes()).toContain('cn-icon-rise1') + // expect(trendIconNode1.classes()).toContain('cn-icon-rise1') + expect(trendIconNode2.classes()).toContain('cn-icon-rise1') + expect(trendIconNode3.classes()).toContain('cn-icon-decline') + expect(trendIconNode4.classes()).toContain('cn-icon-rise1') + + const p95Node0 = wrapper.get('[test-id="singleValueP950"]') + const p95Node1 = wrapper.get('[test-id="singleValueP951"]') + const p95Node2 = wrapper.get('[test-id="singleValueP952"]') + const p95Node3 = wrapper.get('[test-id="singleValueP953"]') + const p95Node4 = wrapper.get('[test-id="singleValueP954"]') + + expect(p95Node0.text()).toEqual('P95:0 ms') + expect(p95Node1.text()).toEqual('P95:4.92 m') + expect(p95Node2.text()).toEqual('P95:10.00 s') + expect(p95Node3.text()).toEqual('P95:3.46 %') + expect(p95Node4.text()).toEqual('P95:10.47 %') + + const p99Node0 = wrapper.get('[test-id="singleValueP990"]') + const p99Node1 = wrapper.get('[test-id="singleValueP991"]') + const p99Node2 = wrapper.get('[test-id="singleValueP992"]') + const p99Node3 = wrapper.get('[test-id="singleValueP993"]') + const p99Node4 = wrapper.get('[test-id="singleValueP994"]') + + expect(p99Node0.text()).toEqual('P99:0 ms') + expect(p99Node1.text()).toEqual('P99:7.70 m') + expect(p99Node2.text()).toEqual('P99:10.00 s') + expect(p99Node3.text()).toEqual('P99:13.72 %') + expect(p99Node4.text()).toEqual('P99:18.30 %') + resolve() + }, 500)) + }) }) diff --git a/test/views/charts2/charts/npm/NpmRecentEvents.test.js b/test/views/charts2/charts/npm/NpmRecentEvents.test.js index f8cd7b4a..91684a81 100644 --- a/test/views/charts2/charts/npm/NpmRecentEvents.test.js +++ b/test/views/charts2/charts/npm/NpmRecentEvents.test.js @@ -2,52 +2,45 @@ import NpmRecentEvents from '@/views/charts2/charts/npm/NpmRecentEvents' import { mount } from '@vue/test-utils' import axios from 'axios' import ElementPlus from 'element-plus' +import { mockData } from './mockData/NpmRecentEvents' + // 未下钻 -const mockGet = { - data: { status: 200, code: 200, queryKey: '68d8aa5867b08b926b5bd38c36add9e5', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 550, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'event_id', type: 'long', category: 'Metric' }, { name: 'event_severity', type: 'string', category: 'Metric' }, { name: 'event_key', type: 'string', category: 'Metric' }, { name: 'event_type', type: 'string', category: 'Metric' }], data: { resultType: 'table', result: [{ eventId: 1173511643475208200, eventSeverity: 'critical', eventKey: '114.114.114.114 dns error', eventType: 'dns error' }, { eventId: 1173504415263352800, eventSeverity: 'high', eventKey: '116.178.78.241 http error', eventType: 'http error' }, { eventId: 1173492761289025500, eventSeverity: 'medium', eventKey: '223.6.6.6 dns error', eventType: 'dns error' }, { eventId: 1173489002890651600, eventSeverity: 'low', eventKey: '114.114.114.114 dns error', eventType: 'dns error' }, { eventId: 1173482380537620500, eventSeverity: 'info', eventKey: '1.1.1.2 dns error', eventType: 'http error' }, { eventId: 1173482380537620500, eventSeverity: 'critical', eventKey: '1.1.1.2 dns error', eventType: 'dns error' }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_id%20AS%20event_id%2Cevent_severity%20AS%20event_severity%2C%20event_key%20AS%20event_key%2C%20event_type%20AS%20event_type%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675227528%20AND%20end_time%20%3C%201675231128%20ORDER%20BY%20start_time%20DESC%20%20LIMIT%208%20&format=json&option=real-time', msg: 'OK' } -} - +const mockGet = mockData.common.data1 // 下钻 -const mockGet1 = { - data: { status: 200, code: 200, queryKey: 'fc0bd92bf3b48a37310d5c004d8b7a7b', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 689, result_rows: 7 }, job: null, formatType: 'json', meta: [{ name: 'event_id', type: 'long', category: 'Metric' }, { name: 'event_severity', type: 'string', category: 'Metric' }, { name: 'event_type', type: 'string', category: 'Metric' }, { name: 'start_time', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ eventId: 1132790825086844900, eventSeverity: 'critical', eventType: 'http error', startTime: 1672802700 }, { eventId: 1132132403379142700, eventSeverity: 'high', eventType: 'dns error', startTime: 1672763400 }, { eventId: 1131441760155689000, eventSeverity: 'low', eventType: 'dns error', startTime: 1672722300 }, { eventId: 1131411523384598500, eventSeverity: 'medium', eventType: 'http error', startTime: 1672720500 }, { eventId: 1131390214323789800, eventSeverity: 'info', eventType: 'dns error', startTime: 1672719300 }, { eventId: 1131306200132968400, eventSeverity: 'critical', eventType: 'http error', startTime: 1672714200 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_id%20AS%20event_id%2Cevent_severity%20AS%20event_severity%2C%20event_type%20AS%20event_type%2C%20start_time%20AS%20start_time%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201672675200%20AND%20start_time%20%3C%201677513600%20AND%20server_ip%20%3D%20%27116.178.236.216%27%20ORDER%20BY%20start_time%20DESC&format=json&option=real-time', msg: 'OK' } -} - -const query = { - curTab: 'country', - dimensionType: 'ip', - fourthMenu: '116.178.214.84', - fourthPanel: '8', - networkOverviewBeforeTab: 'ip', - panelName: '116.178.214.84', - queryCondition: "common_client_ip='116.178.214.84' OR common_server_ip='116.178.214.84'", - t: '1675236779453', - tabIndex: '1', - tabOperationBeforeType: '', - tabOperationType: '4', - thirdMenu: 'network.ips', - thirdPanel: '12' -} +const mockGet1 = mockData.common.data2 +const query = mockData.common.query const timeFilter = { dateRangeValue: -1, startTime: 1675043912, endTime: 1675047512 } +let wrapper = null +/** + * 进行axios请求,并挂载vue实例 + * @param data + * @param query + */ +function axiosPostAndMounted (data, query) { + const _query = query || {} + require('vue-router').useRoute.mockReturnValue({ query: _query }) + const _data = data || mockGet + axios.get.mockResolvedValue(_data) + + wrapper = mount(NpmRecentEvents, { + propsData: { + timeFilter + }, + global: { + plugins: [ElementPlus] + } + }) +} describe('views/charts2/charts/npm/NpmRecentEvents.vue测试', () => { test('npm events 近期事件表格 未下钻', async () => { - require('vue-router').useRoute.mockReturnValue({ query: {} }) - // 模拟 axios 返回数据 - axios.get.mockResolvedValue(mockGet) + axiosPostAndMounted() - const wrapper = mount(NpmRecentEvents, { - propsData: { - timeFilter - }, - global: { - plugins: [ElementPlus] - } - }) await new Promise(resolve => setTimeout(() => { const severity0 = wrapper.get('[test-id="eventSeverity-critical-0"]') const severity1 = wrapper.get('[test-id="eventSeverity-high-1"]') @@ -98,18 +91,8 @@ describe('views/charts2/charts/npm/NpmRecentEvents.vue测试', () => { }, 200)) }) test('npm events 近期事件表格 下钻', async () => { - require('vue-router').useRoute.mockReturnValue({ query: query }) - // 模拟 axios 返回数据 - axios.get.mockResolvedValue(mockGet1) + axiosPostAndMounted(mockGet1, query) - const wrapper = mount(NpmRecentEvents, { - propsData: { - timeFilter - }, - global: { - plugins: [ElementPlus] - } - }) await new Promise(resolve => setTimeout(() => { const severity0 = wrapper.get('[test-id="eventSeverity-critical-0"]') const severity1 = wrapper.get('[test-id="eventSeverity-high-1"]') @@ -159,4 +142,13 @@ describe('views/charts2/charts/npm/NpmRecentEvents.vue测试', () => { resolve() }, 300)) }) + test('npm events 近期事件表格 未下钻、未下钻无数据', async () => { + axiosPostAndMounted(mockData.empty.data) + + await new Promise(resolve => setTimeout(() => { + const noData = wrapper.get('[test-id="noData"]') + expect(noData.text()).toBe('npm.thereNoEvents') + resolve() + }, 200)) + }) }) diff --git a/test/views/charts2/charts/npm/mockData/NpmAppCategoryScore.js b/test/views/charts2/charts/npm/mockData/NpmAppCategoryScore.js new file mode 100644 index 00000000..5933107e --- /dev/null +++ b/test/views/charts2/charts/npm/mockData/NpmAppCategoryScore.js @@ -0,0 +1,665 @@ +export const mockData = { + common: { + data1: { + data: { status: 200, code: 200, queryKey: '85bef15c1d30074bd716a1e95ba98b71', success: true, message: null, statistics: { elapsed: 3, rows_read: 8239, bytes_read: 1130060, result_size: 1550, result_rows: 6 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'inbound_bytes', type: 'long', category: 'Metric' }, { name: 'outbound_bytes', type: 'long', category: 'Metric' }, { name: 'internal_bytes', type: 'long', category: 'Metric' }, { name: 'through_bytes', type: 'long', category: 'Metric' }, { name: 'total_packets', type: 'long', category: 'Metric' }, { name: 'inbound_packets', type: 'long', category: 'Metric' }, { name: 'outbound_packets', type: 'long', category: 'Metric' }, { name: 'internal_packets', type: 'long', category: 'Metric' }, { name: 'through_packets', type: 'long', category: 'Metric' }, { name: 'sessions', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', totalBytes: '1198357', totalBitsRate: 2663.04, inboundBytes: '209590', inboundBitsRate: 465.76, outboundBytes: '868709', outboundBitsRate: 1930.48, internalBytes: '0', internalBitsRate: 0, throughBytes: '17814', throughBitsRate: 39.6, totalPackets: '2125', totalPacketsRate: '0.59', inboundPackets: '295', inboundPacketsRate: '0.08', outboundPackets: '705', outboundPacketsRate: '0.20', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '29', throughPacketsRate: '0.01', sessions: '49', sessionsRate: '0.01' }, { appSubcategory: 'email', totalBytes: '524260', totalBitsRate: 1165.04, inboundBytes: '485307', inboundBitsRate: 1078.48, outboundBytes: '0', outboundBitsRate: 0, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '621', totalPacketsRate: '0.17', inboundPackets: '380', inboundPacketsRate: '0.11', outboundPackets: '0', outboundPacketsRate: '0.00', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '6', sessionsRate: '0.00' }, { appSubcategory: 'file-sharing', totalBytes: '287808020', totalBitsRate: 639573.36, inboundBytes: '383569', inboundBitsRate: 852.4, outboundBytes: '283158589', outboundBitsRate: 629241.28, internalBytes: '150', internalBitsRate: 0.32, throughBytes: '103241', throughBitsRate: 229.44, totalPackets: '243319', totalPacketsRate: '67.59', inboundPackets: '1184', inboundPacketsRate: '0.33', outboundPackets: '206409', outboundPacketsRate: '57.34', internalPackets: '2', internalPacketsRate: '0.00', throughPackets: '1555', throughPacketsRate: '0.43', sessions: '655', sessionsRate: '0.18' }, { appSubcategory: 'voip-video', totalBytes: '1394859', totalBitsRate: 3099.68, inboundBytes: '1309', inboundBitsRate: 2.88, outboundBytes: '1306937', outboundBitsRate: 2904.32, internalBytes: '55505', internalBitsRate: 123.36, throughBytes: '0', throughBitsRate: 0, totalPackets: '1249', totalPacketsRate: '0.35', inboundPackets: '9', inboundPacketsRate: '0.00', outboundPackets: '964', outboundPacketsRate: '0.27', internalPackets: '47', internalPacketsRate: '0.01', throughPackets: '0', throughPacketsRate: '0.00', sessions: '37', sessionsRate: '0.01' }, { appSubcategory: 'multimedia-streaming', totalBytes: '20753258085', totalBitsRate: 46118351.28, inboundBytes: '885592886', inboundBitsRate: 1967984.16, outboundBytes: '18584773000', outboundBitsRate: 41299495.52, internalBytes: '1239219', internalBitsRate: 2753.84, throughBytes: '862004543', throughBitsRate: 1915565.68, totalPackets: '19072293', totalPacketsRate: '5297.86', inboundPackets: '622206', inboundPacketsRate: '172.84', outboundPackets: '13193955', outboundPacketsRate: '3664.99', internalPackets: '1093', internalPacketsRate: '0.30', throughPackets: '762869', throughPacketsRate: '211.91', sessions: '18867', sessionsRate: '5.24' }, { appSubcategory: 'social-networking', totalBytes: '324162', totalBitsRate: 720.4, inboundBytes: '39911', inboundBitsRate: 88.72, outboundBytes: '218503', outboundBitsRate: 485.6, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '729', totalPacketsRate: '0.20', inboundPackets: '99', inboundPacketsRate: '0.03', outboundPackets: '291', outboundPacketsRate: '0.08', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '28', sessionsRate: '0.01' }] }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20inbound_bytes%2C%20SUM%28traffic_outbound_byte%29%20AS%20outbound_bytes%2C%20SUM%28traffic_internal_byte%29%20AS%20internal_bytes%2C%20SUM%28traffic_through_byte%29%20AS%20through_bytes%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20total_packets%2C%20SUM%28traffic_inbound_pkt%29%20AS%20inbound_packets%2C%20SUM%28traffic_outbound_pkt%29%20AS%20outbound_packets%2C%20SUM%28traffic_internal_pkt%29%20AS%20internal_packets%2C%20SUM%28traffic_through_pkt%29%20AS%20through_packets%2C%20SUM%28common_sessions%29%20AS%20sessions%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201674956525-3600%20AND%20stat_time%20%3C%201674960125-3600%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, queryKey: 'afa724c5532a078ad0ca2bc52b834e2e', success: true, message: null, statistics: { elapsed: 7, rows_read: 9931, bytes_read: 1362019, result_size: 1550, result_rows: 6 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'total_bytes', type: 'long', category: 'Metric' }, { name: 'inbound_bytes', type: 'long', category: 'Metric' }, { name: 'outbound_bytes', type: 'long', category: 'Metric' }, { name: 'internal_bytes', type: 'long', category: 'Metric' }, { name: 'through_bytes', type: 'long', category: 'Metric' }, { name: 'total_packets', type: 'long', category: 'Metric' }, { name: 'inbound_packets', type: 'long', category: 'Metric' }, { name: 'outbound_packets', type: 'long', category: 'Metric' }, { name: 'internal_packets', type: 'long', category: 'Metric' }, { name: 'through_packets', type: 'long', category: 'Metric' }, { name: 'sessions', type: 'long', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'multimedia-streaming', totalBytes: '21278548763', totalBitsRate: 47285663.92, inboundBytes: '785312903', inboundBitsRate: 1745139.76, outboundBytes: '19030565618', outboundBitsRate: 42290145.84, internalBytes: '3319150', internalBitsRate: 7375.92, throughBytes: '1046422310', throughBitsRate: 2325382.88, totalPackets: '19448513', totalPacketsRate: '5402.36', inboundPackets: '542606', inboundPacketsRate: '150.72', outboundPackets: '13518174', outboundPacketsRate: '3755.05', internalPackets: '2774', internalPacketsRate: '0.77', throughPackets: '907519', throughPacketsRate: '252.09', sessions: '18844', sessionsRate: '5.23' }, { appSubcategory: 'file-sharing', totalBytes: '332811699', totalBitsRate: 739581.52, inboundBytes: '1672996', inboundBitsRate: 3717.76, outboundBytes: '324802448', outboundBitsRate: 721783.2, internalBytes: '0', internalBitsRate: 0, throughBytes: '75036', throughBitsRate: 166.72, totalPackets: '294049', totalPacketsRate: '81.68', inboundPackets: '2512', inboundPacketsRate: '0.70', outboundPackets: '238868', outboundPacketsRate: '66.35', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '1086', throughPacketsRate: '0.30', sessions: '565', sessionsRate: '0.16' }, { appSubcategory: 'voip-video', totalBytes: '16159697', totalBitsRate: 35910.4, inboundBytes: '9983', inboundBitsRate: 22.16, outboundBytes: '16024232', outboundBitsRate: 35609.44, internalBytes: '11691', internalBitsRate: 26, throughBytes: '0', throughBitsRate: 0, totalPackets: '12250', totalPacketsRate: '3.40', inboundPackets: '63', inboundPacketsRate: '0.02', outboundPackets: '11168', outboundPacketsRate: '3.10', internalPackets: '15', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '46', sessionsRate: '0.01' }, { appSubcategory: 'gaming', totalBytes: '2011572', totalBitsRate: 4470.16, inboundBytes: '85755', inboundBitsRate: 190.56, outboundBytes: '1809947', outboundBitsRate: 4022.08, internalBytes: '0', internalBitsRate: 0, throughBytes: '972', throughBitsRate: 2.16, totalPackets: '2157', totalPacketsRate: '0.60', inboundPackets: '249', inboundPacketsRate: '0.07', outboundPackets: '1336', outboundPacketsRate: '0.37', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '9', throughPacketsRate: '0.00', sessions: '47', sessionsRate: '0.01' }, { appSubcategory: 'social-networking', totalBytes: '386093', totalBitsRate: 858, inboundBytes: '804', inboundBitsRate: 176, outboundBytes: '343729', outboundBitsRate: 763.84, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '794', totalPacketsRate: '0.22', inboundPackets: '12', inboundPacketsRate: '0.00', outboundPackets: '436', outboundPacketsRate: '0.12', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '34', sessionsRate: '0.01' }, { appSubcategory: 'email', totalBytes: '33128', totalBitsRate: 73.6, inboundBytes: '21144', inboundBitsRate: 46.96, outboundBytes: '4069', outboundBitsRate: 9.04, internalBytes: '0', internalBitsRate: 0, throughBytes: '0', throughBitsRate: 0, totalPackets: '93', totalPacketsRate: '0.03', inboundPackets: '46', inboundPacketsRate: '0.01', outboundPackets: '7', outboundPacketsRate: '0.00', internalPackets: '0', internalPacketsRate: '0.00', throughPackets: '0', throughPacketsRate: '0.00', sessions: '6', sessionsRate: '0.00' }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%29%20AS%20total_bytes%2C%20SUM%28traffic_inbound_byte%29%20AS%20inbound_bytes%2C%20SUM%28traffic_outbound_byte%29%20AS%20outbound_bytes%2C%20SUM%28traffic_internal_byte%29%20AS%20internal_bytes%2C%20SUM%28traffic_through_byte%29%20AS%20through_bytes%2C%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%20AS%20total_packets%2C%20SUM%28traffic_inbound_pkt%29%20AS%20inbound_packets%2C%20SUM%28traffic_outbound_pkt%29%20AS%20outbound_packets%2C%20SUM%28traffic_internal_pkt%29%20AS%20internal_packets%2C%20SUM%28traffic_through_pkt%29%20AS%20through_packets%2C%20SUM%28common_sessions%29%20AS%20sessions%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201674956525%20AND%20stat_time%20%3C%201674960125%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20%20ORDER%20BY%20total_bytes%20desc%20%20%20&format=json&option=real-time', msg: 'OK' } + }, + data3: { + data: { status: 200, code: 200, queryKey: '4492575d70af04eca0829f4cf049c523', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 311, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', establishLatencyMs: 80.2037 }, { appSubcategory: 'file-sharing', establishLatencyMs: 186.7609 }, { appSubcategory: 'voip-video', establishLatencyMs: 61 }, { appSubcategory: 'multimedia-streaming', establishLatencyMs: 95.5483 }, { appSubcategory: 'social-networking', establishLatencyMs: 51.0179 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_establish_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + }, + data4: { + data: { status: 200, code: 200, queryKey: '8141b611155bb7eac75b6be6da314b79', success: true, message: null, statistics: { elapsed: 1, rows_read: 7960, bytes_read: 335660, result_size: 258, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'http_response_latency', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', httpResponseLatency: 49.9375 }, { appSubcategory: 'file-sharing', httpResponseLatency: 304.75 }, { appSubcategory: 'multimedia-streaming', httpResponseLatency: 319.011 }, { appSubcategory: 'social-networking', httpResponseLatency: 55.4423 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_http_response_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + }, + data5: { + data: { status: 200, code: 200, queryKey: 'df80ef09ef60ddc6da8343edd5699796', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 209, result_rows: 4 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'ssl_con_latency', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', sslConLatency: 0 }, { appSubcategory: 'voip-video', sslConLatency: 0 }, { appSubcategory: 'multimedia-streaming', sslConLatency: 0 }, { appSubcategory: 'social-networking', sslConLatency: 0 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28avg_ssl_con_latency_ms%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + }, + data6: { + data: { status: 200, code: 200, queryKey: '209ee36ddba970fef15d8347acbb45d1', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 289, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'tcp_lostlen_percent', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', tcpLostlenPercent: 0 }, { appSubcategory: 'file-sharing', tcpLostlenPercent: 0 }, { appSubcategory: 'voip-video', tcpLostlenPercent: 0 }, { appSubcategory: 'multimedia-streaming', tcpLostlenPercent: 0.006 }, { appSubcategory: 'social-networking', tcpLostlenPercent: 0.0208 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28tcp_lostlen_ratio%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + }, + data7: { + data: { status: 200, code: 200, queryKey: 'bc04f2b6120feeb9eee2d83640475447', success: true, message: null, statistics: { elapsed: 2, rows_read: 7960, bytes_read: 335660, result_size: 295, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'app_subcategory', type: 'string', category: 'Dimension' }, { name: 'pkt_retrans_percent', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: [{ appSubcategory: 'gaming', pktRetransPercent: 0.0023 }, { appSubcategory: 'file-sharing', pktRetransPercent: 0 }, { appSubcategory: 'voip-video', pktRetransPercent: 0 }, { appSubcategory: 'multimedia-streaming', pktRetransPercent: 0.0171 }, { appSubcategory: 'social-networking', pktRetransPercent: 0.0003 }] }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20app_subcategory%20AS%20app_subcategory%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent%20FROM%20metric_application%20WHERE%20stat_time%20%3E%3D%201675144350%20AND%20stat_time%20%3C%201675147950%20AND%20isNotNull%28pkt_retrans_ratio%29%20AND%20app_subcategory%20IN%20%28%27multimedia-streaming%27%2C%27social-networking%27%2C%27file-sharing%27%2C%27gaming%27%2C%27email%27%2C%27voip-video%27%29%20GROUP%20BY%20app_subcategory%20&format=json&option=real-time', msg: 'OK' } + } + }, + empty: {}, + boundary: { + large: { + data1: { + data: { + status: 200, + code: 200, + formatType: 'json', + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + totalBytes: '1198357', + totalBitsRate: 2663.04, + inboundBytes: '209590', + inboundBitsRate: 10000000000, + outboundBytes: '868709', + outboundBitsRate: 1930.48, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '17814', + throughBitsRate: 39.6, + totalPackets: '2125', + totalPacketsRate: '0.59', + inboundPackets: '295', + inboundPacketsRate: '0.08', + outboundPackets: '705', + outboundPacketsRate: '0.20', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '29', + throughPacketsRate: '0.01', + sessions: '49', + sessionsRate: '0.01' + }, + { + appSubcategory: 'email', + totalBytes: '524260', + totalBitsRate: 1165.04, + inboundBytes: '485307', + inboundBitsRate: 10000000000, + outboundBytes: '0', + outboundBitsRate: 0, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '621', + totalPacketsRate: '0.17', + inboundPackets: '380', + inboundPacketsRate: '0.11', + outboundPackets: '0', + outboundPacketsRate: '0.00', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '6', + sessionsRate: '0.00' + }, + { + appSubcategory: 'file-sharing', + totalBytes: '287808020', + totalBitsRate: 639573.36, + inboundBytes: '383569', + inboundBitsRate: 10000000000, + outboundBytes: '283158589', + outboundBitsRate: 629241.28, + internalBytes: '150', + internalBitsRate: 0.32, + throughBytes: '103241', + throughBitsRate: 229.44, + totalPackets: '243319', + totalPacketsRate: '67.59', + inboundPackets: '1184', + inboundPacketsRate: '0.33', + outboundPackets: '206409', + outboundPacketsRate: '57.34', + internalPackets: '2', + internalPacketsRate: '0.00', + throughPackets: '1555', + throughPacketsRate: '0.43', + sessions: '655', + sessionsRate: '0.18' + }, + { + appSubcategory: 'voip-video', + totalBytes: '1394859', + totalBitsRate: 3099.68, + inboundBytes: '1309', + inboundBitsRate: 10000000000, + outboundBytes: '1306937', + outboundBitsRate: 2904.32, + internalBytes: '55505', + internalBitsRate: 123.36, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '1249', + totalPacketsRate: '0.35', + inboundPackets: '9', + inboundPacketsRate: '0.00', + outboundPackets: '964', + outboundPacketsRate: '0.27', + internalPackets: '47', + internalPacketsRate: '0.01', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '37', + sessionsRate: '0.01' + }, + { + appSubcategory: 'multimedia-streaming', + totalBytes: '20753258085', + totalBitsRate: 46118351.28, + inboundBytes: '885592886', + inboundBitsRate: 10000000000, + outboundBytes: '18584773000', + outboundBitsRate: 41299495.52, + internalBytes: '1239219', + internalBitsRate: 2753.84, + throughBytes: '862004543', + throughBitsRate: 1915565.68, + totalPackets: '19072293', + totalPacketsRate: '5297.86', + inboundPackets: '622206', + inboundPacketsRate: '172.84', + outboundPackets: '13193955', + outboundPacketsRate: '3664.99', + internalPackets: '1093', + internalPacketsRate: '0.30', + throughPackets: '762869', + throughPacketsRate: '211.91', + sessions: '18867', + sessionsRate: '5.24' + }, + { + appSubcategory: 'social-networking', + totalBytes: '324162', + totalBitsRate: 720.4, + inboundBytes: '39911', + inboundBitsRate: 10000000000, + outboundBytes: '218503', + outboundBitsRate: 485.6, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '729', + totalPacketsRate: '0.20', + inboundPackets: '99', + inboundPacketsRate: '0.03', + outboundPackets: '291', + outboundPacketsRate: '0.08', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '28', + sessionsRate: '0.01' + }] + } + } + } + }, + zero: { + data1: { + data: { + status: 200, + code: 200, + formatType: 'json', + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + totalBytes: '1198357', + totalBitsRate: 2663.04, + inboundBytes: '209590', + inboundBitsRate: 0, + outboundBytes: '868709', + outboundBitsRate: 1930.48, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '17814', + throughBitsRate: 39.6, + totalPackets: '2125', + totalPacketsRate: '0.59', + inboundPackets: '295', + inboundPacketsRate: '0', + outboundPackets: '705', + outboundPacketsRate: '0.20', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '29', + throughPacketsRate: '0.01', + sessions: '49', + sessionsRate: '0.01' + }, + { + appSubcategory: 'email', + totalBytes: '524260', + totalBitsRate: 1165.04, + inboundBytes: '485307', + inboundBitsRate: 0, + outboundBytes: '0', + outboundBitsRate: 0, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '621', + totalPacketsRate: '0.17', + inboundPackets: '380', + inboundPacketsRate: '0', + outboundPackets: '0', + outboundPacketsRate: '0.00', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '6', + sessionsRate: '0.00' + }, + { + appSubcategory: 'file-sharing', + totalBytes: '287808020', + totalBitsRate: 639573.36, + inboundBytes: '383569', + inboundBitsRate: 0, + outboundBytes: '283158589', + outboundBitsRate: 629241.28, + internalBytes: '150', + internalBitsRate: 0.32, + throughBytes: '103241', + throughBitsRate: 229.44, + totalPackets: '243319', + totalPacketsRate: '67.59', + inboundPackets: '1184', + inboundPacketsRate: '0', + outboundPackets: '206409', + outboundPacketsRate: '57.34', + internalPackets: '2', + internalPacketsRate: '0.00', + throughPackets: '1555', + throughPacketsRate: '0.43', + sessions: '655', + sessionsRate: '0.18' + }, + { + appSubcategory: 'voip-video', + totalBytes: '1394859', + totalBitsRate: 3099.68, + inboundBytes: '1309', + inboundBitsRate: 0, + outboundBytes: '1306937', + outboundBitsRate: 2904.32, + internalBytes: '55505', + internalBitsRate: 123.36, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '1249', + totalPacketsRate: '0.35', + inboundPackets: '9', + inboundPacketsRate: '0', + outboundPackets: '964', + outboundPacketsRate: '0.27', + internalPackets: '47', + internalPacketsRate: '0.01', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '37', + sessionsRate: '0.01' + }, + { + appSubcategory: 'multimedia-streaming', + totalBytes: '20753258085', + totalBitsRate: 46118351.28, + inboundBytes: '885592886', + inboundBitsRate: 0, + outboundBytes: '18584773000', + outboundBitsRate: 41299495.52, + internalBytes: '1239219', + internalBitsRate: 2753.84, + throughBytes: '862004543', + throughBitsRate: 1915565.68, + totalPackets: '19072293', + totalPacketsRate: '5297.86', + inboundPackets: '622206', + inboundPacketsRate: '0', + outboundPackets: '13193955', + outboundPacketsRate: '3664.99', + internalPackets: '1093', + internalPacketsRate: '0.30', + throughPackets: '762869', + throughPacketsRate: '211.91', + sessions: '18867', + sessionsRate: '5.24' + }, + { + appSubcategory: 'social-networking', + totalBytes: '324162', + totalBitsRate: 720.4, + inboundBytes: '39911', + inboundBitsRate: 0, + outboundBytes: '218503', + outboundBitsRate: 485.6, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '729', + totalPacketsRate: '0.20', + inboundPackets: '99', + inboundPacketsRate: '0', + outboundPackets: '291', + outboundPacketsRate: '0.08', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '28', + sessionsRate: '0.01' + }] + } + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'multimedia-streaming', + totalBytes: '21278548763', + totalBitsRate: 47285663.92, + inboundBytes: '785312903', + inboundBitsRate: 1745139.76, + outboundBytes: '19030565618', + outboundBitsRate: 42290145.84, + internalBytes: '3319150', + internalBitsRate: 7375.92, + throughBytes: '1046422310', + throughBitsRate: 2325382.88, + totalPackets: '19448513', + totalPacketsRate: '5402.36', + inboundPackets: '542606', + inboundPacketsRate: '150.72', + outboundPackets: '13518174', + outboundPacketsRate: '3755.05', + internalPackets: '2774', + internalPacketsRate: '0.77', + throughPackets: '907519', + throughPacketsRate: '252.09', + sessions: '18844', + sessionsRate: '5.23' + }, + { + appSubcategory: 'file-sharing', + totalBytes: '332811699', + totalBitsRate: 739581.52, + inboundBytes: '1672996', + inboundBitsRate: 3717.76, + outboundBytes: '324802448', + outboundBitsRate: 721783.2, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '75036', + throughBitsRate: 166.72, + totalPackets: '294049', + totalPacketsRate: '81.68', + inboundPackets: '2512', + inboundPacketsRate: '0.70', + outboundPackets: '238868', + outboundPacketsRate: '66.35', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '1086', + throughPacketsRate: '0.30', + sessions: '565', + sessionsRate: '0.16' + }, + { + appSubcategory: 'voip-video', + totalBytes: '16159697', + totalBitsRate: 35910.4, + inboundBytes: '9983', + inboundBitsRate: 22.16, + outboundBytes: '16024232', + outboundBitsRate: 35609.44, + internalBytes: '11691', + internalBitsRate: 26, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '12250', + totalPacketsRate: '3.40', + inboundPackets: '63', + inboundPacketsRate: '0.02', + outboundPackets: '11168', + outboundPacketsRate: '3.10', + internalPackets: '15', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '46', + sessionsRate: '0.01' + }, + { + appSubcategory: 'gaming', + totalBytes: '2011572', + totalBitsRate: 4470.16, + inboundBytes: '85755', + inboundBitsRate: 190.56, + outboundBytes: '1809947', + outboundBitsRate: 4022.08, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '972', + throughBitsRate: 2.16, + totalPackets: '2157', + totalPacketsRate: '0.60', + inboundPackets: '249', + inboundPacketsRate: '0.07', + outboundPackets: '1336', + outboundPacketsRate: '0.37', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '9', + throughPacketsRate: '0.00', + sessions: '47', + sessionsRate: '0.01' + }, + { + appSubcategory: 'social-networking', + totalBytes: '386093', + totalBitsRate: 858, + inboundBytes: '804', + inboundBitsRate: 176, + outboundBytes: '343729', + outboundBitsRate: 763.84, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '794', + totalPacketsRate: '0.22', + inboundPackets: '12', + inboundPacketsRate: '0.00', + outboundPackets: '436', + outboundPacketsRate: '0.12', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '34', + sessionsRate: '0.01' + }, + { + appSubcategory: 'email', + totalBytes: '33128', + totalBitsRate: 73.6, + inboundBytes: '21144', + inboundBitsRate: 46.96, + outboundBytes: '4069', + outboundBitsRate: 9.04, + internalBytes: '0', + internalBitsRate: 0, + throughBytes: '0', + throughBitsRate: 0, + totalPackets: '93', + totalPacketsRate: '0.03', + inboundPackets: '46', + inboundPacketsRate: '0.01', + outboundPackets: '7', + outboundPacketsRate: '0.00', + internalPackets: '0', + internalPacketsRate: '0.00', + throughPackets: '0', + throughPacketsRate: '0.00', + sessions: '6', + sessionsRate: '0.00' + }] + } + } + } + } + }, + score: { + data3: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + establishLatencyMs: 80.2037 + }, + { + appSubcategory: 'email', + establishLatencyMs: 80.2037 + }, { + appSubcategory: 'file-sharing', + establishLatencyMs: 0 + }, { + appSubcategory: 'voip-video', + establishLatencyMs: null + }, { + appSubcategory: 'multimedia-streaming', + establishLatencyMs: 95.5483 + }, { + appSubcategory: 'social-networking', + establishLatencyMs: 843.4729 + }] + } + } + }, + data4: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + httpResponseLatency: 49.9375 + }, + { + appSubcategory: 'email', + httpResponseLatency: 49.9375 + }, { + appSubcategory: 'file-sharing', + httpResponseLatency: 0 + }, { + appSubcategory: 'voip-video', + httpResponseLatency: null + }, { + appSubcategory: 'multimedia-streaming', + httpResponseLatency: 319.011 + }, { + appSubcategory: 'social-networking', + httpResponseLatency: 1154.30 + }] + } + } + }, + data5: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + sslConLatency: 0 + }, { + appSubcategory: 'email', + sslConLatency: 0 + }, { + appSubcategory: 'file-sharing', + sslConLatency: 0 + }, { + appSubcategory: 'voip-video', + sslConLatency: null + }, { + appSubcategory: 'multimedia-streaming', + sslConLatency: 0 + }, { + appSubcategory: 'social-networking', + sslConLatency: 0 + }] + } + } + }, + data6: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + tcpLostlenPercent: 0 + }, + { + appSubcategory: 'email', + tcpLostlenPercent: 0 + }, { + appSubcategory: 'file-sharing', + tcpLostlenPercent: 0 + }, { + appSubcategory: 'voip-video', + tcpLostlenPercent: null + }, { + appSubcategory: 'multimedia-streaming', + tcpLostlenPercent: 0.006 + }, { + appSubcategory: 'social-networking', + tcpLostlenPercent: 0.0208 + }] + } + } + }, + data7: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: [ + { + appSubcategory: 'gaming', + pktRetransPercent: 0.0023 + }, + { + appSubcategory: 'email', + pktRetransPercent: 0.0023 + }, { + appSubcategory: 'file-sharing', + pktRetransPercent: 0 + }, { + appSubcategory: 'voip-video', + pktRetransPercent: null + }, { + appSubcategory: 'multimedia-streaming', + pktRetransPercent: 0.0171 + }, { + appSubcategory: 'social-networking', + pktRetransPercent: 0.0333 + }] + } + } + } + } +} diff --git a/test/views/charts2/charts/npm/mockData/NpmAppEventByTable.js b/test/views/charts2/charts/npm/mockData/NpmAppEventByTable.js new file mode 100644 index 00000000..bee1b37b --- /dev/null +++ b/test/views/charts2/charts/npm/mockData/NpmAppEventByTable.js @@ -0,0 +1,20 @@ +export const mockData = { + common: { + data: { + data: { status: 200, code: 200, queryKey: '88eeb92e0ddb40c0327db494cfe5c74c', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 752, result_rows: 10 }, job: null, formatType: 'json', meta: [{ name: 'app_name', type: 'string', category: 'Dimension' }, { name: 'event_severity', type: 'string', category: 'Dimension' }, { name: 'event_type', type: 'string', category: 'Dimension' }, { name: 'count', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ appName: 'youku', eventSeverity: 'info', eventType: 'http error', count: 6 }, { appName: 'uplive', eventSeverity: 'critical', eventType: 'http error', count: 5 }, { appName: 'youku', eventSeverity: 'low', eventType: 'http error', count: 4 }, { appName: 'apple_hls', eventSeverity: 'info', eventType: 'http error', count: 3 }, { appName: 'apple_hls', eventSeverity: 'low', eventType: 'http error', count: 3 }, { appName: 'apple_hls', eventSeverity: 'medium', eventType: 'http error', count: 2 }, { appName: 'uplive', eventSeverity: 'high', eventType: 'http error', count: 2 }, { appName: 'windows_update', eventSeverity: 'medium', eventType: 'http error', count: 2 }, { appName: 'apple_hls', eventSeverity: 'critical', eventType: 'http error', count: 1 }, { appName: 'cloudflare', eventSeverity: 'info', eventType: 'http error', count: 1 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20app_name%20AS%20app_name%2C%20event_severity%20AS%20event_severity%2C%20event_type%20AS%20event_type%2C%20COUNT%28*%29%20AS%20count%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675580110%20AND%20end_time%20%3C%201675752910%20AND%20entity_type%20%3D%20%27app%27%20GROUP%20BY%20app_name%2Cevent_severity%2Cevent_type%20ORDER%20BY%20count%20DESC%20%20LIMIT%2010%20&format=json&option=real-time', msg: 'OK' } + } + }, + empty: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + } + } +} diff --git a/test/views/charts2/charts/npm/mockData/NpmEventsHeader.js b/test/views/charts2/charts/npm/mockData/NpmEventsHeader.js new file mode 100644 index 00000000..29f50f7f --- /dev/null +++ b/test/views/charts2/charts/npm/mockData/NpmEventsHeader.js @@ -0,0 +1,48 @@ +export const mockData = { + common: { + data: { + data: { status: 200, code: 200, queryKey: '6480498979f7501d822572ebeb9e9665', success: true, message: null, statistics: { elapsed: 0, rows_read: 3, result_size: 167, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'event_severity', type: 'string', category: 'Dimension' }, { name: 'count', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ eventSeverity: 'critical', count: 322334 }, { eventSeverity: 'high', count: 1111 }, { eventSeverity: 'info', count: 122222 }, { eventSeverity: 'low', count: 14456678 }, { eventSeverity: 'medium', count: 2000000 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_severity%20AS%20event_severity%2C%20COUNT%28*%29%20AS%20count%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675026686%20AND%20end_time%20%3C%201675048286%20GROUP%20BY%20event_severity&format=json&option=real-time', msg: 'OK' } + } + }, + empty: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + } + }, + boundary: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [ + { + eventSeverity: 'critical', + count: 0 + }, { + eventSeverity: 'high', + count: 0 + }, { + eventSeverity: 'info', + count: 1222225432456789 + }, { + eventSeverity: 'low', + count: 14456678 + }, { + eventSeverity: 'medium', + count: 0 + }] + } + } + } + } +} diff --git a/test/views/charts2/charts/npm/mockData/NpmNetworkQuantity.js b/test/views/charts2/charts/npm/mockData/NpmNetworkQuantity.js new file mode 100644 index 00000000..a71e3de1 --- /dev/null +++ b/test/views/charts2/charts/npm/mockData/NpmNetworkQuantity.js @@ -0,0 +1,157 @@ +export const mockData = { + common: { + drillDown: { + data1: { + data: { status: 200, code: 200, queryKey: '176825b31c1b552bca8b3ec494cb7af3', success: true, message: null, statistics: { elapsed: 10, rows_read: 112586, bytes_read: 10235742, result_size: 771, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ip', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }, { name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { ip: '116.178.70.242', establishLatencyMsAvg: 130.8252, establishLatencyMsP50: 81, establishLatencyMsP90: 262, establishLatencyMsP95: 445, establishLatencyMsP99: 601, httpResponseLatencyAvg: 598.2844, httpResponseLatencyP50: 88, httpResponseLatencyP90: 2282, httpResponseLatencyP95: 2949, httpResponseLatencyP99: 4620, sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0, tcpLostlenPercentAvg: 0.0108, tcpLostlenPercentP50: 0.0017, tcpLostlenPercentP90: 0.0224, tcpLostlenPercentP95: 0.0346, tcpLostlenPercentP99: 0.1372, pktRetransPercentAvg: 0.0379, pktRetransPercentP50: 0.0202, pktRetransPercentP90: 0.0946, pktRetransPercentP95: 0.1047, pktRetransPercentP99: 0.183 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ip%20AS%20ip%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.50%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.90%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.50%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.90%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.50%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.90%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.50%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.90%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.50%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.90%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%20metric_ip%20WHERE%20%20stat_time%20%3E%3D%201675215165%20AND%20stat_time%20%3C%201675218765%20%20%20AND%20%28ip%3D%27116.178.70.242%27%20and%20side%3D%27server%27%29%20%20GROUP%20BY%20ip&format=json&option=real-time', msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, queryKey: 'c45cc8bbb2aecd158c72a550093c07bb', success: true, message: null, statistics: { elapsed: 10, rows_read: 109487, bytes_read: 9949922, result_size: 769, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ip', type: 'string', category: 'Dimension' }, { name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }, { name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { ip: '116.178.70.242', establishLatencyMsAvg: 86.5147, establishLatencyMsP50: 68, establishLatencyMsP90: 131, establishLatencyMsP95: 152, establishLatencyMsP99: 321, httpResponseLatencyAvg: 311.6164, httpResponseLatencyP50: 66, httpResponseLatencyP90: 305, httpResponseLatencyP95: 592, httpResponseLatencyP99: 5724, sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0, tcpLostlenPercentAvg: 0.0147, tcpLostlenPercentP50: 0.0011, tcpLostlenPercentP90: 0.0226, tcpLostlenPercentP95: 0.0357, tcpLostlenPercentP99: 0.2522, pktRetransPercentAvg: 0.0357, pktRetransPercentP50: 0.0192, pktRetransPercentP90: 0.0919, pktRetransPercentP95: 0.1043, pktRetransPercentP99: 0.2249 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ip%20AS%20ip%2C%20ROUND%28AVG%28avg_establish_latency_ms%29%2C%204%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.50%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.90%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28avg_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%2C%20ROUND%28AVG%28avg_http_response_latency_ms%29%2C%204%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.50%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.90%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28avg_http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%2C%20ROUND%28AVG%28avg_ssl_con_latency_ms%29%2C%204%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.50%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.90%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28avg_ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%2C%20ROUND%28AVG%28tcp_lostlen_ratio%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.50%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.90%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28tcp_lostlen_ratio%2C0.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%2C%20ROUND%28AVG%28pkt_retrans_ratio%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.50%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.90%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_ratio%2C0.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%20metric_ip%20WHERE%20%20stat_time%20%3E%3D%201675215165-3600%20AND%20stat_time%20%3C%201675218765-3600%20%20%20AND%20%28ip%3D%27116.178.70.242%27%20and%20side%3D%27server%27%29%20%20GROUP%20BY%20ip&format=json&option=real-time', msg: 'OK' } + } + }, + notDrillDown: { + cycle0: { + tcp0: { + data: { status: 200, code: 200, queryKey: '43786ef6059289466ee0870e51fd4e10', success: true, message: null, statistics: { elapsed: 13, rows_read: 112696, bytes_read: 3831664, result_size: 149, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p50', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p90', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p95', type: 'double', category: 'Metric' }, { name: 'establish_latency_ms_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { establishLatencyMsAvg: 92, establishLatencyMsP50: 49, establishLatencyMsP90: 91, establishLatencyMsP95: 160, establishLatencyMsP99: 789 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28common_establish_latency_ms%29%29%20AS%20establish_latency_ms_avg%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.5%29%29%20AS%20establish_latency_ms_p50%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.9%29%29%20AS%20establish_latency_ms_p90%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.95%29%29%20AS%20establish_latency_ms_p95%2C%20ROUND%28QUANTILE%28common_establish_latency_ms%2C0.99%29%29%20AS%20establish_latency_ms_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%27IPv6_TCP%27%29%20&format=json&option=real-time', msg: 'OK' } + }, + http0: { + data: { status: 200, code: 200, queryKey: '9c24dd3ad820f76adc84c261c7754a1e', success: true, message: null, statistics: { elapsed: 8, rows_read: 112696, bytes_read: 3319507, result_size: 157, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'http_response_latency_avg', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p50', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p90', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p95', type: 'double', category: 'Metric' }, { name: 'http_response_latency_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { httpResponseLatencyAvg: 193, httpResponseLatencyP50: 56, httpResponseLatencyP90: 128, httpResponseLatencyP95: 266, httpResponseLatencyP99: 2093 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28http_response_latency_ms%29%29%20AS%20http_response_latency_avg%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.5%29%29%20AS%20http_response_latency_p50%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.9%29%29%20AS%20http_response_latency_p90%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.95%29%29%20AS%20http_response_latency_p95%2C%20ROUND%28QUANTILE%28http_response_latency_ms%2C0.99%29%29%20AS%20http_response_latency_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_schema_type%20%3D%20%27HTTP%27%20&format=json&option=real-time', msg: 'OK' } + }, + ssl0: { + data: { status: 200, code: 200, queryKey: '15433596850b0bc440b087db3995b073', success: true, message: null, statistics: { elapsed: 7, rows_read: 112696, bytes_read: 3319507, result_size: 117, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p50', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p90', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p95', type: 'double', category: 'Metric' }, { name: 'ssl_con_latency_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { sslConLatencyAvg: 1, sslConLatencyP50: 0, sslConLatencyP90: 0, sslConLatencyP95: 0, sslConLatencyP99: 0 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28ssl_con_latency_ms%29%29%20AS%20ssl_con_latency_avg%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.5%29%29%20AS%20ssl_con_latency_p50%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.9%29%29%20AS%20ssl_con_latency_p90%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.95%29%29%20AS%20ssl_con_latency_p95%2C%20ROUND%28QUANTILE%28ssl_con_latency_ms%2C0.99%29%29%20AS%20ssl_con_latency_p99%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_schema_type%20%3D%20%27SSL%27%20&format=json&option=real-time', msg: 'OK' } + }, + tcpPercent0: { + data: { status: 200, code: 200, queryKey: '4249cc0e01eaa33feb66a35885c4497c', success: true, message: null, statistics: { elapsed: 10, rows_read: 112696, bytes_read: 6649064, result_size: 162, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p50', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p90', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p95', type: 'double', category: 'Metric' }, { name: 'tcp_lostlen_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { tcpLostlenPercentAvg: 0.0156, tcpLostlenPercentP50: 0.0068, tcpLostlenPercentP90: 0.0169, tcpLostlenPercentP95: 0.0223, tcpLostlenPercentP99: 0.2187 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28sequence_gap_loss_percent%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.5%29%2C%204%29%20AS%20tcp_lostlen_percent_p50%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.9%29%2C%204%29%20AS%20tcp_lostlen_percent_p90%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.95%29%2C%204%29%20AS%20tcp_lostlen_percent_p95%2C%20ROUND%28QUANTILE%28sequence_gap_loss_percent%2C%200.99%29%2C%204%29%20AS%20tcp_lostlen_percent_p99%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%20%2F%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%20%2B%20common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%2C%204%29%20AS%20sequence_gap_loss_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } + }, + packetPercent0: { + data: { status: 200, code: 200, queryKey: '00ccdfe80cd8e68ca8e60c57ac9cb60b', success: true, message: null, statistics: { elapsed: 9, rows_read: 112696, bytes_read: 6649064, result_size: 161, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p50', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p90', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p95', type: 'double', category: 'Metric' }, { name: 'pkt_retrans_percent_p99', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { pktRetransPercentAvg: 0.0382, pktRetransPercentP50: 0.0353, pktRetransPercentP90: 0.0593, pktRetransPercentP95: 0.066, pktRetransPercentP99: 0.0926 } }, originalUrl: 'http://192.168.44.55:9999?query=%20SELECT%20ROUND%28AVG%28pkt_retrans_percent%29%2C%204%29%20AS%20pkt_retrans_percent_avg%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.5%29%2C%204%29%20AS%20pkt_retrans_percent_p50%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.9%29%2C%204%29%20AS%20pkt_retrans_percent_p90%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.95%29%2C%204%29%20AS%20pkt_retrans_percent_p95%2C%20ROUND%28QUANTILE%28pkt_retrans_percent%2C%200.99%29%2C%204%29%20AS%20pkt_retrans_percent_p99%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_pkt_retrans%20%2B%20common_s2c_pkt_retrans%29%2F%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%2C4%29%20AS%20pkt_retrans_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930%20AND%20common_recv_time%20%3C%201675144530%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } + } + }, + cycle1: { + tcp1: { + data: { status: 200, code: 200, queryKey: '45b6f5188d3d59a11c95061ebeef5297', success: true, message: null, statistics: { elapsed: 7, rows_read: 116184, bytes_read: 3950256, result_size: 31, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'establish_latency_ms_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { establishLatencyMsAvg: 96 } }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20ROUND%28AVG%28common_establish_latency_ms%29%29%20AS%20establish_latency_ms_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%27IPv6_TCP%27%29%20&format=json&option=real-time', msg: 'OK' } + }, + http1: { + data: { status: 200, code: 200, queryKey: 'd807b6dd867a37c57d512768b4cebfc4', success: true, message: null, statistics: { elapsed: 12, rows_read: 116184, bytes_read: 3422832, result_size: 33, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'http_response_latency_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { httpResponseLatencyAvg: 184 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28http_response_latency_ms%29%29%20AS%20http_response_latency_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_schema_type%20%3D%20%27HTTP%27%20&format=json&option=real-time', msg: 'OK' } + }, + ssl1: { + data: { status: 200, code: 200, queryKey: 'b8cd46d7a83f032bc5bd31092707c9fb', success: true, message: null, statistics: { elapsed: 8, rows_read: 116184, bytes_read: 3422832, result_size: 25, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'ssl_con_latency_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { sslConLatencyAvg: 1 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28ssl_con_latency_ms%29%29%20AS%20ssl_con_latency_avg%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_schema_type%20%3D%20%27SSL%27%20&format=json&option=real-time', msg: 'OK' } + }, + tcpPercent1: { + data: { status: 200, code: 200, queryKey: 'b2cbf07a6bd9e131f433fd17a784aa95', success: true, message: null, statistics: { elapsed: 11, rows_read: 116184, bytes_read: 6854856, result_size: 34, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'tcp_lostlen_percent_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { tcpLostlenPercentAvg: 0.0258 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28sequence_gap_loss_percent%29%2C%204%29%20AS%20tcp_lostlen_percent_avg%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%20%2F%20SUM%28common_c2s_byte_num%20%2B%20common_s2c_byte_num%20%2B%20common_c2s_tcp_lostlen%20%2B%20common_s2c_tcp_lostlen%29%2C%204%29%20AS%20sequence_gap_loss_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2CINTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } + }, + packetPercent1: { + data: { status: 200, code: 200, queryKey: 'b87afb99b22c44769f4a284ed8b62d5b', success: true, message: null, statistics: { elapsed: 11, rows_read: 116184, bytes_read: 6854856, result_size: 34, result_rows: 1 }, job: null, formatType: 'json', meta: [{ name: 'pkt_retrans_percent_avg', type: 'double', category: 'Metric' }], data: { resultType: 'object', result: { pktRetransPercentAvg: 0.0419 } }, originalUrl: 'http://192.168.44.55:9999?query=%20%20SELECT%20ROUND%28AVG%28pkt_retrans_percent%29%2C%204%29%20AS%20pkt_retrans_percent_avg%20FROM%28%20SELECT%20ROUND%28SUM%28common_c2s_pkt_retrans%20%2B%20common_s2c_pkt_retrans%29%2F%20SUM%28common_c2s_pkt_num%20%2B%20common_s2c_pkt_num%29%2C4%29%20AS%20pkt_retrans_percent%2C%20toDateTime%28toStartOfInterval%28toDateTime%28common_recv_time%29%2C%20INTERVAL%2036%20SECOND%29%29%20AS%20granularity%20FROM%20session_record_cn%20WHERE%20common_recv_time%20%3E%3D%201675140930-3600%20AND%20common_recv_time%20%3C%201675144530-3600%20AND%20common_l4_protocol%20IN%20%28%27IPv4_TCP%27%2C%20%27IPv6_TCP%27%29%20GROUP%20BY%20granularity%20%29%20&format=json&option=real-time', msg: 'OK' } + } + } + }, + query: { + t: '1675218280698', + curTab: 'country', + networkOverviewBeforeTab: 'ip', + tabOperationBeforeType: 4, + tabOperationType: 4, + queryCondition: "common_client_ip='116.178.70.242' OR common_server_ip='116.178.70.242'", + panelName: '116.178.70.242', + thirdMenu: 'network.ips', + dimensionType: 'ip', + fourthMenu: '116.178.70.242', + tabIndex: '1', + thirdPanel: '12', + fourthPanel: '8', + startTime: 1675215165, + endTime: 1675218765, + range: 60 + } + }, + empty: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + } + }, + boundary: { + drillDown: { + data1: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: { + ip: '116.178.70.242', + establishLatencyMsAvg: 13082520, + establishLatencyMsP50: 81, + establishLatencyMsP90: 262, + establishLatencyMsP95: 0, + establishLatencyMsP99: 0, + httpResponseLatencyAvg: 5982844, + httpResponseLatencyP50: 88, + httpResponseLatencyP90: 2282, + httpResponseLatencyP95: 294900, + httpResponseLatencyP99: 462000, + sslConLatencyAvg: 10000000, + sslConLatencyP50: 0, + sslConLatencyP90: 0, + sslConLatencyP95: 10000, + sslConLatencyP99: 10000, + tcpLostlenPercentAvg: 108, + tcpLostlenPercentP50: 0.0017, + tcpLostlenPercentP90: 0.0224, + tcpLostlenPercentP95: 0.0346, + tcpLostlenPercentP99: 0.1372, + pktRetransPercentAvg: 379, + pktRetransPercentP50: 0.0202, + pktRetransPercentP90: 0.0946, + pktRetransPercentP95: 0.1047, + pktRetransPercentP99: 0.183 + } + } + } + }, + data2: { + data: { + status: 200, + code: 200, + data: { + resultType: 'object', + result: { + ip: '116.178.70.242', + establishLatencyMsAvg: 865147, + establishLatencyMsP50: 68000000, + establishLatencyMsP90: 131000000, + establishLatencyMsP95: 152000000, + establishLatencyMsP99: 32100000000, + httpResponseLatencyAvg: 0, + httpResponseLatencyP50: 0, + httpResponseLatencyP90: 0, + httpResponseLatencyP95: 0, + httpResponseLatencyP99: 0, + sslConLatencyAvg: 1000000, + sslConLatencyP50: 1000000, + sslConLatencyP90: 1000000, + sslConLatencyP95: 1000000, + sslConLatencyP99: 1000000, + tcpLostlenPercentAvg: 147, + tcpLostlenPercentP50: 11, + tcpLostlenPercentP90: 226, + tcpLostlenPercentP95: 357, + tcpLostlenPercentP99: 2522, + pktRetransPercentAvg: 357, + pktRetransPercentP50: 192, + pktRetransPercentP90: 919, + pktRetransPercentP95: 1043, + pktRetransPercentP99: 2249 + } + } + } + } + } + } +} diff --git a/test/views/charts2/charts/npm/mockData/NpmRecentEvents.js b/test/views/charts2/charts/npm/mockData/NpmRecentEvents.js new file mode 100644 index 00000000..0a449246 --- /dev/null +++ b/test/views/charts2/charts/npm/mockData/NpmRecentEvents.js @@ -0,0 +1,66 @@ +export const mockData = { + common: { + data1: { + data: { status: 200, code: 200, queryKey: '68d8aa5867b08b926b5bd38c36add9e5', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 550, result_rows: 5 }, job: null, formatType: 'json', meta: [{ name: 'event_id', type: 'long', category: 'Metric' }, { name: 'event_severity', type: 'string', category: 'Metric' }, { name: 'event_key', type: 'string', category: 'Metric' }, { name: 'event_type', type: 'string', category: 'Metric' }], data: { resultType: 'table', result: [{ eventId: 1173511643475208200, eventSeverity: 'critical', eventKey: '114.114.114.114 dns error', eventType: 'dns error' }, { eventId: 1173504415263352800, eventSeverity: 'high', eventKey: '116.178.78.241 http error', eventType: 'http error' }, { eventId: 1173492761289025500, eventSeverity: 'medium', eventKey: '223.6.6.6 dns error', eventType: 'dns error' }, { eventId: 1173489002890651600, eventSeverity: 'low', eventKey: '114.114.114.114 dns error', eventType: 'dns error' }, { eventId: 1173482380537620500, eventSeverity: 'info', eventKey: '1.1.1.2 dns error', eventType: 'http error' }, { eventId: 1173482380537620500, eventSeverity: 'critical', eventKey: '1.1.1.2 dns error', eventType: 'dns error' }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_id%20AS%20event_id%2Cevent_severity%20AS%20event_severity%2C%20event_key%20AS%20event_key%2C%20event_type%20AS%20event_type%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201675227528%20AND%20end_time%20%3C%201675231128%20ORDER%20BY%20start_time%20DESC%20%20LIMIT%208%20&format=json&option=real-time', msg: 'OK' } + }, + data2: { + data: { status: 200, code: 200, queryKey: 'fc0bd92bf3b48a37310d5c004d8b7a7b', success: true, message: null, statistics: { elapsed: 0, rows_read: 2, result_size: 689, result_rows: 7 }, job: null, formatType: 'json', meta: [{ name: 'event_id', type: 'long', category: 'Metric' }, { name: 'event_severity', type: 'string', category: 'Metric' }, { name: 'event_type', type: 'string', category: 'Metric' }, { name: 'start_time', type: 'long', category: 'Metric' }], data: { resultType: 'table', result: [{ eventId: 1132790825086844900, eventSeverity: 'critical', eventType: 'http error', startTime: 1672802700 }, { eventId: 1132132403379142700, eventSeverity: 'high', eventType: 'dns error', startTime: 1672763400 }, { eventId: 1131441760155689000, eventSeverity: 'low', eventType: 'dns error', startTime: 1672722300 }, { eventId: 1131411523384598500, eventSeverity: 'medium', eventType: 'http error', startTime: 1672720500 }, { eventId: 1131390214323789800, eventSeverity: 'info', eventType: 'dns error', startTime: 1672719300 }, { eventId: 1131306200132968400, eventSeverity: 'critical', eventType: 'http error', startTime: 1672714200 }] }, originalUrl: 'http://192.168.44.55:9999?query=SELECT%20event_id%20AS%20event_id%2Cevent_severity%20AS%20event_severity%2C%20event_type%20AS%20event_type%2C%20start_time%20AS%20start_time%20FROM%20performance_event%20WHERE%20start_time%20%3E%3D%201672675200%20AND%20start_time%20%3C%201677513600%20AND%20server_ip%20%3D%20%27116.178.236.216%27%20ORDER%20BY%20start_time%20DESC&format=json&option=real-time', msg: 'OK' } + }, + query: { + curTab: 'country', + dimensionType: 'ip', + fourthMenu: '116.178.214.84', + fourthPanel: '8', + networkOverviewBeforeTab: 'ip', + panelName: '116.178.214.84', + queryCondition: "common_client_ip='116.178.214.84' OR common_server_ip='116.178.214.84'", + t: '1675236779453', + tabIndex: '1', + tabOperationBeforeType: '', + tabOperationType: '4', + thirdMenu: 'network.ips', + thirdPanel: '12' + } + }, + empty: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [] + }, + msg: 'OK' + } + } + }, + boundary: { + data: { + data: { + status: 200, + code: 200, + data: { + resultType: 'table', + result: [ + { + eventSeverity: 'critical', + count: 0 + }, { + eventSeverity: 'high', + count: 0 + }, { + eventSeverity: 'info', + count: 1222225432456789 + }, { + eventSeverity: 'low', + count: 14456678 + }, { + eventSeverity: 'medium', + count: 0 + }] + } + } + } + } +}