From c0b7e578f33ace5e19d518a6d91850851925d86b Mon Sep 17 00:00:00 2001 From: zhanghan2021 Date: Tue, 3 Dec 2024 10:03:03 +0800 Subject: [PATCH] add copyright info for project --- agent/probes/network/global/meta.go | 7 +++++++ agent/probes/network/global/tools.go | 7 +++++++ agent/probes/network/main.go | 7 +++++++ agent/probes/network/src/bpf_bpfel.go | 7 +++++++ agent/probes/network/src/tcp_netflow.bpf.c | 7 +++++++ agent/probes/network/src/tcp_netflow.go | 7 +++++++ server/config/config.go | 7 +++++++ server/dao/alert.go | 7 +++++++ server/dao/rule.go | 7 +++++++ server/dao/target.go | 7 +++++++ server/db/db.go | 7 +++++++ server/httphandler/alerthandler.go | 7 +++++++ server/httphandler/httptarget.go | 7 +++++++ server/httphandler/prometheusAPI.go | 7 +++++++ server/httphandler/rulehandler.go | 7 +++++++ server/httphandler/runresult.go | 7 +++++++ server/main.go | 7 +++++++ server/model/alert.go | 7 +++++++ server/model/common.go | 7 +++++++ server/model/rule.go | 7 +++++++ server/plugin/plugin_manager.go | 7 +++++++ server/router/router.go | 7 +++++++ server/service/alertservice.go | 7 +++++++ server/service/extentions.go | 7 +++++++ server/service/prometheus/backyml.go | 7 +++++++ server/service/prometheus/prometheusinit.go | 7 +++++++ server/service/prometheus/ruleyaml.go | 7 +++++++ server/service/prometheus/target.go | 7 +++++++ server/service/ruleservice.go | 7 +++++++ server/service/ruletemplate.go | 7 +++++++ server/service/runresult.go | 7 +++++++ server/service/tags.go | 7 +++++++ server/utils/command.go | 7 +++++++ server/utils/file.go | 7 +++++++ server/utils/page.go | 7 +++++++ server/utils/timeStamp.go | 7 +++++++ web/babel.config.js | 7 +++++++ web/public/index.html | 7 +++++++ web/src/App.vue | 7 +++++++ web/src/api/prometheus.ts | 7 +++++++ web/src/api/request.ts | 7 +++++++ web/src/components/MyAutoComplete.vue | 7 +++++++ web/src/components/MyEcharts.vue | 7 +++++++ web/src/components/MyGrid.vue | 7 +++++++ web/src/components/PmTable.vue | 7 +++++++ web/src/components/chartTable.vue | 7 +++++++ web/src/components/index.ts | 7 +++++++ web/src/main.ts | 7 +++++++ web/src/router/index.ts | 7 +++++++ web/src/shims-vue.d.ts | 7 +++++++ web/src/store/alert.ts | 7 +++++++ web/src/store/charts.ts | 7 +++++++ web/src/store/mac.ts | 7 +++++++ web/src/types/alert.ts | 7 +++++++ web/src/types/host.ts | 7 +++++++ web/src/types/rule.ts | 7 +++++++ web/src/utils/dateFormat.ts | 7 +++++++ web/src/utils/datePicker.ts | 7 +++++++ web/src/utils/echarts.ts | 7 +++++++ web/src/views/HomeView.vue | 7 +++++++ web/src/views/advanceSearch/index.vue | 7 +++++++ web/src/views/alertList.vue | 7 +++++++ web/src/views/ruleForm/addRule.vue | 7 +++++++ web/src/views/ruleForm/customRule.ts | 7 +++++++ web/src/views/ruleList.vue | 7 +++++++ web/vue.config.js | 7 +++++++ 66 files changed, 462 insertions(+) diff --git a/agent/probes/network/global/meta.go b/agent/probes/network/global/meta.go index 1009af9..f5e7947 100644 --- a/agent/probes/network/global/meta.go +++ b/agent/probes/network/global/meta.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Mon Dec 2 09:19:50 2024 +0800 + */ package global import "sync" diff --git a/agent/probes/network/global/tools.go b/agent/probes/network/global/tools.go index cc9a90f..08c2b95 100644 --- a/agent/probes/network/global/tools.go +++ b/agent/probes/network/global/tools.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Mon Dec 2 09:19:50 2024 +0800 + */ package global import ( diff --git a/agent/probes/network/main.go b/agent/probes/network/main.go index 69eb465..14775f1 100644 --- a/agent/probes/network/main.go +++ b/agent/probes/network/main.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Mon Dec 2 09:19:50 2024 +0800 + */ package main import ( diff --git a/agent/probes/network/src/bpf_bpfel.go b/agent/probes/network/src/bpf_bpfel.go index 1e167fa..f638de5 100644 --- a/agent/probes/network/src/bpf_bpfel.go +++ b/agent/probes/network/src/bpf_bpfel.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Fri Nov 22 09:51:49 2024 +0800 + */ // Code generated by bpf2go; DO NOT EDIT. //go:build 386 || amd64 || arm || arm64 || loong64 || mips64le || mipsle || ppc64le || riscv64 diff --git a/agent/probes/network/src/tcp_netflow.bpf.c b/agent/probes/network/src/tcp_netflow.bpf.c index c96c098..0b74ab9 100644 --- a/agent/probes/network/src/tcp_netflow.bpf.c +++ b/agent/probes/network/src/tcp_netflow.bpf.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Thu Nov 14 13:40:55 2024 +0800 + */ #include "tcp_netflow.h" char g_linsence[] SEC("license") = "GPL"; diff --git a/agent/probes/network/src/tcp_netflow.go b/agent/probes/network/src/tcp_netflow.go index ac104b5..0297b4a 100644 --- a/agent/probes/network/src/tcp_netflow.go +++ b/agent/probes/network/src/tcp_netflow.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: Wangjunqi123 + * Date: Mon Dec 2 09:19:50 2024 +0800 + */ package src import ( diff --git a/server/config/config.go b/server/config/config.go index f44d2f1..33f1133 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package config import ( diff --git a/server/dao/alert.go b/server/dao/alert.go index 898d09e..d67f753 100644 --- a/server/dao/alert.go +++ b/server/dao/alert.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Tue Oct 29 17:50:51 2024 +0800 + */ package dao import ( diff --git a/server/dao/rule.go b/server/dao/rule.go index 680a2c8..a7cde14 100644 --- a/server/dao/rule.go +++ b/server/dao/rule.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 20:21:56 2024 +0800 + */ package dao import ( diff --git a/server/dao/target.go b/server/dao/target.go index 8d46ed3..24eb21c 100644 --- a/server/dao/target.go +++ b/server/dao/target.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Fri Oct 20 11:41:45 2023 +0800 + */ package dao import ( diff --git a/server/db/db.go b/server/db/db.go index 8353995..e3e12fb 100644 --- a/server/db/db.go +++ b/server/db/db.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package db import ( diff --git a/server/httphandler/alerthandler.go b/server/httphandler/alerthandler.go index ee9aa05..6b63652 100644 --- a/server/httphandler/alerthandler.go +++ b/server/httphandler/alerthandler.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 30 11:36:36 2024 +0800 + */ package httphandler import ( diff --git a/server/httphandler/httptarget.go b/server/httphandler/httptarget.go index b57dc10..fb787b9 100644 --- a/server/httphandler/httptarget.go +++ b/server/httphandler/httptarget.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Fri Oct 20 11:41:45 2023 +0800 + */ package httphandler import ( diff --git a/server/httphandler/prometheusAPI.go b/server/httphandler/prometheusAPI.go index 6a74f49..fb62184 100644 --- a/server/httphandler/prometheusAPI.go +++ b/server/httphandler/prometheusAPI.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package httphandler import ( diff --git a/server/httphandler/rulehandler.go b/server/httphandler/rulehandler.go index ebf0a62..9b29f40 100644 --- a/server/httphandler/rulehandler.go +++ b/server/httphandler/rulehandler.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 20:21:56 2024 +0800 + */ package httphandler import ( diff --git a/server/httphandler/runresult.go b/server/httphandler/runresult.go index 00c46f4..858c01d 100644 --- a/server/httphandler/runresult.go +++ b/server/httphandler/runresult.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Fri Oct 20 11:41:45 2023 +0800 + */ package httphandler import ( diff --git a/server/main.go b/server/main.go index 3aaa6a3..a6b4163 100644 --- a/server/main.go +++ b/server/main.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package main import ( diff --git a/server/model/alert.go b/server/model/alert.go index 2e73c73..7339a1f 100644 --- a/server/model/alert.go +++ b/server/model/alert.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Tue Oct 29 16:42:12 2024 +0800 + */ package model type Alert struct { diff --git a/server/model/common.go b/server/model/common.go index a3922c6..1c17c75 100644 --- a/server/model/common.go +++ b/server/model/common.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Thu Oct 19 11:33:37 2023 +0800 + */ package model type PrometheusTarget struct { diff --git a/server/model/rule.go b/server/model/rule.go index 0f9a339..8a5f02b 100644 --- a/server/model/rule.go +++ b/server/model/rule.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 16:52:16 2024 +0800 + */ package model type Rule struct { diff --git a/server/plugin/plugin_manager.go b/server/plugin/plugin_manager.go index 77330d1..6aee826 100644 --- a/server/plugin/plugin_manager.go +++ b/server/plugin/plugin_manager.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package plugin import ( diff --git a/server/router/router.go b/server/router/router.go index 5ff0e89..70d304b 100644 --- a/server/router/router.go +++ b/server/router/router.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ package router import ( diff --git a/server/service/alertservice.go b/server/service/alertservice.go index db2852e..a39c559 100644 --- a/server/service/alertservice.go +++ b/server/service/alertservice.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Tue Oct 29 16:42:12 2024 +0800 + */ package service import ( diff --git a/server/service/extentions.go b/server/service/extentions.go index 8e3d3ad..774e124 100644 --- a/server/service/extentions.go +++ b/server/service/extentions.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jan 10 16:23:18 2024 +0800 + */ package service import ( diff --git a/server/service/prometheus/backyml.go b/server/service/prometheus/backyml.go index 4b9c9f6..9b88723 100644 --- a/server/service/prometheus/backyml.go +++ b/server/service/prometheus/backyml.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 16:52:16 2024 +0800 + */ package initprometheus import ( diff --git a/server/service/prometheus/prometheusinit.go b/server/service/prometheus/prometheusinit.go index 9feb7ef..b5b2256 100644 --- a/server/service/prometheus/prometheusinit.go +++ b/server/service/prometheus/prometheusinit.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 16:52:16 2024 +0800 + */ package initprometheus import ( diff --git a/server/service/prometheus/ruleyaml.go b/server/service/prometheus/ruleyaml.go index 0f0214f..7006c60 100644 --- a/server/service/prometheus/ruleyaml.go +++ b/server/service/prometheus/ruleyaml.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Thu Oct 24 14:44:46 2024 +0800 + */ package initprometheus import ( diff --git a/server/service/prometheus/target.go b/server/service/prometheus/target.go index 33017d6..102b248 100644 --- a/server/service/prometheus/target.go +++ b/server/service/prometheus/target.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Thu Oct 24 16:35:13 2024 +0800 + */ package initprometheus import ( diff --git a/server/service/ruleservice.go b/server/service/ruleservice.go index 295ac22..71d982d 100644 --- a/server/service/ruleservice.go +++ b/server/service/ruleservice.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 23 20:21:56 2024 +0800 + */ package service import ( diff --git a/server/service/ruletemplate.go b/server/service/ruletemplate.go index 1cac0fb..314ce92 100644 --- a/server/service/ruletemplate.go +++ b/server/service/ruletemplate.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Thu Oct 24 14:21:42 2024 +0800 + */ package service import ( diff --git a/server/service/runresult.go b/server/service/runresult.go index 192146a..4eadf83 100644 --- a/server/service/runresult.go +++ b/server/service/runresult.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Fri Oct 20 11:41:45 2023 +0800 + */ package service import ( diff --git a/server/service/tags.go b/server/service/tags.go index 83fd335..d3c21c0 100644 --- a/server/service/tags.go +++ b/server/service/tags.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Mon Nov 13 11:26:00 2023 +0800 + */ package service import ( diff --git a/server/utils/command.go b/server/utils/command.go index 79a8382..3e9cca9 100644 --- a/server/utils/command.go +++ b/server/utils/command.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Tue Oct 10 17:53:11 2023 +0800 + */ package utils import ( diff --git a/server/utils/file.go b/server/utils/file.go index 35ab7b6..6cf070e 100644 --- a/server/utils/file.go +++ b/server/utils/file.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan + * Date: Thu Aug 31 20:57:42 2023 +0800 + */ package utils import ( diff --git a/server/utils/page.go b/server/utils/page.go index fe14cee..450e3f2 100644 --- a/server/utils/page.go +++ b/server/utils/page.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 30 11:03:36 2024 +0800 + */ package utils import ( diff --git a/server/utils/timeStamp.go b/server/utils/timeStamp.go index 56d0816..10b6820 100644 --- a/server/utils/timeStamp.go +++ b/server/utils/timeStamp.go @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Oct 30 11:06:53 2024 +0800 + */ package utils import ( diff --git a/web/babel.config.js b/web/babel.config.js index e955840..a17d055 100644 --- a/web/babel.config.js +++ b/web/babel.config.js @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ module.exports = { presets: [ '@vue/cli-plugin-babel/preset' diff --git a/web/public/index.html b/web/public/index.html index 3e5a139..7ddbb46 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -1,3 +1,10 @@ + diff --git a/web/src/App.vue b/web/src/App.vue index 51c7c39..aac3f42 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,3 +1,10 @@ + diff --git a/web/src/api/prometheus.ts b/web/src/api/prometheus.ts index 7b7b3b1..2840f40 100644 --- a/web/src/api/prometheus.ts +++ b/web/src/api/prometheus.ts @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ import request from './request' // 获取指标列表 export function getPromRules() { diff --git a/web/src/api/request.ts b/web/src/api/request.ts index dda84da..03110e7 100644 --- a/web/src/api/request.ts +++ b/web/src/api/request.ts @@ -1,3 +1,10 @@ +/* + * Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + * PilotGo-plugin-prometheus licensed under the Mulan Permissive Software License, Version 2. + * See LICENSE file for more details. + * Author: zhanghan2021 + * Date: Wed Jul 26 16:42:38 2023 +0800 + */ import axios from 'axios' import router from '@/router' diff --git a/web/src/components/MyAutoComplete.vue b/web/src/components/MyAutoComplete.vue index ec76299..dcc6539 100644 --- a/web/src/components/MyAutoComplete.vue +++ b/web/src/components/MyAutoComplete.vue @@ -1,3 +1,10 @@ +