Commit Graph

53 Commits

Author SHA1 Message Date
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
silenceqi 7db9344bad
fix: lint eror (#82) 2025-01-16 11:11:53 +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
silenceqi 8a27cd4389
fix: unit tests (#69)
* fix: unit tests

* chore: update release notes
2025-01-04 18:30:48 +08:00
Medcl f43e453c7f
chore: update license header (#14)
Co-authored-by: Hardy <luohoufu@163.com>
2024-12-02 23:24:44 +08:00
liugq 522a5361a2 add reference channel id to alerting history 2023-08-22 09:04:17 +08:00
liugq 9e6a1019fe add batch operation api 2023-08-18 16:01:28 +08:00
liugq d7578a2743 add tags, category field 2023-08-16 10:02:48 +08:00
liugq 60210619ca add alerting template variable min, max 2023-08-09 18:23:31 +08:00
liugq ceb5d39b0d support email content-type 2023-08-04 22:06:02 +08:00
liugq 1ce2639903 add event_enabled field to recovery_notification_config 2023-07-27 16:22:09 +08:00
liugq 3f5beb7c9f add enabled field to channel 2023-07-27 15:15:15 +08:00
liugq e6d08bc128 rename recovery_notification_config.channels to recovery_notification_config.normal 2023-07-27 10:29:02 +08:00
liugq 7f36831998 support reference channel 2023-07-25 10:55:17 +08:00
liugq 63cacee1a7 add email channel 2023-07-12 14:55:42 +08:00
liugq 0f4bb211d5 add alert recovery notification 2023-07-06 14:20:08 +08:00
liugq 1fe5ace58d optimize map label api 2023-06-19 07:21:22 +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 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 49e6e27d3d update group data struct 2022-07-07 21:25:45 +08:00
liugq 14f1f0ed65 regist channel schema 2022-07-04 16:36:36 +08:00
liugq 058db6b945 update mapping for channel 2022-07-04 15:42:21 +08:00
liugq bfaca8823d add template func add,sub, div, mul 2022-06-23 12:22:04 +08:00
liugq e6e5c9f502 update alert message ignored api 2022-06-10 15:12:04 +08:00
liugq e13a06a31a fixed alerting bug 2022-06-02 18:39:43 +08:00
liugq e9fdb7ab22 add alert nodata status 2022-05-27 18:35:57 +08:00
liugq 8d7ecd1fc3 copy rule name to alert record 2022-05-25 20:35:20 +08:00
liugq f39ddacb0f add rule name 2022-05-25 17:39:35 +08:00
liugq 9f9ed6894f update alerting api 2022-05-23 11:43:50 +08:00
liugq 5ef6bc1965 update alert api 2022-05-22 14:50:30 +08:00
liugq 01de0fc42c update alerting api 2022-05-19 11:17:07 +08:00
liugq 3aaedf5743 update alert api 2022-05-18 21:08:53 +08:00
liugq a7d694cd12 update alert api 2022-05-18 18:28:06 +08:00
liugq b9de7b67a4 update alert api 2022-05-18 15:05:07 +08:00
liugq d63147a2ab copy channel name and type to execution result 2022-05-13 16:03:59 +08:00
liugq 8926460150 update alerting api 2022-05-13 12:27:06 +08:00
liugq 9a4456be59 add template parameters 2022-05-11 11:55:41 +08:00
liugq 9e254de3e4 add alert test api 2022-05-09 20:40:43 +08:00
liugq 5a3fcb2033 add alert stats api 2022-04-29 17:47:33 +08:00
liugq 2461773428 update rule expression 2022-04-27 15:31:20 +08:00
liugq 6ac22f53a3 update acknowledge api 2022-04-27 11:39:47 +08:00
liugq 162cf120c9 update alert api 2022-04-19 18:38:13 +08:00
liugq e1d85bc4f3 update alerting api 2022-04-18 09:42:44 +08:00
liugq d07d2783d7 add alert rule api 2022-04-13 15:51:11 +08:00
liugq e7b63bd23f new alert 2022-04-12 21:44:43 +08:00
liugq 220d990953 add aterting overview and sync cluster id 2021-09-28 09:40:29 +08:00