Commit Graph

105 Commits

Author SHA1 Message Date
silenceqi b8138de666
feat: include bucket conditions information in rule detail API response (#125) 2025-02-13 16:20:44 +08:00
silenceqi f910203599
feat: support alerts based on bucket diff state (#119)
* feat: support alerts based on bucket diff status

* fix: correct document count calculation

* fix: empty param `event_id `

* fix: removing first and last time bucket

* fix: removing first and last time bucket

* chore: update bucket diff algorithm for improved accuracy

* refactor: optimize bucket diff algorithm

* feat: trigger bucket diff content change alert using expression

* feat: include bucket diff type in alert message API response

* chore: update release notes

* feat: add alert rule template to detect cluster metrics collection anomaly

* chore: update release notes
2025-02-12 17:32:27 +08:00
Hardy 8da176bea8
chore: code format (#72)
* chore: code format

* chore: remove fetch-depth

* chore: add format and lint

* chore: add pr_check

* fix: lint with config

* chore: this pr only unit test

* fix: code format error
2025-01-14 14:29:31 +08:00
Medcl f43e453c7f
chore: update license header (#14)
Co-authored-by: Hardy <luohoufu@163.com>
2024-12-02 23:24:44 +08:00
hardy a936a8fa7c
chore: change to framework main branch and reflactor the dependcy 2024-12-01 21:36:06 +08:00
medcl 8cbd35ed0a chore: safety update queue lables 2024-11-10 16:04:22 +08:00
liugq d738d1985e remove default time filter with alert message search api 2023-08-31 15:25:45 +08:00
liugq 16b18e3ca5 return notification error info 2023-08-30 20:05:16 +08:00
liugq 589303cee4 add rule name to activity info 2023-08-30 10:38:42 +08:00
liugq 74415b97e7 get event message list with default order by updated 2023-08-29 16:00:44 +08:00
liugq 6bbce21258 add batch enable channel api 2023-08-28 16:20:42 +08:00
liugq f767ffa39a return notification info in rule detail api 2023-08-25 16:27:26 +08:00
liugq 174126fa10 fix wrong channel name 2023-08-21 18:03:23 +08:00
liugq 2a1df9743e add rule batch delete api 2023-08-18 17:51:18 +08:00
liugq 9e6a1019fe add batch operation api 2023-08-18 16:01:28 +08:00
liugq 47733e63c8 calc hit condition 2023-08-17 10:17:30 +08:00
liugq d7578a2743 add tags, category field 2023-08-16 10:02:48 +08:00
liugq 4cc69c8e53 add alert template function md_to_html 2023-08-08 11:32:01 +08:00
liugq e2752d6354 add channel test message variable 2023-08-07 16:11:37 +08:00
liugq f22c5cb380 update test message 2023-08-06 16:09:35 +08:00
liugq ad440995e9 update rule test message api 2023-08-06 09:57:11 +08:00
liugq d7f04395fd rewrite alert channel search api 2023-08-05 18:15:56 +08:00
liugq 90dc208fb7 fix resolving env variables with sending test alert channel message 2023-08-05 17:10:33 +08:00
liugq f4bf4fcb18 check whether it is referenced or not before delete channel 2023-08-05 11:33:44 +08:00
liugq 5274657f03 update test message subject 2023-08-04 14:47:41 +08:00
liugq fcf0179335 default to enabled channel of old rule data 2023-07-28 18:16:46 +08:00
liugq d42c05c8fb adapter old alert rule data struct 2023-07-28 17:06:07 +08:00
liugq d6d1013e0a add test api to send channel message 2023-07-26 17:54:42 +08:00
liugq 1fe5ace58d optimize map label api 2023-06-19 07:21:22 +08:00
liugq 8cc4049b0c insight and alert rule metric support transform cluster id to cluster name 2023-06-14 18:21:41 +08:00
liugq c37380c009 move insight model from framework to console 2023-05-08 16:23:36 +08:00
liugq 3fafe39b0d add alerting notification 2023-04-06 16:16:44 +08:00
liugq be533cd609 add resource_id 2023-04-04 11:57:30 +08:00
liugq 272f29403d fix getting alerting rule 404 2023-04-03 18:05:27 +08:00
liugq bc024bcfce filter empty group of alerting rule 2023-03-22 10:46:26 +08:00
sunjiacheng fc8a47373a [build] fix src/* imports (#27)
[build] fix src/* imports

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-02-21 21:48:20 +08:00
liugq e50f273cda fixed error of getting detail info of alert history 2023-01-06 17:49:52 +08:00
liugq b93fb2f3c2 refactoring orm.Delete 2022-12-13 14:26:40 +08:00
liugq c17359adb3 add orm.Context 2022-12-08 20:48:59 +08:00
liugq b88ec94082 add param refresh to method orm.save 2022-12-08 19:12:07 +08:00
medcl 1ccfdb1abb add setup module to console 2022-10-22 18:40:52 +08:00
liugq 8741742ec7 update elastic count api 2022-10-14 21:43:37 +08:00
liugq 0f1074ee60 rename severity to priority 2022-07-13 09:22:31 +08:00
liugq 6cea3bcaf7 rename severity to priority 2022-07-12 18:50:12 +08:00
liugq 62d10346cc rename severity to priority 2022-07-12 16:35:20 +08:00
liugq a7cc47ec0b update alert severity 2022-07-11 14:47:23 +08:00
liugq 7864a482b7 update metric data struct 2022-07-08 14:36:27 +08:00
liugq 29223f50a2 change filter agg to top agg 2022-07-07 14:10:34 +08:00
medcl ecb2d8a233 update type 2022-07-03 18:40:03 +08:00
liugq 903a058b66 fixed alert metric format 2022-06-29 10:09:36 +08:00