Skip to content

Releases: ccfos/nightingale

v7.0.0-beta.5

23 May 09:14
Compare
Choose a tag to compare

What's Changed

  • refactor: recovery event support inhibit by @710leo in #1958
  • refactor: change the task time limit from 1 day to 5 days. by @rayn316 in #1959
  • refactor: compatible prometheus 2.50.0 NewPossibleNonCounterInfo warnings by @resurgence72 in #1939
  • refactor: optimize targets-related interfaces by @Yziyan in #1961
  • docs: merge the metric data from metric.toml into oracle.toml by @shardingHe in #1962

New Contributors

Full Changelog: v7.0.0-beta.4...v7.0.0-beta.5

v7.0.0-beta.4

16 May 08:47
274ca09
Compare
Choose a tag to compare

What's Changed

  • feat: 仪表盘新增机器标识和业务组标识两个类型的变量
  • feat: 仪表盘支持跨业务组克隆
  • feat: LDAP 登录,支持根据 Role Mapping 配置,自动设置人员的角色和所属团队
  • feat: 人员管理添加所属团队、业务组展示,并提供快捷跳转到对应的团队和业务组管理页面
  • refactor: 索引模式页面优化,增加搜索框,数据源和名称添加排序
  • refactor: 团队管理的团队详情显示 ID
  • refactor: 仪表盘和人员管理表格页面优化,支持自定义展示列

Install

See Install Docs

迁移 ibex 服务(v7.0.0-beta.2 以后的版本可忽略,没使用 ibex 可忽略)

  1. 将 ibex 数据库中的数据,迁移到 n9e 的数据库, ${ibex} 为实际使用的ibex数据库名称, ${n9e_v6} 实际使用的夜莺的数据库名称
mysqldump -u username -p ${ibex} > ibex.sql
mysql -u root -p ${n9e_v6} < ibex.sql
  1. 修改 n9e 配置,启用 ibex 功能,将 enable 设置为 true
[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

这里需要注意,如果使用了 n9e-edge,n9e-edge 也需要同步开启 n9e-edge,如果之前没有使用 redis,也需要加下 redis 的配置

[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

[Redis]
Address = "127.0.0.1:6379"
# Password = ""
RedisType = "standalone"
  1. 重新启动 n9e

  2. 检查 n9e 启动端口,如果监听了2个端口 17000 和 20090,表示服务运行正常,已具备故障自愈能力

ss -tlnp|grep n9e
  1. 修改之前 categraf 使用的故障自愈服务端的 ip 和 port,重启 categraf

升级到专业版

  1. 将夜莺升级到 v7 版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v7.0.0-beta.3...v7.0.0-beta.4

v7.0.0-beta.3

10 May 07:49
2090581
Compare
Choose a tag to compare

What's Changed

  • feat: 新增指标视图页面
  • feat: 单点登录配置,敏感信息支持使用加密变量
  • feat: Prometheus 源的即时查询支持使用内置指标,内置上百个promql,无需手写 promql 即可方便地查看监控数据
  • refactor: 一些 TextArea 组件打开 autoSize 高度会自动随着内容撑开
  • refactor: 仪表盘只会在点击全屏后展示关闭说明提示
  • fix: 修复订阅规则多选告警规则时会横向溢出问题
  • fix: 修复 VictoriaMetrics 源的仪表盘变量查询时间范围大于1天时可能存在缓存数据的问题
  • fix: 修复切换账号后本地缓存的 gid 不合法导致查询错误的问题

Install

See Install Docs

迁移 ibex 服务(v7.0.0-beta.2 以后的版本可忽略,没使用 ibex 可忽略)

  1. 将 ibex 数据库中的数据,迁移到 n9e 的数据库, ${ibex} 为实际使用的ibex数据库名称, ${n9e_v6} 实际使用的夜莺的数据库名称
mysqldump -u username -p ${ibex} > ibex.sql
mysql -u root -p ${n9e_v6} < ibex.sql
  1. 修改 n9e 配置,启用 ibex 功能,将 enable 设置为 true
[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

这里需要注意,如果使用了 n9e-edge,n9e-edge 也需要同步开启 n9e-edge,如果之前没有使用 redis,也需要加下 redis 的配置

[Ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

[Redis]
Address = "127.0.0.1:6379"
# Password = ""
RedisType = "standalone"
  1. 重新启动 n9e

  2. 检查 n9e 启动端口,如果监听了2个端口 17000 和 20090,表示服务运行正常,已具备故障自愈能力

ss -tlnp|grep n9e
  1. 修改之前 categraf 使用的故障自愈服务端的 ip 和 port,重启 categraf

升级到专业版

  1. 将夜莺升级到 v7 版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v7.0.0-beta.2...v7.0.0-beta.3

v7.0.0-beta.2.0.1

09 Apr 02:34
Compare
Choose a tag to compare

What's Changed

  • fix: ldap 登录,用户信息同步报错问题

Install

See Install Docs

迁移 ibex 服务(没使用 ibex 可忽略)

  1. 将 ibex 数据库中的数据,迁移到 n9e 的数据库, ${ibex} 为实际使用的ibex数据库名称, ${n9e_v6} 实际使用的夜莺的数据库名称
mysqldump -u username -p ${ibex} > ibex.sql
mysql -u root -p ${n9e_v6} < ibex.sql
  1. 修改 n9e 配置,启用 ibex 功能,将 enable 设置为 true
[ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

这里需要注意,如果使用了 n9e-edge,n9e-edge 也需要同步开启 n9e-edge,如果之前没有使用 redis,也需要加下 redis 的配置

[ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

[Redis]
Address = "127.0.0.1:6379"
# Password = ""
RedisType = "standalone"
  1. 重新启动 n9e

  2. 检查 n9e 启动端口,如果监听了2个端口 17000 和 20090,表示服务运行正常,已具备故障自愈能力

ss -tlnp|grep n9e
  1. 修改之前 categraf 使用的故障自愈服务端的 ip 和 port,重启 categraf

升级到专业版

  1. 将夜莺升级到 v7 版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

v7.0.0-beta.2

07 Apr 11:43
Compare
Choose a tag to compare

What's Changed

  • feat: 集成故障自愈的能力,不需要再单独部署 ibex 模块了
  • refactor: 内置仪表盘和内置规则页面重构
  • refactor: 业务组树组件展示优化,去除连线以及更新图标
  • refactor: 告警规则等表格页面优化,重新组织表格列
  • refactor: 告警规则等编辑表单页面优化,样式优化、底部悬浮固定按钮组等
  • refactor: 告警规则 Prometheus 源的预览功能优化,默认强制补全缺点数据
  • refactor: 导入 grafana 仪表盘优化,解决部分情况下转换后的图表数据源值和变量名不一致问题
  • refactor: 即时查询 Prometheus 源查询按钮和结果添加 loading 效果
  • refactor: 快捷查询的视图列表栏和过滤栏添加拖拽改变宽度和收起展开功能
  • refactor: 删除自愈配置页面
  • docs: 大量文档调整优化
  • fix: 修复初始化阶段设置业务线默认值未生效问题
  • fix: 机器列表页面 offset 和颜色判断前做 abs 处理
  • fix: 将仪表盘指标标签或是日志数据的数字字符串转换为数值,解决部分图表对数值字符串做数学运算时异常问题
  • fix: 修复仪表盘页面刷新数据时变量值会变问题
  • fix: 修复仪表盘 Prometheus 源的 promql 使用 $__range 等时间变量时自定义单个查询条件的时间范围未生效问题
  • fix: 修复仪表盘饼图环图模式统计值的数值和名称内容可能渲染重叠问题
  • fix: cas 用户登录,获取不到用户名问题
  • fix: 部署多个实例时,smtp 更新问题

Install

See Install Docs

迁移 ibex 服务(没使用 ibex 可忽略)

  1. 将 ibex 数据库中的数据,迁移到 n9e 的数据库, ${ibex} 为实际使用的ibex数据库名称, ${n9e_v6} 实际使用的夜莺的数据库名称
mysqldump -u username -p ${ibex} > ibex.sql
mysql -u root -p ${n9e_v6} < ibex.sql
  1. 修改 n9e 配置,启用 ibex 功能,将 enable 设置为 true
[ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

这里需要注意,如果使用了 n9e-edge,n9e-edge 也需要同步开启 n9e-edge,如果之前没有使用 redis,也需要加下 redis 的配置

[ibex]
Enable = true
RPCListen = "0.0.0.0:20090"

[Redis]
Address = "127.0.0.1:6379"
# Password = ""
RedisType = "standalone"
  1. 重新启动 n9e

  2. 检查 n9e 启动端口,如果监听了2个端口 17000 和 20090,表示服务运行正常,已具备故障自愈能力

ss -tlnp|grep n9e
  1. 修改之前 categraf 使用的故障自愈服务端的 ip 和 port,重启 categraf

升级到专业版

  1. 将夜莺升级到 v7 版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v7.0.0-beta.1...v7.0.0-beta.2

v7.0.0-beta.1

25 Feb 06:20
ee61361
Compare
Choose a tag to compare

What's Changed

  • feat: 屏蔽规则添加快捷模板功能
  • feat: 告警事件表格添加 "首次触发时间" 列
  • feat: 订阅规则支持订阅多个告警规则
  • perf: 告警自愈页面优化机器选择,执行历史添加自动刷新功能
  • perf: 机器列表等页面样式优化
  • refactor: 导入内置规则时去除数据源相关设置,解决规则监控类型配置冲突被覆盖问题
  • docs: 一些文案优化
  • fix: 机器失联告警,不产生恢复事件问题
  • fix: 优化告警规则 Prometheus 类型的数据源选择 $all 时无法预览问题

Full Changelog: v7.0.0-beta.0...v7.0.0-beta.1

v7.0.0-beta.0

20 Feb 10:59
Compare
Choose a tag to compare

What's Changed

  • 支持暗黑主题
  • 机器失联边缘模式优化

New Contributors

Full Changelog: v6.7.2...v7.0.0-beta.0

v6.7.3

24 Jan 06:28
Compare
Choose a tag to compare

What's Changed

  • feat: Added value mappings to dashboard time series charts.
  • feat: Support for history records and field suggestions in Elasticsearch real-time query query @yansuan.
  • feat: Added autocomplete functionality to the callback URLs in alert rules.
  • refactor: Adapted dashboard text card charts for dark mode, resolving issues with inability to change color transparency.
  • refactor: Implemented text wrapping in dashboard table chart cells when content overflows.
  • refactor: Set the X-axis range of real-time queries and other time series charts to the query time range.
  • refactor: Changed default chart unit from auto to SI prefixes.
  • fix: Fixed the issue where Elasticsearch index patterns fetched all fields @yansuan.
  • fix: Fixed the issue where the tooltip panel leaks out in the edit panel state after opening a tooltip in the dashboard.
  • fix: timeseries of ident append labels

Install

See Install Docs

Upgrade

See Upgrade Docs

升级到专业版

  1. 将夜莺升级到 v6 正式版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v6.7.2...v6.7.3

v6.7.2

28 Dec 03:48
Compare
Choose a tag to compare

What's Changed

  • docs: add oracle alert rule template by @shardingHe in #1806
  • refactor: optimize oidc get user info by @710leo in #1811
  • fix: according to the IdentMetrics configuration, extract ident heartbeat information from time-series data.

Install

See Install Docs

Upgrade

See Upgrade Docs

升级到专业版

  1. 将夜莺升级到 v6 正式版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v6.6.1...v6.7.2

v6.7.1

25 Dec 10:42
Compare
Choose a tag to compare

What's Changed

fix: Fix the built-in template - collection configuration markdown rendering issue

Install

See Install Docs

Upgrade

See Upgrade Docs

升级到专业版

  1. 将夜莺升级到 v6 正式版本
  2. 下载 专业版 安装包,解压安装包,将 n9e-plus 放到 n9e 二进制所在目录
  3. 停掉 n9e 进程,启动 n9e-plus 即可
pkill n9e && nohup ./n9e-plus &> n9e.log &
  1. 如果想从专业版切回开源版,直接停掉 n9e-plus 进程,启动 n9e 即可
pkill n9e-plus && nohup ./n9e &> n9e.log &

专业版详细介绍见 夜莺专业版

Full Changelog: v6.6.1...v6.7.1