Nightingale Versions Save

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.

v7.0.0-beta.2.0.1

1 week ago

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

1 week ago

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: https://github.com/ccfos/nightingale/compare/v7.0.0-beta.1...v7.0.0-beta.2

v7.0.0-beta.1

1 month ago

What's Changed

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

Full Changelog: https://github.com/ccfos/nightingale/compare/v7.0.0-beta.0...v7.0.0-beta.1

v7.0.0-beta.0

1 month ago

What's Changed

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

New Contributors

Full Changelog: https://github.com/ccfos/nightingale/compare/v6.7.2...v7.0.0-beta.0

v6.7.3

2 months ago

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: https://github.com/ccfos/nightingale/compare/v6.7.2...v6.7.3

v6.7.2

3 months ago

What's Changed

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: https://github.com/ccfos/nightingale/compare/v6.6.1...v6.7.2

v6.7.1

3 months ago

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: https://github.com/ccfos/nightingale/compare/v6.6.1...v6.7.1

v6.7.0

3 months ago

What's Changed

  • feat: Support for viewing richer machine meta information (categraf needs to be upgraded to version v0.3.42)
  • feat: Support for setting heartbeats updated with ident information extracted from specified time-series metrics
  • feat: Enhanced self-protection capability, support for discarding monitoring data based on specified labels
  • feat: Alarm notifications, support for more template functions
  • feat: Dashboard table graph aggregation dimension mode supports sorting based on query conditions
  • feat: Alarm rule Prometheus source adds query preview feature
  • perf: PromQL input box supports autocomplete hints for dashboard variables, adapted to global variable syntax like $_interval
  • perf: Dashboard variable values updated, recalculating repeat panels no longer requires refreshing the page
  • perf: Local cache for dashboard theme state
  • perf: Elasticsearch real-time query date field default value optimization, defaults to the first field of date type
  • perf: Added sorting function to the name and update time columns of alarm rules and recording rules
  • refactor: Menu adjustment, moving metrics and logs queries under the dashboard
  • refactor: Alarm rule additional information key changed from Chinese to English
  • refactor: Dashboard Elasticsearch source's variable definition generated DSL no longer adds .keyword to field
  • fix: Fixed the issue of no data query when switching from all nodes to a specific node in the machine list
  • fix: Fixed the issue of the page crashing after entering illegal characters in the dashboard variable regex filter input box
  • fix: After renaming the business group, the business group in alarm events was not updated in time

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 &

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

New Contributors

Full Changelog: https://github.com/ccfos/nightingale/compare/v6.6.1...v6.7.0

v6.6.1

4 months ago

What's Changed

  • fix: user login

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: https://github.com/ccfos/nightingale/compare/v6.5.0...v6.6.0

v6.6.0

4 months ago

What's Changed

  • feat: Enhanced business group and team tree structure display, supporting selection of parent nodes to query resources corresponding to all leaf nodes.
  • feat: Added bar charts to the dashboard.
  • feat: Dashboard enhancements with tooltip information and zoom behavior settings, supporting shared tooltips across all time series charts and updating the global time range upon zooming in time series charts.
  • feat: Time series charts on the dashboard now include a Legend click behavior setting, allowing items to be shown or hidden with a single click.
  • feat: Added site settings page, supporting customization of the homepage URL and display modes for business groups and teams.
  • feat: Dashboard time series charts now support dual Y-axes.
  • feat: Historical and active alarm events now support querying for a specified time.
  • feat: Remote write functionality with support for configuring multiple addresses; on failure with the first address, it automatically retries the next until successful.
  • perf: Dashboard charts adapted to non-time series data.
  • perf: Changed the default transparency of the dashboard time series chart lines from 0.5 to 0.
  • perf: Adjusted immediate query parameters for Elasticsearch log searches to obtain the actual number of log entries. @yansuan
  • perf: Updated the default font to Helvetica Neue in the English version.
  • fix: Fixed an issue where exiting the dashboard details page caused abnormal display of the browser tab title.
  • fix: Fixed a crash issue caused by truncating results exceeding the limit (10000) in Prometheus immediate queries.
  • style: Unified the AccessTokenKey variable. @springrain
  • docs: i18n updates.
  • docs: Added manual table structure update migrate.sql.

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: https://github.com/ccfos/nightingale/compare/v6.5.0...v6.6.0