Commit Graph

308 Commits

Author SHA1 Message Date
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
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 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
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 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
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
liugq 8cc4049b0c insight and alert rule metric support transform cluster id to cluster name 2023-06-14 18:21:41 +08:00
liugq edab287f40 adjust the grouping structure 2023-06-12 17:09:20 +08:00
medcl a58d15721b handle license and apply locally 2023-06-08 22:54:39 +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 be2787db97 fix formula notwork when there is only one metric items 2023-06-07 16:06:44 +08:00
silenceqi 4a269acf22 move topn api from framework to console (#82)
move topn api from framework to console

Co-authored-by: liugq <silenceqi@hotmail.com>
2023-05-10 23:33:35 +08:00
liugq c37380c009 move insight model from framework to console 2023-05-08 16:23:36 +08:00
liugq 75b912426b add websocket proxy 2023-05-06 14:53:07 +08:00
liugq dd68300ab2 layout search support filtering with param is_fixed 2023-04-20 10:49:24 +08:00
liugq b61d0b1593 add index init api 2023-04-17 10:15:44 +08:00
liugq e8f9c83245 optimize notification api 2023-04-06 21:07:29 +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
sunjiacheng 400bd2d002 [notification] update _search defaults, fix /read (#53)
[notification] update _search defaults, fix /read

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-04-04 14:49:56 +08:00
liugq 061b528309 Merge branch 'master' of ssh://git.infini.ltd:64221/infini/console 2023-04-04 11:57:38 +08:00
liugq be533cd609 add resource_id 2023-04-04 11:57:30 +08:00
Kassian Sun c3a1d418d5 [notification] update enum & list API 2023-04-04 10:18:45 +08:00
Kassian Sun 97f5b958b3 [notification] /read add types param 2023-04-03 18:45:34 +08:00
liugq 272f29403d fix getting alerting rule 404 2023-04-03 18:05:27 +08:00
Kassian Sun f9f60b23e7 [notification] update API endpoint 2023-04-02 15:27:51 +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 1a645a655a support cardinality agg 2023-04-01 12:25:06 +08:00
liugq f716e2acf5 filter overview cluster 2023-03-31 14:26:11 +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
sunjiacheng cd56a4ff24 Merge pull request '[plugin][api] visualization/data supports latest statistics' (#36) from feature/top_hits into master 2023-03-28 10:28:25 +08:00
Kassian Sun 845d77508b return null if _source is empty 2023-03-23 09:00:07 +08:00
Kassian Sun 17abd00e20 [plugin][api] visualization/data supports top_hits 2023-03-22 19:04:34 +08:00
liugq bc024bcfce filter empty group of alerting rule 2023-03-22 10:46:26 +08:00
liugq 99f03fc574 add elastic status overview api 2023-03-16 10:55:21 +08:00
silenceqi 6d2f02af9c Merge pull request 'Elasticsearch, easysearch, opensearch compatibility update' (#32) from es_distribution into master 2023-03-11 19:11:06 +08:00
liugq d37da4679e use total value instead of doc_value agg as doc count 2023-03-06 15:00:14 +08:00
liugq 2c8ee843f1 refactoring elastic.GetDateHistogramIntervalField 2023-03-02 20:54:21 +08:00
liugq 662205c540 add layout api permission 2023-02-28 12:27:26 +08:00
liugq f1c18797b0 add query arg view_id for layout search api 2023-02-27 18:04:07 +08:00
liugq 5637c65977 add view layout api 2023-02-24 19:32:10 +08:00
sunjiacheng fc8a47373a [build] fix src/* imports (#27)
[build] fix src/* imports

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-02-21 21:48:20 +08:00
liugq 31e314ec87 initialize bug fixed 2023-02-10 18:13:56 +08:00
medcl 02adb4d121 refactoring pipelines 2023-01-27 12:09:09 +08:00
liugq e50f273cda fixed error of getting detail info of alert history 2023-01-06 17:49:52 +08:00
liugq b93fb2f3c2 refactoring orm.Delete 2022-12-13 14:26:40 +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
liugq 2609e51623 migration log fixed 2022-10-25 20:47:41 +08:00
liugq 71f0871e5a add host field in getExecutionNodes api 2022-10-25 19:38:35 +08:00
liugq 0922db5024 update getExecutionNodes api 2022-10-25 17:20:28 +08:00
liugq 516e7462ac fixed merge master conflicts 2022-10-25 16:07:43 +08:00
liugq 3dedda4e62 fixed merge master conflicts 2022-10-25 15:06:25 +08:00
medcl 523004b2d2 fix nil version during setup 2022-10-25 14:42:06 +08:00
medcl 17136af69d fix api not for setup module 2022-10-23 11:51:27 +08:00
medcl 1ccfdb1abb add setup module to console 2022-10-22 18:40:52 +08:00
liugq d44aad6797 Merge branch 'master' into migration 2022-10-14 21:47:20 +08:00
liugq 8741742ec7 update elastic count api 2022-10-14 21:43:37 +08:00
liugq 8977808d30 init migration 2022-10-14 16:55:48 +08:00
liugq 008b7243b8 remove test debug log 2022-09-23 18:05:40 +08:00
liugq 7af5c22a1b filter dashbard by cluster id 2022-09-21 11:08:21 +08:00
liugq 1bce8cc200 count host from .infini_host priority 2022-09-09 21:43:55 +08:00
liugq 320ee33390 count host from .infini_host priority 2022-09-09 20:38:55 +08:00