commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制 2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和 delete操作。 影响范围:消息模版、报警资源数量
Showing
- build/monitor/root/opt/yunion/share/notify_templates/alerter/content@cn/DEFAULT 8 additions, 17 deletions.../yunion/share/notify_templates/alerter/content@cn/DEFAULT
- build/monitor/root/opt/yunion/share/notify_templates/alerter/content@en/DEFAULT 8 additions, 17 deletions.../yunion/share/notify_templates/alerter/content@en/DEFAULT
- pkg/apis/monitor/template.go 4 additions, 3 deletionspkg/apis/monitor/template.go
- pkg/monitor/alerting/eval_context.go 25 additions, 9 deletionspkg/monitor/alerting/eval_context.go
- pkg/monitor/alerting/notifiers/onecloud.go 4 additions, 3 deletionspkg/monitor/alerting/notifiers/onecloud.go
- pkg/monitor/alertresourcedrivers/node.go 9 additions, 2 deletionspkg/monitor/alertresourcedrivers/node.go
- pkg/monitor/models/alertresource.go 45 additions, 0 deletionspkg/monitor/models/alertresource.go
Please register or sign in to comment