Commit Graph
26 Commits
Author SHA1 Message Date
Zexi Li 9a9414452b feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:36:02 +08:00
屈轩 f49de8ee88 fix(region): remove useless code (#18014) 2023-09-13 17:32:29 +08:00
Zexi Li c55254d252 fix(monitor): truncated JSONObject of alert model (#16933) 2023-05-05 14:42:53 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Zexi Li ac3b54d7b3 Automated cherry pick of #14979: fix(monitor,region,climc): use commonalert api for scaling policy (#14986)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:34:52 +08:00
Zexi Li ce27f26404 fix(monitor): alert resource not recorverd 2022-09-13 13:44:58 +08:00
Zexi Li e5f01ad535 feat(monitor): VMs of host loadbalance 2022-06-23 00:25:03 +08:00
Qiu Jian 1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qu Xuan fa5d5a6eb9 fix(region): update swagger api 2021-07-27 11:46:31 +08:00
zhaoxiangchun 4ac0042153 feat(monitor) 3.7 add monitor resource overview
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
   init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机

https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 17:46:40 +08:00
zhaoxiangchun 70c9dd397f feat(monitor): meter相关报警内容处理
1. meter 相关单位处理
2. 报警静默配置
3. meter 短信模版
2021-02-02 23:34:17 +08:00
Zexi Li 31cf935dac monitor: add alert resource 2020-10-19 22:05:39 +08:00
zhaoxiangchun c0eae040a8 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 14:50:00 +08:00
zhaoxiangchun f58bca93db common alert bugfix/3.4 2020-09-22 11:36:17 +08:00
Qiu Jian 41f932e381 fix: lock/unlock cleanup 2020-09-15 12:22:38 +08:00
zhaoxiangchun dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息

description api modify:

3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤

* 统一监控功能:

1.模版调整:
 1)修改email template
 2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
 3)简化消息体中的tag信息:name,ip,brand,value

2.增加报警历史记录
 1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +08:00
zhaoxiangchun f20a87a5db Modify alert structure and inherit scoperesource 2020-06-21 12:18:22 +08:00
Yousong Zhou b99157f646 vet: pairs not separated by spaces 2020-05-27 14:35:48 +08:00
Zexi Li 395f2af41d monitor: add paused api 2020-04-01 13:18:37 +08:00
Zexi Li 56976a8b0d monitor: add alert config helper 2020-03-31 16:17:12 +08:00
Qiu Jian 732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qiu Jian 4b311a8264 fix: implements details and list for monitor service 2020-03-06 00:53:20 +08:00
Zexi Li 9d7b47aca1 monitor: fix alert update not work 2020-03-04 21:16:19 +08:00
Zexi Li 1b54766c9c alert notification use joint model 2020-03-04 19:12:48 +08:00
Qiu Jian cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Zexi Li 5645e4e15a add monitor service 2020-03-02 20:00:08 +08:00