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
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
ca546bd503
fix: wrong alerting time range
2024-05-21 16:09:07 +08:00
liugq
51728a9959
fix alerting notification
2023-12-21 15:44:24 +08:00
liugq
d000672ffd
start time should minus 60 sencond ( #214 )
...
Reviewed-on: https://git.infini.ltd/infini/console/pulls/214
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-11-02 16:11:14 +08:00
liugq
adf642581e
add 60 seconds before and after the alert time ( #213 )
...
Reviewed-on: https://git.infini.ltd/infini/console/pulls/213
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-11-02 11:37:20 +08:00
liugq
4093fcb3c1
fix event message id is empty in notification
2023-09-01 10:31:43 +08:00
liugq
a318284075
change event id from alert id to event message id
2023-08-31 10:47:37 +08:00
liugq
74415b97e7
get event message list with default order by updated
2023-08-29 16:00:44 +08:00
liugq
e9ac60b217
clear last notification time after alerting recovered
2023-08-22 16:28:52 +08:00
liugq
522a5361a2
add reference channel id to alerting history
2023-08-22 09:04:17 +08:00
liugq
174126fa10
fix wrong channel name
2023-08-21 18:03:23 +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
8afc1f3951
add parameter to control whether raise error or not when global channel is not enabled
2023-08-10 16:55:23 +08:00
liugq
ba99e26a3a
format min, max to adapter frontend
2023-08-09 19:06:08 +08:00
liugq
60210619ca
add alerting template variable min, max
2023-08-09 18:23:31 +08:00
liugq
3ad0abdd5f
set default value to env variable INFINI_CONSOLE_ENDPOINT
2023-08-08 17:53:23 +08:00
liugq
2f0864f685
fix nil pointer refenerce when calc duration
2023-08-08 16:25:21 +08:00
liugq
754693c91b
add alert template variable trigger_at , duration
2023-08-07 15:40:08 +08:00
liugq
dcb5a6cad0
fix silence period not work when there is a channel throw error
2023-08-07 13:04:31 +08:00
liugq
bc27aafd7e
fix wrong template variable message with sending test rule message
2023-08-06 16:39:30 +08:00
liugq
ad440995e9
update rule test message api
2023-08-06 09:57:11 +08:00
liugq
fcf0179335
default to enabled channel of old rule data
2023-07-28 18:16:46 +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
d6d1013e0a
add test api to send channel message
2023-07-26 17:54:42 +08:00
liugq
4223bd052d
refresh email server pipeline when config change
2023-07-26 15:16:16 +08:00
liugq
7f36831998
support reference channel
2023-07-25 10:55:17 +08:00
liugq
0f4bb211d5
add alert recovery notification
2023-07-06 14:20:08 +08:00
liugq
ba9fbd94bb
support refer env variables in alert template
2023-05-17 12:14:51 +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
2c8ee843f1
refactoring elastic.GetDateHistogramIntervalField
2023-03-02 20:54:21 +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
523004b2d2
fix nil version during setup
2022-10-25 14:42:06 +08:00
liugq
c314e44b34
fixed date histogram agg search error
2022-08-10 18:58:13 +08:00
liugq
df1156fd92
rename agg rate to derivative
2022-07-21 13:55:53 +08:00
liugq
4cf91d7a40
fixed agg rate bug
2022-07-19 09:06:12 +08:00
liugq
a3bf7a16ad
fixed agg rate bug
2022-07-18 20:25:51 +08:00
liugq
efb57041e5
update message priority after rule changed
2022-07-13 11:24:38 +08:00
liugq
a3d8e0bfd1
remove wildcard rule when read init rule list
2022-07-13 10:39:56 +08:00
liugq
6b5178cb6f
rename severity to priority
2022-07-13 09:57:34 +08:00
liugq
292a342bdc
rename severity to priority
2022-07-13 09:38:20 +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