5.11.0
写在前面
这个版本是把一些近期积累的PR统一发版,另外就是把 n9e-server 的心跳换成 DB,同时为未来做准备,未来准备支持在页面上配置 datasource,然后n9e-server和datasource的关联关系在页面上完成
后端更新
- support tpls reload by @xiaoziv in https://github.com/ccfos/nightingale/pull/1104
- use slim base image by @xiaoziv in https://github.com/ccfos/nightingale/pull/1105
- Update docker-compose.yaml by @JellyTony in https://github.com/ccfos/nightingale/pull/1107
- optimize error report by @xiaoziv in https://github.com/ccfos/nightingale/pull/1109
- add ping监控指标中文说明 by @nondevops in https://github.com/ccfos/nightingale/pull/1110
- 增加 aws cloudwatch rds metrics 中文信息 by @mofrom in https://github.com/ccfos/nightingale/pull/1111
- 添加告警规则执行日志 by @bbaobelief in https://github.com/ccfos/nightingale/pull/1112
- improve community governance by @laiwei in https://github.com/ccfos/nightingale/pull/1115
- feat: support handle event service api by @710leo in https://github.com/ccfos/nightingale/pull/1113
- read prom url from database by @UlricQin in https://github.com/ccfos/nightingale/pull/1119
- docs: sync pg init sql by @tanxiao1990 in https://github.com/ccfos/nightingale/pull/1122
- feat: alert rule support cate by @710leo in https://github.com/ccfos/nightingale/pull/1123
- Mgmt server cluster name in web by @UlricQin in https://github.com/ccfos/nightingale/pull/1127
前端更新
- feat: stat 图支持选择值字段(是的,可以展示 label value 了)
- feat: 图表标题、描述、链接设置以及分组标题等支持关联大盘变量值(支持
$var
和${var}
的写法)
- refactor: 折线图标题和内容间距优化
- refactor: 优化图表 query 输入框,解决未输入完成就触发查询导致接口报错问题
- refactor: 优化大盘变量下拉选择框宽度,尽可能完整展示内容
- fix: 修复切换大盘集群后没有更新大盘数据
- fix: 修复表格渲染报错问题 #175
New Contributors
- @JellyTony made their first contribution in https://github.com/ccfos/nightingale/pull/1107
- @nondevops made their first contribution in https://github.com/ccfos/nightingale/pull/1110
- @mofrom made their first contribution in https://github.com/ccfos/nightingale/pull/1111
SQL
alter table alert_rule add column cate varchar(128) not null default '' after group_id;
alter table alert_mute add column cate varchar(128) not null default '' after group_id;
alter table alert_subscribe add column cate varchar(128) not null default '' after group_id;
alter table alert_cur_event add column cate varchar(128) not null default '' after group_id;
alter table alert_his_event add column cate varchar(128) not null default '' after group_id;
CREATE TABLE `alerting_engines`
(
`id` int unsigned NOT NULL AUTO_INCREMENT,
`instance` varchar(128) not null default '' comment 'instance identification, e.g. 10.9.0.9:9090',
`cluster` varchar(128) not null default '' comment 'target reader cluster',
`clock` bigint not null,
PRIMARY KEY (`id`),
UNIQUE KEY (`instance`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
Full Changelog: https://github.com/ccfos/nightingale/compare/v5.10.3...v5.11.0