Zexi Li
2327bbee3b
fix(monitor): not depend taskman to execute async task ( #15066 )
2022-09-27 21:15:09 +08:00
zhaoxiangchun
b8bdcb0774
fix(monitor): fix monitor slow query
...
1. 使用apihelper 增量查询监控数据
2. 通过apihelper中set进行对应的资源过滤
2021-08-20 21:39:07 +08:00
Zexi Li
6ca9ef3e45
Merge pull request #11645 from zhaoxiangchun/feature/zxc-cloudmon-master
...
feat(cloudmon): add cloudmon component
2021-07-20 10:01:51 +08:00
zhaoxiangchun
8fa4e577dd
feat(cloudmon): add cloudmon component
2021-07-16 12:20:52 +08:00
zhaoxiangchun
0a7c587117
feat(monitor): monitor alertRecord support set shield
...
1.报警记录支持设置屏蔽时间
2.报警记录展示重构
3.报警通知中过滤已经设置屏蔽的资源
2021-07-13 20:14:39 +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
Qu Xuan
7b845d17c7
fix(common): dump task info when stucking
2021-04-26 10:45:38 +08:00
--global
c39e6778e6
feat(monitor): add global alertrecord
...
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:21:39 +08:00
zhaoxiangchun
ad0c063fb9
chore(monitor): delete suggestion files
...
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:23 +08:00
zhaoxiangchun
dcdf3a1281
fix(monitor): modify monitor serviceType in StartService()
...
1.修改monitor服务在service代码中注册的serviceType:
alerter ===> monitor
2020-11-25 20:29:49 +08:00
zhaoxiangchun
2bae6c0bb6
suggestAlert feature:
...
1.支持由建议列表忽略一类建议信息
2.建议列表和忽略列表,展示名称的处理。同时后端返回资源名称。
3.优化建议规则的修改。后端支持climc修改周期period和时间范围配置
4.优化建议规则返回describe信息
5.去掉了后端自动对忽略列表的init动作
影响范围: 优化建议规则的展示;建议列表的展示
2020-11-19 11:22:31 +08:00
zhaoxiangchun
d519be9ab1
modify monitor dashboard save:
...
1.panel和dashboard继承scoperesource。通过joint进行关联
2.dashboade 通过details
参数控制是否返回所关联的panel信息。penel新建时需要此逻辑
3.依据scoperesource属性实现查询,创建的逻辑
2020-10-30 12:11:33 +08:00
Zexi Li
d011cbfc87
Merge pull request #8474 from zexi/hotfix/monitor-datasource-ep
...
monitor: set default influxdb datasource by endpoint type
2020-10-24 13:06:55 +08:00
Zexi Li
409c67e24b
monitor: set default influxdb datasource by endpoint type
2020-10-23 20:07:15 +08:00
zhaoxiangchun
b4a83dc15e
bugfix:
...
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:20 +08:00
Zexi Li
31cf935dac
monitor: add alert resource
2020-10-19 22:05:39 +08:00
zhaoxiangchun
c66ea1145d
monitor commonalert bugfix ( #7667 )
...
* 统一监控查询面板保存
* commonalert bugfix
2020-09-01 10:43:35 +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
Qiu Jian
92f05be309
feature: cloudid saml support phase1 -- framework and api
2020-08-18 01:21:56 +08:00
zhaoxiangchun
9214724557
修复统一报警bug
...
1.对系统内置的规则的处理,可以进行正确判断推送消息
2.一些初始化,validate的判断逻辑的修改
2020-07-24 11:06:52 +08:00
zhaoxiangchun
98d2e489ea
增加influxdb的tag 的一些filter
2020-07-04 19:23:40 +08:00
Zexi Li
cdf33052c1
monitor: reduce subscription mysql usage
2020-07-02 17:30:52 +08:00
Zexi Li
7a9662c6f5
monitor: support suggest rule alert config and add snapshot_unused
...
driver
2020-07-01 19:31:50 +08:00
zhaoxiangchun
f20a87a5db
Modify alert structure and inherit scoperesource
2020-06-21 12:18:22 +08:00
zhaoxiangchun
6c66185bd8
统一报警模块
2020-06-21 11:39:23 +08:00
zhaoxiangchun
3f63e4737a
统一监控接口
...
1.通过前端选择measurement等数据完成对influxdb指标的的查询
2.支持同时查询多个query。
2020-06-01 17:01:39 +08:00
zhaoxiangchun
89640938f0
新加diskunused的监控
...
1.suggestsys_const.go 中定义规则和资源列表中涉及到一些常量
2.suggestsysalart.go 1)新增一些列来匹配重用过滤;2)
进行删除相关操作时,通过task处理;
3.driverconfig.go 中包含目前driver中可以共用的函数
4.suggestsysruledrivers.go 调整driver interface 涉及的函数
2020-04-16 16:37:46 +08:00
zhaoxiangchun
a42e9c9462
优化建议功能-未使用的eip
...
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作
deal with comments
gencopyright
climc for SuggestSysRule and SuggestSysAlert
monitor: fix sysrule related models not generated
eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
Qiu Jian
732dcdcb61
feature: system resource domainize
2020-03-27 01:20:29 +08:00
Zexi Li
1b54766c9c
alert notification use joint model
2020-03-04 19:12:48 +08:00
Zexi Li
5645e4e15a
add monitor service
2020-03-02 20:00:08 +08:00