change multicheck default model
This commit is contained in:
parent
9517d36359
commit
8a072bfaa4
34
0001-update-default-model-for-multicheck.patch
Normal file
34
0001-update-default-model-for-multicheck.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 7c959cb4b2683b23832e8a78835b57d8b9ad7bcc Mon Sep 17 00:00:00 2001
|
||||
From: zhu-yuncheng <zhuyuncheng@huawei.com>
|
||||
Date: Wed, 7 Dec 2022 21:43:20 +0800
|
||||
Subject: [PATCH] update default model for multicheck
|
||||
|
||||
---
|
||||
diana/core/rule/model_assign.py | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/diana/core/rule/model_assign.py b/diana/core/rule/model_assign.py
|
||||
index 6868f99..fe24557 100644
|
||||
--- a/diana/core/rule/model_assign.py
|
||||
+++ b/diana/core/rule/model_assign.py
|
||||
@@ -27,12 +27,12 @@ METRIC_MODEL_MAP = {
|
||||
}
|
||||
|
||||
SCENE_MODEL_MAP = {
|
||||
- "default_model": "intelligent-1", # intelligent
|
||||
+ "default_model": "intelligent-for-mysql", # intelligent model for mysql
|
||||
"model_info": {
|
||||
- "big_data": "intelligent-1", # intelligent
|
||||
- "web": "intelligent-1", # intelligent
|
||||
- "edge": "intelligent-1", # intelligent
|
||||
- "cloud": "intelligent-1", # intelligent
|
||||
+ "big_data": "intelligent-for-mysql", # intelligent model for mysql
|
||||
+ "web": "intelligent-for-mysql", # intelligent model for mysql
|
||||
+ "edge": "intelligent-for-mysql", # intelligent model for mysql
|
||||
+ "cloud": "intelligent-for-mysql", # intelligent model for mysql
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
Name: aops-diana
|
||||
Version: v1.1.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: An intelligent abnormal detection framework of aops
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/%{name}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0001: 0001-update-default-model-for-multicheck.patch
|
||||
|
||||
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: aops-vulcanus >= v1.0.0
|
||||
@ -21,7 +23,7 @@ An intelligent abnormal detection framework of aops
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
|
||||
# build for aops-diana
|
||||
@ -44,6 +46,9 @@ An intelligent abnormal detection framework of aops
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 7 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.1.3-2
|
||||
- Change default multicheck model
|
||||
|
||||
* Wed Dec 7 2022 Lostway<luoshengwei@huawei.com> - v1.1.3-1
|
||||
- Bugfix: adjust the input parameters of the app
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user