Releases: ccfos/nightingale
v5.0.0-ga-04
新增:告警详情页面可以展示恢复时间
新增:增加飞书告警方式的支持,感谢if-amg
新增:导入的监控大盘如果变量为空,自动设置为第一个
新增:docker-compose环境内置python环境,可以使用docker-compose部署测试微信、钉钉等
新增:告警详情页面支持免登陆查看
新增:即时查询输入框支持回车触发查询
修复:告警恢复时没有更新事件中的规则字段
为了支持展示恢复时间,需要更新表结构:
alter table n9e_v5.alert_his_event add column `recover_time` bigint not null default 0 after trigger_value;
v5.0.0-ga-02
- 修复:没有修改promql,修改了告警规则其他字段,告警事件没有同步反应
- 修复:折线图阈值可能显示超出图表问题
- 修复:编辑业务组的时候,右边名字没更新的问题
- 新增:根据不同的角色展示不同的菜单
- 新增:初始化页面时必须先选cluster
- 新增:业务组中只有一个团队时不允许删除,前端限制
为了实现根据不同的角色展示不同的菜单,修改了权限点的信息,要更新一下n9e_v5数据库中的role_operation表:
delete from role_operation;
insert into `role_operation`(role_name, operation) values('Guest', '/metric/explorer');
insert into `role_operation`(role_name, operation) values('Guest', '/object/explorer');
insert into `role_operation`(role_name, operation) values('Guest', '/dashboards');
insert into `role_operation`(role_name, operation) values('Guest', '/help/version');
insert into `role_operation`(role_name, operation) values('Guest', '/help/contact');
insert into `role_operation`(role_name, operation) values('Standard', '/metric/explorer');
insert into `role_operation`(role_name, operation) values('Standard', '/object/explorer');
insert into `role_operation`(role_name, operation) values('Standard', '/dashboards');
insert into `role_operation`(role_name, operation) values('Standard', '/users');
insert into `role_operation`(role_name, operation) values('Standard', '/user-groups');
insert into `role_operation`(role_name, operation) values('Standard', '/busi-groups');
insert into `role_operation`(role_name, operation) values('Standard', '/targets');
insert into `role_operation`(role_name, operation) values('Standard', '/alert-rules');
insert into `role_operation`(role_name, operation) values('Standard', '/alert-mutes');
insert into `role_operation`(role_name, operation) values('Standard', '/alert-subscribes');
insert into `role_operation`(role_name, operation) values('Standard', '/alert-cur-events');
insert into `role_operation`(role_name, operation) values('Standard', '/alert-his-events');
insert into `role_operation`(role_name, operation) values('Standard', '/job-tpls');
insert into `role_operation`(role_name, operation) values('Standard', '/job-tasks');
insert into `role_operation`(role_name, operation) values('Standard', '/help/version');
insert into `role_operation`(role_name, operation) values('Standard', '/help/contact');
v5.0.0-rc7
更新内容:
1、菜单做了优化调整
2、增加了全量历史告警事件的管理
3、资源分组增加了树形结构的视图
新版本安装包地址
116.85.64.82/n9e-server-5.0.0-rc7.tar.gz
116.85.64.82/n9e-agentd-5.0.0-rc8.tar.gz
如果是第一次安装,忽略以下内容,如果是从旧版本升级,完成安装之后,连接到数据库执行以下sql语句
use n9e;
CREATE TABLE `history_alert_event` (
`id` bigint unsigned not null AUTO_INCREMENT,
`hash_id` varchar(255) not null COMMENT 'rule_id + point_pk',
`rule_id` bigint unsigned not null,
`rule_name` varchar(255) not null,
`rule_note` varchar(512) not null default 'alert rule note',
`res_classpaths` varchar(1024) not null default '' COMMENT 'belong classpaths',
`priority` tinyint(1) not null,
`status` tinyint(1) not null,
`is_prome_pull` tinyint(1) not null,
`is_recovery` tinyint(1) not null,
`history_points` text COMMENT 'metric, history points',
`trigger_time` bigint not null,
`notify_channels` varchar(255) not null default '',
`notify_groups` varchar(255) not null default '',
`notify_users` varchar(255) not null default '',
`runbook_url` varchar(255) default NULL,
`readable_expression` varchar(1024) not null COMMENT 'e.g. mem.bytes.used.percent(all,60s) > 0',
`tags` varchar(1024) not null default '' COMMENT 'merge data_tags rule_tags and res_tags',
PRIMARY KEY (`id`),
KEY `hash_id` (`hash_id`),
KEY `rule_id` (`rule_id`),
KEY `trigger_time` (`trigger_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
alter table mute add column `classpath_prefix` varchar(255) not null default '' comment 'classpath prefix';
v4.0.3
部署方式: https://n9e.didiyun.com/v4/docs/install/binary/
下载地址: http://116.85.64.82/n9e-4.0.3.tar.gz
变更内容: https://github.com/didi/nightingale/blob/master/changelog#L165
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog
v4.0.2
部署方式:https://n9e.didiyun.com/docs/install/binary/
下载地址: http://116.85.64.82/n9e-4.0.2.tar.gz
变更内容: https://github.com/didi/nightingale/blob/master/changelog#L155
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog
v4.0.1
部署方式:https://n9e.didiyun.com/docs/install/binary/
下载地址: http://116.85.64.82/n9e-4.0.1.tar.gz
变更内容: https://github.com/didi/nightingale/blob/master/changelog
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog
v4.0.0
v4介绍及部署方式:https://mp.weixin.qq.com/s/M00g97JyGT0XixmlGJOyGQ
下载地址: http://116.85.64.82/n9e-4.0.0.tar.gz
前端包地址:https://github.com/n9e/fe/releases/tag/v3.5.2
变更内容: https://github.com/didi/nightingale/blob/master/changelog
升级之前记得备份,以防万一。如果是从v3升级,要替换哪些内容见上面的changelog
v3.8.0 - v3封版了
后续v4版本会将服务端合并为一个模块,降低部署和升级成本,兼容v3,可以平滑升级
变更内容: https://github.com/didi/nightingale/blob/master/changelog
下载地址: http://116.85.64.82/n9e-3.8.0.tar.gz
前端包地址:https://github.com/n9e/fe/releases/tag/v3.5.3
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog
v3.7.1
变更内容: https://github.com/didi/nightingale/blob/master/changelog
下载地址: http://116.85.64.82/n9e-3.7.1.tar.gz
前端包地址:https://github.com/n9e/fe/releases/tag/v3.5.1
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog
v3.7.0
变更内容: https://github.com/didi/nightingale/blob/master/changelog
下载地址: http://116.85.64.82/n9e-3.7.0.tar.gz
前端包地址:http://116.85.64.82/pub-3.6.0.tar.gz (前端没有变更)
升级之前记得备份,以防万一。要替换哪些内容见上面的changelog