v5.8.0
版本发布时间: 2022-05-21 17:54:06
ccfos/nightingale最新发布版本:v7.4.1(2024-09-25 15:15:14)
- Feat: Update target's cluster field when clustername modified in server.conf
- Feat: Add wait tool for docker-compose to improve startup success rate
- Feat: Use alert_rule_note as template and support prometheus style variables
- Feat: Support new dashboard. it requires manual dashboard migration
- Feat: Add some table columns to support the algorithm alarm function that may be developed in the future
how to upgrade:
- backup your custom configurations
- wget tarball, untar, replace files
- modify config files for your env
- execute the sql commands
- restart n9e-webapi and n9e-server
- migrate dashboard on page /help/migrate, very important !!!
CREATE TABLE `board` (
`id` bigint unsigned not null auto_increment,
`group_id` bigint not null default 0 comment 'busi group id',
`name` varchar(191) not null,
`tags` varchar(255) not null comment 'split by space',
`create_at` bigint not null default 0,
`create_by` varchar(64) not null default '',
`update_at` bigint not null default 0,
`update_by` varchar(64) not null default '',
PRIMARY KEY (`id`),
UNIQUE KEY (`group_id`, `name`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
CREATE TABLE `board_payload` (
`id` bigint unsigned not null comment 'dashboard id',
`payload` mediumtext not null,
UNIQUE KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
alter table alert_rule add column `prod` varchar(255) not null default '' after note;
alter table alert_rule add column `algorithm` varchar(255) not null default '' after prod;
alter table alert_rule add column `algo_params` varchar(255) after algorithm;
alter table alert_rule add column `delay` int not null default 0 after algo_params;
alter table alert_cur_event add column `rule_prod` varchar(255) not null default '' after rule_note;
alter table alert_cur_event add column `rule_algo` varchar(255) not null default '' after rule_prod;
alter table alert_his_event add column `rule_prod` varchar(255) not null default '' after rule_note;
alter table alert_his_event add column `rule_algo` varchar(255) not null default '' after rule_prod;
alter table alert_cur_event modify column rule_note varchar(2048) not null default 'alert rule note';
alter table alert_his_event modify column rule_note varchar(2048) not null default 'alert rule note';
alter table alert_rule modify column note varchar(1024) not null default '';
1、 n9e-5.8.0.tar.gz 16.17MB