-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 Optimize rule template supported application to alarm rules
- Loading branch information
Showing
10 changed files
with
216 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
use watchalert; | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('Node', '服务器节点监控指标'); | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('ApiSix', 'APISix网关监控指标'); | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('Elasticsearch', 'Elasticsearch监控告警指标'); | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('Kafka', 'Kafka监控告警指标'); | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('Kubernetes', 'Kubernetes监控告警指标'); | ||
INSERT ignore INTO `rule_template_groups` (`name`, `description`) VALUES ('Docker', 'Docker监控告警指标'); | ||
INSERT ignore INTO watchalert.rule_template_groups (name,`number`,description,`type`) VALUES | ||
('APISIX',0,'APISIX指标监控','Metrics'), | ||
('APISIX日志监控',0,'APISIX日志监控','Logs'), | ||
('Docker',0,'Docker容器监控','Metrics'), | ||
('ElasticSearch',0,'ElasticSearch资源监控','Metrics'), | ||
('ETCD',0,'ETCD','Metrics'), | ||
('Jaeger',0,'Jaeger链路监控','Traces'), | ||
('Kafka',0,'Kafka监控','Metrics'), | ||
('Kubernetes',0,'Kubernetes事件监控','Events'), | ||
('KubernetesMetric',0,'Kubernetes指标监控','Metrics'), | ||
('MongoDB',0,'MongoDB监控','Metrics'); | ||
INSERT ignore INTO watchalert.rule_template_groups (name,`number`,description,`type`) VALUES | ||
('MySQL',0,'MySQL资源监控','Metrics'), | ||
('Node节点监控',0,'Node服务器监控','Metrics'), | ||
('Redis',0,'Redis资源监控','Metrics'), | ||
('RocketMQ',0,'RocketMQ监控','Metrics'); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters