This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/charts/logsTempData.js

5 lines
27 KiB
JavaScript
Raw Normal View History

const logsTempData = [
{ data: { result: [{ metric: { a: 'a', asset: '40.42', b: 'b', datacenter: 'Temp', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, values: [[1630910642, '811'], [1630910656, '811'], [1630910670, '818'], [1630910684, '818'], [1630910698, '839'], [1630910712, '852'], [1630910726, '843'], [1630910740, '831'], [1630910754, '819'], [1630910768, '820'], [1630910782, '808'], [1630910796, '542'], [1630910810, '518'], [1630910824, '517'], [1630910838, '517'], [1630910852, '516'], [1630910866, '516'], [1630910880, '515'], [1630910894, '515'], [1630910908, '515'], [1630910922, '505'], [1630910936, '502'], [1630910950, '503'], [1630910964, '497'], [1630910978, '504'], [1630910992, '502'], [1630911006, '492'], [1630911020, '497'], [1630911034, '499'], [1630911048, '502'], [1630911062, '508'], [1630911076, '508'], [1630911090, '506'], [1630911104, '512'], [1630911118, '516'], [1630911132, '518'], [1630911146, '517'], [1630911160, '519'], [1630911174, '519'], [1630911188, '519'], [1630911202, '519'], [1630911216, '518'], [1630911230, '518'], [1630911244, '518'], [1630911258, '518'], [1630911272, '518'], [1630911286, '509'], [1630911300, '502'], [1630911314, '489'], [1630911328, '487'], [1630911342, '483'], [1630911356, '483'], [1630911370, '481'], [1630911384, '493'], [1630911398, '489'], [1630911412, '492'], [1630911426, '500'], [1630911440, '506'], [1630911454, '504'], [1630911468, '505'], [1630911482, '504'], [1630911496, '505'], [1630911510, '506'], [1630911524, '506'], [1630911538, '506'], [1630911552, '512'], [1630911566, '512'], [1630911580, '521'], [1630911594, '518'], [1630911608, '523'], [1630911622, '524'], [1630911636, '524'], [1630911650, '525'], [1630911664, '525'], [1630911678, '516'], [1630911692, '508'], [1630911706, '508'], [1630911720, '492'], [1630911734, '485'], [1630911748, '485'], [1630911762, '486'], [1630911776, '486'], [1630911790, '486'], [1630911804, '486'], [1630911818, '484'], [1630911832, '488'], [1630911846, '482'], [1630911860, '483'], [1630911874, '474'], [1630911888, '474'], [1630911902, '467'], [1630911916, '467'], [1630911930, '466'], [1630911944, '472'], [1630911958, '478'], [1630911972, '478'], [1630911986, '478'], [1630912000, '489'], [1630912014, '490'], [1630912028, '489'], [1630912042, '490'], [1630912056, '489'], [1630912070, '505'], [1630912084, '512'], [1630912098, '512'], [1630912112, '513'], [1630912126, '510'], [1630912140, '510'], [1630912154, '509'], [1630912168, '509'], [1630912182, '507'], [1630912196, '508'], [1630912210, '508'], [1630912224, '508'], [1630912238, '516'], [1630912252, '504'], [1630912266, '504'], [1630912280, '504'], [1630912294, '492'], [1630912308, '498'], [1630912322, '499'], [1630912336, '504'], [1630912350, '505'], [1630912364, '498'], [1630912378, '483'], [1630912392, '481'], [1630912406, '482'], [1630912420, '481'], [1630912434, '481'], [1630912448, '482'], [1630912462, '482'], [1630912476, '483'], [1630912490, '483'], [1630912504, '483'], [1630912518, '482'], [1630912532, '481'], [1630912546, '477'], [1630912560, '480'], [1630912574, '493'], [1630912588, '514'], [1630912602, '516'], [1630912616, '510'], [1630912630, '504'], [1630912644, '504'], [1630912658, '503'], [1630912672, '503'], [1630912686, '516'], [1630912700, '515'], [1630912714, '517'], [1630912728, '517'], [1630912742, '517'], [1630912756, '517'], [1630912770, '522'], [1630912784, '522'], [1630912798, '522'], [1630912812, '529'], [1630912826, '542'], [1630912840, '543'], [1630912854, '537'], [1630912868, '539'], [1630912882, '516'], [1630912896, '514'], [1630912910, '514'], [1630912924, '514'], [1630912938, '514'], [1630912952, '514'], [1630912966, '514'], [1630912980, '505'], [1630912994, '512'], [1630913008, '511'], [1630913022, '511'], [1630913036, '509'], [1630913050, '510'], [1630913064, '503'], [1630913078, '511'], [1630913092, '511'], [1630913106, '724'], [1630913120, '722'], [1630913134, '716'], [1630913148, '717'], [1630913162, '720'], [1630913176, '715'], [1630913190, '726'], [1630913204, '726'], [1630913218, '726'], [
{ data: { result: [{ labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'Temp', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:26.906 [http-nio-8080-exec-7] INFO com.nis.common.aspect.ControllerExecTimeAspect - 方法:com.nis.modules.sys.controller.SysLicenseController.getLicenseState(),执行 0.0 秒,执行 2 毫秒', timestamp: '1630914687141252341', uuid: 'c1d610de4e8641ad' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'fatal', message: '2021-09-06 07:51:26.058 [Alert Message Notify Handler] WARN c.n.modules.alert.backend.AlertMessageNotifyThread - Message notify error,AlertRule is null ,messageId : null', timestamp: '1630914686140309993', uuid: '02f7711da17b8f4c' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:20.005 [quartzScheduler_Worker-6] INFO com.nis.modules.alert.backend.AlertRuleManagerJob - nz alert rule eval enable : 0', timestamp: '1630914680135527546', uuid: 'cfeae7c9698af8a0' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:20.003 [quartzScheduler_Worker-6] INFO com.nis.modules.alert.backend.AlertRuleManagerJob - update snmp trap rule success,size:1', timestamp: '1630914680135516245', uuid: '9464e94c39c3b2cf' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:10.004 [quartzScheduler_Worker-5] INFO com.nis.modules.alert.backend.AlertRuleManagerJob - nz alert rule eval enable : 0', timestamp: '1630914670128320735', uuid: '3c3b0e57c83690e5' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:10.004 [quartzScheduler_Worker-5] INFO com.nis.modules.alert.backend.AlertRuleManagerJob - update snmp trap rule success,size:1', timestamp: '1630914670128312608', uuid: '1acc37e93767941d' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:07.284 [http-nio-8080-exec-12] INFO com.nis.common.aspect.ControllerExecTimeAspect - 方法:com.nis.modules.panel.controller.ExpreTmplController.queryTmplsByGname(),执行 0.0 秒,执行 1 毫秒', timestamp: '1630914667376718771', uuid: 'd0652a0c6a723a67' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:07.263 [http-nio-8080-exec-23] INFO com.nis.common.aspect.ControllerExecTimeAspect - 方法:com.nis.modules.promserver.controller.PromProxyController.promProxy(),执行 0.0 秒,执行 5 毫秒', timestamp: '1630914667376706551', uuid: '8c1b19c648b81638' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG', endpoint: 'agentLog-40.42', filename: '/opt/nezha/nz-web/logs/nz-web.log', module: 'agentLog', project: 'Nezha' }, level: 'info', message: '2021-09-06 07:51:07.261 [http-nio-8080-exec-28] INFO com.nis.common.aspect.ControllerExecTimeAspect - 方法:com.nis.modules.promserver.controller.LokiProxyController.logLokiProxy(),执行 0.0 秒,执行 3 毫秒', timestamp: '1630914667376698830', uuid: '848132e62fa4d8a5' }, { labels: { a: 'a', asset: '40.42', b: 'b', datacenter: 'JBXXG'
export default logsTempData