Commit Graph

488 Commits

Author SHA1 Message Date
liugq 57bf0976f1 add collection search api (#212)
add search api for front component ListView

Reviewed-on: https://git.infini.ltd/infini/console/pulls/212
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-11-01 10:57:53 +08:00
liugq 4b63e81ae1 fix get task worker (#208)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/208
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-10-30 17:17:29 +08:00
medcl 4c8ee4a3e2 Merge branch 'master' into v2 2023-10-24 11:27:34 +08:00
medcl cb9cc545e5 fix incorrect variable name 2023-10-21 00:25:32 +08:00
hardy 7b59e0dc3e
change domain 2023-10-20 13:55:02 +08:00
liugq 3dc47e3b9a remove api /_platform/nodes, reuse search instance api 2023-10-19 20:49:11 +08:00
liugq 5679f3d426 refactor search instance api to support sort and wildcard sarch 2023-10-19 20:49:11 +08:00
liugq f83c0d274f handle initialize setup timeout error 2023-10-19 20:46:44 +08:00
medcl a315c4330d fix build 2023-10-16 17:51:45 +08:00
liugq 12d4a8eef0 return last running task info 2023-10-10 08:59:44 +08:00
liugq 9f60c4685f return workers info of index level 2023-10-09 10:56:22 +08:00
liugq f3569c2701 support restart cluster comparison task 2023-10-09 09:36:50 +08:00
liugq 71ba08d266 refactor getComparisonMajorTaskInfo 2023-10-08 17:46:55 +08:00
liugq 2f45792480 add diff result info and reset total_diff_docs after task restarted 2023-10-08 11:02:39 +08:00
liugq 97731564c1 add name and tags config 2023-10-08 11:00:04 +08:00
liugq a54cb2c9a1 fix nil pointer (#164)
Reviewed-on: https://git.infini.ltd:64443/infini/console/pulls/164
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-09-25 18:09:55 +08:00
liugq d0ab79f47d insight metric support formula template (#158)
only support template variable 'bucket_size_in_second' currently, eg frmula: `a/{{.bucket_size_in_second}}`

Reviewed-on: https://git.infini.ltd:64443/infini/console/pulls/158
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-09-21 16:08:57 +08:00
liugq 6557286bdd migration optimize (#145)
- add task field name and tags

- add index logging level api

- other migration optimize

Reviewed-on: https://git.infini.ltd:64443/infini/console/pulls/145
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-09-19 15:32:50 +08:00
medcl 3673791467 temp commit 2023-09-16 17:45:33 +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 ebfca4b468 Merge branch 'master' into alerting_optmize 2023-08-22 16:33:14 +08:00
liugq e111ad5567 optimize query dsl of overview api 2023-08-22 16:32:02 +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 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 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 ef36af329f fix calc migration task progress info with a large number of sub task 2023-08-14 10:41:17 +08:00
liugq 8e60de8793 refresh email server pipeline after the reference credential updated 2023-08-09 15:17:40 +08:00
liugq 515fd8ad0c fix import alerting rule data bug 2023-08-08 22:45:42 +08:00
liugq 3ad0abdd5f set default value to env variable INFINI_CONSOLE_ENDPOINT 2023-08-08 17:53:23 +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 a5fee144d9 generate email server service with saving password to keystore 2023-08-02 20:35:13 +08:00
liugq cf085fbd1a check gateway instance referenced before delete 2023-08-01 18:30:13 +08:00
liugq cf8122fe15 add export, import api 2023-08-01 15:17:57 +08:00
silenceqi 350549507b Merge pull request 'alert_optimize' (#135) from alert_optimize into master 2023-08-01 15:13:33 +08:00
silenceqi 77a2b9f9ad Merge pull request 'update overview api' (#134) from overview into master 2023-08-01 10:00:49 +08:00
liugq c99fce0ae6 fix get auth info 2023-07-31 17:31:40 +08:00
liugq 3de262f026 handle create email server with manual input auth info 2023-07-31 16:40:58 +08:00
liugq c17a734b17 add get auth info 2023-07-31 15:46:41 +08:00
liugq 0965256ecc use credential to store email server auth info 2023-07-31 15:12:58 +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 ce98378a7c test email server with old password when password is empty and username equals 2023-07-28 16:02:54 +08:00
liugq 3709f5683d remove auth.password in email server search api 2023-07-28 11:43:46 +08:00
liugq a53344871c Merge branch 'master' into alert_optimize 2023-07-27 18:06:59 +08:00
liugq b447cc953e fix calc percent of migration task 2023-07-27 18:03:33 +08:00
liugq 7217c3c636 update overview api 2023-07-26 18:46:06 +08:00
liugq d6d1013e0a add test api to send channel message 2023-07-26 17:54:42 +08:00
liugq 5f2569d999 check whether email server referenced by channel 2023-07-26 16:41:15 +08:00
liugq 4223bd052d refresh email server pipeline when config change 2023-07-26 15:16:16 +08:00
liugq d08c430356 init email server pipeline when start 2023-07-26 15:15:08 +08:00
liugq 7f36831998 support reference channel 2023-07-25 10:55:17 +08:00
medcl ad05f229af refactoring processors, simplicity queue consumation 2023-07-21 18:52:01 +08:00
liugq 35b5706767 support single email service with multi email server 2023-07-21 18:24:39 +08:00
liugq 4ffd8de0a2 fake commit (uncomplete) 2023-07-21 16:17:16 +08:00
liugq 4801650cd5 set pipeline to finish state when there is no tasks handled 2023-07-20 18:48:28 +08:00
liugq f1cb35e57e clear call pipeline module 2023-07-20 12:26:58 +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 518028fbdb validate metric sort 2023-07-05 10:51:49 +08:00
liugq e3ce446f4b Merge branch 'master' into metric_sort 2023-07-04 10:46:29 +08:00
liugq c385f58d66 filter insight api index privilege 2023-07-03 18:54:38 +08:00
liugq cc25b07439 insight support terms top by sorted sub metric 2023-07-03 16:09:22 +08:00
liugq d660255c36 fix wrong group value when terms agg on boolean field 2023-06-28 18:12:18 +08:00
medcl 36c7fb13d5 update username 2023-06-28 15:39:49 +08:00
liugq cf4d96b5e1 adapter template func map_label to lookup 2023-06-27 16:46:35 +08:00
liugq b65cd42d86 throw resolve map_label error 2023-06-25 10:26:19 +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
Kassian Sun bd69c89780 [task_manager] fix auto start 2023-06-16 08:22:45 +08:00
liugq 8cc4049b0c insight and alert rule metric support transform cluster id to cluster name 2023-06-14 18:21:41 +08:00
Kassian Sun ea47e02a27 [comparison] continue compare if doc count unmatch 2023-06-13 17:12:22 +08:00
liugq edab287f40 adjust the grouping structure 2023-06-12 17:09:20 +08:00
medcl 083e481bc6 Merge branch 'master' of ssh://git.infini.ltd:64221/infini/console 2023-06-08 22:54:43 +08:00
medcl a58d15721b handle license and apply locally 2023-06-08 22:54:39 +08:00
Kassian Sun 355b6d3a9c [migration] don't skip bulk error check if count unmatch 2023-06-08 14:14:05 +08:00
medcl 9f90e49ae4 add license apply proxy api 2023-06-08 13:22:25 +08:00
liugq df4de53d29 auto detect time agg location 2023-06-08 12:53:14 +08:00
liugq 282ff24669 fix agg key convert to string error 2023-06-08 11:01:51 +08:00
liugq ce14d82406 get metric data with root agg timestamp 2023-06-08 10:43:30 +08:00
liugq 4a3961ab1f fix adding cluster_uuid 2023-06-07 21:05:59 +08:00
liugq be2787db97 fix formula notwork when there is only one metric items 2023-06-07 16:06:44 +08:00
Kassian Sun 523a6eeb37 [task_manager] rename from migration, do final cleanups 2023-06-06 10:25:34 +08:00
Kassian Sun 4d60f7c174 [migration] info api returns repeat in labels 2023-06-06 10:02:36 +08:00
Kassian Sun 68b054783b [migration] don't send notification for repeating child tasks 2023-06-05 17:45:19 +08:00