Skip to content

Commit

Permalink
feat(backend): 自定义key过滤策略问题修复 close TencentBlueKing#1614
Browse files Browse the repository at this point in the history
  • Loading branch information
Myfatguy11 committed Nov 1, 2023
1 parent 0beba59 commit fb9747c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dbm-ui/backend/db_monitor/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,16 @@ def validate(self, attrs):

class Meta:
model = MonitorPolicy
fields = ["name", "bk_biz_id", "parent_id", "targets", "test_rules", "notify_rules", "notify_groups"]
fields = [
"name",
"bk_biz_id",
"parent_id",
"targets",
"test_rules",
"notify_rules",
"notify_groups",
"custom_conditions",
]


class MonitorPolicyEmptySerializer(serializers.Serializer):
Expand Down

0 comments on commit fb9747c

Please sign in to comment.