fix(monitor): other servier create alert add used_by param as a agreement

1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
This commit is contained in:
--global
2020-12-22 16:10:31 +08:00
parent 159c1bcb89
commit 7526604501
+1
View File
@@ -117,6 +117,7 @@ type AlertCreateInput struct {
NoDataState string `json:"no_data_state"`
// 报警执行错误将当前报警状态设置为对应的状态
ExecutionErrorState string `json:"execution_error_state"`
UsedBy string `json:"used_by"`
}
type AlertUpdateInput struct {