Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3f7be9aee3
!26 Upgrade anteater version to 1.1.0
From: @li-zhenxing2022 
Reviewed-by: @Vchanger 
Signed-off-by: @Vchanger
2023-08-31 07:26:39 +00:00
lizhenxing11
39096029cc Upgrade anteater version to 1.1.0 2023-08-31 15:16:09 +08:00
openeuler-ci-bot
06aed28a75
!25 [sync] PR-22: eliminate 'Failed to try-restart' warning when downgrading to 1.0.1-1
From: @openeuler-sync-bot 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
2023-01-20 08:43:25 +00:00
Zhen Chen
63413e3735 eliminate 'Failed to try-restart' warning when downgrading to 1.0.1-1
(cherry picked from commit 9b5447e0778006e1fcdac53f0a4c94c71f4b29e9)
2023-01-20 16:22:22 +08:00
openeuler-ci-bot
a52e06be8f
!21 [sync] PR-18: fix missing Requires:python3-pyyaml
From: @openeuler-sync-bot 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
2023-01-20 02:33:40 +00:00
Zhen Chen
dffe0c2106 fix missing Requires:python3-pyyaml
(cherry picked from commit 11e821b53a3cef9eab2f520f263096bd0e23b525)
2023-01-20 10:15:19 +08:00
openeuler-ci-bot
ac69cceb66
!17 [sync] PR-14: Model optimization and bugfix
From: @openeuler-sync-bot 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
2023-01-18 06:47:43 +00:00
Zhen Chen
87000c217e Model optimization and bugfix
- fix str2enum bug & data query refactor
- add systemd service for anteater
- remove 'sys-level' config param
- add chinese descriptions
- Update TCP Establish Model & Add Nic Loss Detector
- Add disk throughput detector

(cherry picked from commit f3c17e8c6a619a7803afd89b945ae3f36d17f9b0)
2023-01-17 22:40:53 +08:00
openeuler-ci-bot
e83c1cf9ca
!13 Update to 1.0.1 version
From: @Vchanger 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
2023-01-12 01:11:06 +00:00
Zhen Chen
0a1a3796e9 Update to 1.0.1 version 2023-01-11 13:57:10 +08:00
3 changed files with 47 additions and 8 deletions

Binary file not shown.

BIN
gala-anteater-1.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: gala-anteater
Version: 1.0.0
Version: 1.1.0
Release: 1
Summary: A time-series anomaly detection platform for operating system.
License: MulanPSL2
@ -18,12 +18,13 @@ Abnormal detection module for A-Ops project
Summary: Python3 package of gala-anteater
Requires: python3-APScheduler python3-kafka-python python3-joblib python3-numpy
Requires: python3-pandas python3-requests python3-scikit-learn python3-pytorch
Requires: python3-pyyaml
%description -n python3-gala-anteater
Python3 package of gala-anteater
%prep
%setup -q
%autosetup -n %{name}-%{version} -p1
%build
%py3_build
@ -31,24 +32,39 @@ Python3 package of gala-anteater
%install
%py3_install
%pre
if [ -f "%{_unitdir}/gala-anteater.service" ] ; then
systemctl enable gala-anteater.service || :
fi
%post
%systemd_post gala-anteater.service
%preun
%systemd_preun gala-anteater.service
%postun
if [ -f "%{_unitdir}/gala-anteater.service" ] ; then
%systemd_postun_with_restart gala-anteater.service
fi
%files
%doc README.md
%license LICENSE
%{_bindir}/gala-anteater
%config(noreplace) %{_sysconfdir}/%{name}/config/metricinfo.json
%config(noreplace) %{_sysconfdir}/%{name}/config/gala-anteater.yaml
%config(noreplace) %{_sysconfdir}/%{name}/config/log.settings.ini
%config(noreplace) %{_sysconfdir}/%{name}/config/module/app_sli_rtt.json
%config(noreplace) %{_sysconfdir}/%{name}/config/module/proc_io_latency.json
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_io_latency.json
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_tcp_establish.json
%config(noreplace) %{_sysconfdir}/%{name}/config/module/sys_tcp_transmission.json
%config(noreplace) %{_sysconfdir}/%{name}/module/app_sli_rtt.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/disk_throughput.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/jvm_oom.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/proc_io_latency.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/sys_io_latency.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/sys_nic_loss.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/sys_tcp_establish.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/sys_tcp_transmission_latency.job.json
%config(noreplace) %{_sysconfdir}/%{name}/module/usad_model.job.json
/usr/lib/systemd/system/gala-anteater.service
%files -n python3-gala-anteater
%{python3_sitelib}/anteater/*
@ -56,5 +72,28 @@ Python3 package of gala-anteater
%changelog
* Thu Aug 31 2023 Li Zhenxing <lizhenxing11@huawei.com> - 1.1.0-1
- Upgrade anteater version to 1.1.0
* Fri Jan 20 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-4
- eliminate 'Fail to try-restart' warning when downgrading to 1.0.1-1
* Thu Jan 19 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-3
- fix missing Requires:python3-pyyaml
* Tue Jan 17 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-2
- fix str2enum bug & data query refactor
- add systemd service for anteater
- remove 'sys-level' config param
- add chinese descriptions
- Update TCP Establish Model & Add Nic Loss Detector
- Add disk throughput detector
* Wed Nov 30 2022 Li Zhenxing <lizhenxing11@huawei.com> - 1.0.1-1
- Add sys level anomaly detection and cause inference
* Tue Nov 22 2022 Li Zhenxing <lizhenxing11@huawei.com> - 1.0.0-2
- Updates anomaly detection model and imporves cause inference result
* Sat Nov 12 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-1
- Package init