• 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:

  1. backup your custom configurations
  2. wget tarball, untar, replace files
  3. modify config files for your env
  4. execute the sql commands
  5. restart n9e-webapi and n9e-server
  6. 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 '';

项目简介

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.

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/didi/nightingale

发行版本 122

v6.1.0

全部发行版

贡献者 60

全部贡献者

开发语言

  • Go 95.6 %
  • Python 2.8 %
  • Smarty 1.6 %
  • Shell 0.1 %