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
root
10c317f07c
feat: add audit logs
2024-04-12 06:31:13 +00: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
medcl
3673791467
temp commit
2023-09-16 17:45:33 +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
4cc69c8e53
add alert template function md_to_html
2023-08-08 11:32:01 +08:00
liugq
fc2d2a586e
add alert template func str_replace
2023-08-07 21:03:14 +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
9ad513d307
fix missing webhook url
2023-08-07 11:29:17 +08:00
liugq
c9d747d7a4
fix retrieve channel
2023-08-07 07:59:20 +08:00
liugq
c9e68dd533
update retrieve channel logic
2023-08-06 20:55:43 +08:00
liugq
bc27aafd7e
fix wrong template variable message with sending test rule message
2023-08-06 16:39:30 +08:00
liugq
efad6c4a2e
do not write to queue if server_id is empty
2023-08-06 15:22:32 +08:00
liugq
ce0f6316c1
support smtp cc
2023-08-06 11:42:42 +08:00
liugq
569543e5ed
remove type check when retrieve channel
2023-08-06 10:46:40 +08:00
liugq
ad440995e9
update rule test message api
2023-08-06 09:57:11 +08:00
liugq
90dc208fb7
fix resolving env variables with sending test alert channel message
2023-08-05 17:10:33 +08:00
liugq
ceb5d39b0d
support email content-type
2023-08-04 22:06:02 +08:00
liugq
a44f93a14c
update retrieve channel logic
2023-08-04 18:35:22 +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
35b5706767
support single email service with multi email server
2023-07-21 18:24:39 +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
7336ebc208
remove "get_keystore_secret" template func of alert
2023-07-03 14:07:31 +08:00
liugq
64b8d4481b
add template func get_keystore_secret
2023-06-05 15:09:14 +08:00