feat(monitor): get today alerting resource info

1.提供接口获取当前时间发生报警的资源统计
This commit is contained in:
zhaoxiangchun
2020-12-31 20:06:01 +08:00
parent 894835907c
commit 376d18e5eb
3 changed files with 59 additions and 0 deletions
+1
View File
@@ -10,4 +10,5 @@ func init() {
cmd := shell.NewResourceCmd(modules.AlertRecordManager)
cmd.List(new(options.AlertRecordListOptions))
cmd.Show(new(options.AlertRecordShowOptions))
cmd.Get("", new(options.AlertRecordTotalOptions))
}