feat(log):添加日志硬删除按钮,防止频繁错误影响数据库
This commit is contained in:
1 parent
3a6a71b9e7
commit
a24f9d29db
13 files changed
+157
-6
No files matched your search
@@ -22,3 +22,6 @@ func (c *ControllerV1) ErrorLogBatchResolve(ctx context.Context, req *v1.ErrorLo
|
||||
func (c *ControllerV1) ErrorLogStats(ctx context.Context, req *v1.ErrorLogStatsReq) (res *v1.ErrorLogStatsRes, err error) {
|
||||
return service.Admin().ErrorLogStats(ctx, req)
|
||||
}
|
||||
func (c *ControllerV1) ErrorLogClear(ctx context.Context, req *v1.ErrorLogClearReq) (res *v1.ErrorLogClearRes, err error) {
|
||||
return service.Admin().ErrorLogClear(ctx, req)
|
||||
}
|
||||
@@ -67,3 +67,6 @@ func (c *ControllerV1) MonitorModelPerformance(ctx context.Context, req *v1.Moni
|
||||
func (c *ControllerV1) MonitorDispatch(ctx context.Context, req *v1.MonitorDispatchReq) (res *v1.MonitorDispatchRes, err error) {
|
||||
return service.Monitor().Dispatch(ctx, req)
|
||||
}
|
||||
func (c *ControllerV1) AlertEventClear(ctx context.Context, req *v1.AlertEventClearReq) (res *v1.AlertEventClearRes, err error) {
|
||||
return service.Monitor().AlertEventClear(ctx, req)
|
||||
}
|
||||
Reference in new issue
Block a user