summaryrefslogtreecommitdiff
path: root/nz-admin/db/2020-11-20.sql
diff options
context:
space:
mode:
Diffstat (limited to 'nz-admin/db/2020-11-20.sql')
-rw-r--r--nz-admin/db/2020-11-20.sql9
1 files changed, 0 insertions, 9 deletions
diff --git a/nz-admin/db/2020-11-20.sql b/nz-admin/db/2020-11-20.sql
deleted file mode 100644
index 5a67f996..00000000
--- a/nz-admin/db/2020-11-20.sql
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * 1. sys_config 增加 alert 导出最大条数限制 param_key = export_max_line
- * 2. sys_config 增加 endpoint 状态采集调度周期设置 param_key = endpoint_query_interval 单位 s
- */
-DELETE from sys_config where param_key = "export_max_line";
-INSERT INTO `sys_config`(`id`, `param_key`, `param_value`, `status`, `remark`) VALUES (NULL, 'export_max_line', '10000', 1, '告警导出最大行数');
-
-DELETE from sys_config where param_key = "endpoint_query_interval";
-INSERT INTO `sys_config`(`id`, `param_key`, `param_value`, `status`, `remark`) VALUES (NULL, 'endpoint_query_interval', '30', 1, 'endpoint 状态采集定时任务周期 单位 s 秒,默认和 prometheus scrape_interval 保持一致');