Commit Graph

97 Commits

Author SHA1 Message Date
hardy ae3b792f7f
fix: build error with basicAuth.Password 2024-11-29 23:08:48 +08:00
root 10c317f07c feat: add audit logs 2024-04-12 06:31:13 +00:00
liugq 9a2898eb2a fix nil pointer (#220)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/220
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-11-03 09:59:25 +08:00
medcl a315c4330d fix build 2023-10-16 17:51:45 +08:00
medcl 3673791467 temp commit 2023-09-16 17:45:33 +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 14f391b58b update widget struct 2023-08-17 11:35:35 +08:00
liugq b349c66b14 add get widget api 2023-08-17 11:10:55 +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 0965256ecc use credential to store email server auth info 2023-07-31 15:12:58 +08:00
liugq a53344871c Merge branch 'master' into alert_optimize 2023-07-27 18:06:59 +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 fae481f790 fix sort metric item null reference 2023-07-21 10:45:21 +08:00
liugq a5e036d62a add email server api 2023-07-12 16:28:31 +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 518028fbdb validate metric sort 2023-07-05 10:51:49 +08:00
liugq cc25b07439 insight support terms top by sorted sub metric 2023-07-03 16:09:22 +08:00
liugq 1fe5ace58d optimize map label api 2023-06-19 07:21:22 +08:00
liugq 32ed24cee0 add render label template api 2023-06-16 17:30:11 +08:00
liugq edab287f40 adjust the grouping structure 2023-06-12 17:09:20 +08:00
liugq df4de53d29 auto detect time agg location 2023-06-08 12:53:14 +08:00
Kassian Sun 09ba88c411 [migration] get instance from scheduler, initialize instance automatically 2023-05-30 11:41:53 +08:00
Kassian Sun 7e79c509b2 [comparison] initial implementation
- handle new task types: cluster_comparison, index_comparison
- handle new pipeline tasks: dump_hash, index_diff
- split common task APIs
- add cluster_comparison task creation API
- optimize & clean migration codes
2023-05-17 15:43:34 +08:00
liugq c8b9adfdf1 fixed dashboard mapping 2023-05-08 16:33:28 +08:00
liugq c37380c009 move insight model from framework to console 2023-05-08 16:23:36 +08:00
Kassian Sun b1d3e67954 [migration] index migration skip retrying scroll if possible 2023-04-24 14:22:40 +08:00
liugq 9e8422c7f5 add is_fixed field of layout model 2023-04-19 16:01:33 +08:00
liugq 3fafe39b0d add alerting notification 2023-04-06 16:16:44 +08:00
Kassian Sun 8c623870e3 [notification] support search by keyword 2023-04-06 11:02:34 +08:00
Kassian Sun c3a1d418d5 [notification] update enum & list API 2023-04-04 10:18:45 +08:00
sunjiacheng 8fddcdaf09 [notification] add /notification/read, add message_type (#47)
[notification] add /notification/read, add message_type

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-04-02 15:02:30 +08:00
sunjiacheng 55ac534b02 [api] add list notification api (#35)
[api] add list notification api

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-authored-by: medcl <m@medcl.net>
Co-authored-by: silenceqi <silenceqi@infini.ltd>
2023-04-01 18:52:02 +08:00
liugq f187bbe499 add field type and reserved 2023-03-29 11:37:16 +08:00
sunjiacheng 69cf1d67a9 migration_v2 (#38)
bulk write after docs was scrolled complete

update default config with migration dispatcher

add bulk parameter idle_timeout_in_seconds, slice_size

clear queue before creating pipeline

check instance available when task state is running

add check_instance_available config for migration dispatcher

get migration task progress info by index_name_unique(index_name+doctype)

get instance list only by gateway

get migration task progress info from es and instance pipeline context

rewrite logic of handling running migration major task

calc complete time in api getDataMigrationTaskOfIndex

init

Co-authored-by: liugq <silenceqi@hotmail.com>
2023-03-28 17:54:35 +08:00
liugq 5637c65977 add view layout api 2023-02-24 19:32:10 +08:00
medcl 02adb4d121 refactoring pipelines 2023-01-27 12:09:09 +08:00
liugq 8977808d30 init migration 2022-10-14 16:55:48 +08:00
liugq fcf6fab9b6 refactor gateway proxy request api 2022-08-19 10:43:24 +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