zhaoxiangchun
|
64e587f97b
|
feat(monitor): influxQuery add P95 reduce
|
2021-01-14 10:43:07 +08:00 |
|
zhaoxiangchun
|
33975b5c12
|
feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
|
2021-01-13 16:12:10 +08:00 |
|
zhaoxiangchun
|
7988fa1f10
|
fix(monitor): monitor overview throw err
|
2021-01-11 21:24:27 +08:00 |
|
zhaoxiangchun
|
abb4deebba
|
fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
|
2021-01-09 15:33:06 +08:00 |
|
zhaoxiangchun
|
b23519b036
|
fix(monitor,suggestion): order commonalert metric and modify
alertresoruce type value and add suggestion models climc
1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
|
2021-01-06 21:23:21 +08:00 |
|
zhaoxiangchun
|
5d6ffa16fc
|
fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
|
2021-01-04 15:37:31 +08:00 |
|
zhaoxiangchun
|
e8442bea69
|
feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
|
2020-12-31 20:00:19 +08:00 |
|
zhaoxiangchun
|
42a549ad8e
|
fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
|
2020-12-30 15:46:28 +08:00 |
|
--global
|
567fc991cb
|
fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
|
2020-12-28 21:37:27 +08:00 |
|
--global
|
79e6d163d2
|
fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
|
2020-12-28 17:18:54 +08:00 |
|
--global
|
4ac6d48c65
|
fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
|
2020-12-26 09:52:59 +08:00 |
|
--global
|
f408ef0275
|
fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
|
2020-12-23 14:44:11 +08:00 |
|
--global
|
c39e6778e6
|
feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
|
2020-12-22 16:21:39 +08:00 |
|
--global
|
54271b78ad
|
feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func
1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
|
2020-12-18 14:39:02 +08:00 |
|
Zexi Li
|
5e4d0758bd
|
Merge pull request #9439 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): support create nodata alert from web
|
2020-12-16 09:27:14 +08:00 |
|
zhaoxiangchun
|
805ea5c0f5
|
feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
|
2020-12-15 17:17:31 +08:00 |
|
zhaoxiangchun
|
33074ba818
|
feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
bits_sent ==> bps_sent
bits_recv ==> bps_recv
3.对metric中field进行排序
https://bug.yunion.io/zentao/task-view-2358.html
|
2020-12-11 20:16:42 +08:00 |
|
zhaoxiangchun
|
ad0c063fb9
|
chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
|
2020-12-04 19:28:23 +08:00 |
|
zhaoxiangchun
|
df6a2634f7
|
fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
|
2020-12-03 12:59:27 +08:00 |
|
zhaoxiangchun
|
2a7f9ab516
|
fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
|
2020-12-02 11:18:13 +08:00 |
|
zhaoxiangchun
|
73ec2db41b
|
fix(monitor): modify monitor nodata alert matching onecloud host func
|
2020-11-27 19:03:49 +08:00 |
|
Zexi Li
|
0743852fab
|
Merge pull request #8902 from zhaoxiangchun/feature/zxc-nodata-master
feat(monitor): add nodata alert policy
|
2020-11-25 22:02:44 +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
|
e10d9b698e
|
Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-nodata-master
|
2020-11-25 12:06:28 +08:00 |
|
zhaoxiangchun
|
b8c008a8a1
|
fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
|
2020-11-25 12:01:05 +08:00 |
|
zhaoxiangchun
|
91d1f64eff
|
fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
|
2020-11-24 17:45:47 +08:00 |
|
zhaoxiangchun
|
68dfa8a8c8
|
fix(monitor): modify notify alertInfo and alertOk detach resource
1.修复报警信息中>等被转义的问题
2.针对:host_raid.adapter和smart_device.exit_status
只能出现alerting和nodata
两种报警状态。在queryCondition的查询逻辑下,nodata情况也进行detach操作
3.修复报警记录中报警策略翻译异常的问题
|
2020-11-23 21:32:15 +08:00 |
|
zhaoxiangchun
|
4888f7d819
|
feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
|
2020-11-23 10:10:14 +08:00 |
|
Zexi Li
|
4c8bacea0f
|
Merge pull request #8838 from zhaoxiangchun/bugfix/zxc-commonalert
suggestAlert feature:
|
2020-11-19 12:55:16 +08:00 |
|
zhaoxiangchun
|
2bae6c0bb6
|
suggestAlert feature:
1.支持由建议列表忽略一类建议信息
2.建议列表和忽略列表,展示名称的处理。同时后端返回资源名称。
3.优化建议规则的修改。后端支持climc修改周期period和时间范围配置
4.优化建议规则返回describe信息
5.去掉了后端自动对忽略列表的init动作
影响范围: 优化建议规则的展示;建议列表的展示
|
2020-11-19 11:22:31 +08:00 |
|
zhaoxiangchun
|
357dd4e698
|
detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源
影响范围:报警规则的禁用;logger日志服务i18n的日志展示
|
2020-11-18 12:19:34 +08:00 |
|
zhaoxiangchun
|
d02db0e401
|
modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
|
2020-11-16 14:27:17 +08:00 |
|
zhaoxiangchun
|
c39540d5ca
|
commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
delete操作。
影响范围:消息模版、报警资源数量
|
2020-11-14 18:18:25 +08:00 |
|
zhaoxiangchun
|
922874936f
|
suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
|
2020-11-12 21:31:54 +08:00 |
|
Zexi Li
|
f28a196ac4
|
Merge pull request #8703 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
|
2020-11-09 10:44:20 +08:00 |
|
zhaoxiangchun
|
a9c3c5bfdc
|
commonalert bugfix:
1. 报警消息中过滤onecloud信息
2. 报警记录中报警恢复match 信息根据alertingMatches进行过滤处理
|
2020-11-08 17:09:17 +08:00 |
|
zhaoxiangchun
|
0a0b73406d
|
add resource type
1.支持前端通过资源类型进行过滤分类
|
2020-11-05 11:46:14 +08:00 |
|
zhaoxiangchun
|
97ed340387
|
commonalert bugfix
|
2020-11-04 18:17:26 +08:00 |
|
zhaoxiangchun
|
d45c096390
|
modify monitor querycondition:
1.对于策略可以返回多个field value。供策略进行使用
2. 对于1种情况需要在commonalert种设置metadata属性
3. 修改alertresource get driver的判断逻辑
4. 针对host 相关的measurement 默认增加res_type 过滤filter
|
2020-11-04 10:43:47 +08:00 |
|
zhaoxiangchun
|
72b9f2ec77
|
modify go test error
|
2020-11-03 15:22:26 +08:00 |
|
yunion-ci-robot
|
aa1a511c0f
|
Merge pull request #8586 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify monitor dashboard save:
|
2020-11-03 14:28:46 +08:00 |
|
yunion-ci-robot
|
b16e08f315
|
Merge pull request #8611 from zhaoxiangchun/bugfix/zxc-commonalert
deal return error info: tsdb
|
2020-11-02 10:25:47 +08:00 |
|
zhaoxiangchun
|
8df8e6ca26
|
deal return error info: tsdb
|
2020-10-31 23:29:18 +08:00 |
|
Zexi Li
|
3a5bde4a3b
|
monitor: query with signature and support measurement without database
|
2020-10-31 17:17:24 +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 |
|
zhaoxiangchun
|
10b273938d
|
commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
|
2020-10-26 18:40:47 +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
|
06a30edcf8
|
fix: monitor commonalert not detach alert resource
|
2020-10-20 13:19:49 +08:00 |
|