Commit Graph

104 Commits

Author SHA1 Message Date
Hardy ca52a5b00d
fix: sql query with elasticsearch version 6.x (#158)
* fix: sql query with version 6.x

* docs: update release notes

* docs: typo release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-21 15:06:10 +08:00
Hardy df33fa006b
chore: Enhance LDAP authentication logging (#156)
* chore: improve logs for ldap auth

* docs: update release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
Co-authored-by: silenceqi <silenceqi@hotmail.com>
2025-02-20 20:08:48 +08:00
silenceqi 78cdd44e9c
feat: log activity for cluster metric collection mode changes (#152)
* feat: log activity for cluster metric collection mode changes

* chore: update release notes
2025-02-20 16:01:46 +08:00
Hardy 1e601f259b
chore: update agent config with cluster name (#148)
* chore: update agent config with cluster name

* docs: update release-notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-18 20:29:41 +08:00
Hardy 63125deb02
chore: update timeout settings (#141)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-16 15:32:56 +08:00
silenceqi acaf76a0b1
fix: incorrect cluster metric collection mode (#136) 2025-02-14 15:47:13 +08:00
Hardy b44382327d
chore: add version and distribution for agent to avoid painc at start (#131)
* chore: add version and distribution for agent to avoid painc at start

* docs: add release notes

* docs: typo release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-14 11:26:49 +08:00
Hardy ea73bf9510
feat: add default roles to LDAP config (#114) (#130)
* chore: add anonymous roles to fix the issue (#114)

* docs: add release notes

* chore: change config key

* docs: update release notes

* chore: update comment

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-13 23:18:21 +08:00
Hardy 43188b6ef0
fix: the invalid ip (#89)
* fix: the invalid ip

* chore: use util content

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-13 17:34:29 +08:00
silenceqi 6d576a7636
feat: prevent deletion and modification of builtin views (#100)
* feat: prevent deletion and modification of builtin views
* chore: update response struct for better consistency
2025-01-24 15:39:12 +08:00
silenceqi ca243b1ce5
feat: support function-format parameters in Insight Data API (#93)
* feat: support function-format parameters in Insight Data API

* chore: update license header

* chore: format code

* feat: return `complex_fields` in the view API

* feat: include system cluster rollup setting in App Settings API response

* chore: update release notes

* fix: remove func `sum_func_value_in_group` from using aggregation `date_histogram`

* fix: generate unique group id for aggregation name

* fix: sort not work when using function `sum_func_value_in_group`

* feat: update view template
2025-01-23 20:08:19 +08:00
silenceqi f3417ee6de
feat: support configuring multiple hosts when creating a cluster (#90)
* feat: support configuring multiple hosts when creating a cluster

* chore: update release notes

* feat: support multiple hosts configuration for system cluster initialization
2025-01-23 09:04:14 +08:00
silenceqi 7db9344bad
fix: lint eror (#82) 2025-01-16 11:11:53 +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 243d64cc3b
feat: add cluster-level shard state metrics (#78) 2025-01-11 17:22:28 +08:00
Hardy 718b029b85
feat: add rollup template to setup, add rollup permission (#71)
* feat: add rollup template to setup, add rollup permission
* fix: easysearch version check
* chore: add noop.tpl
* chore: reflactor the code
* chore: only one permission.json
2025-01-10 12:20:04 +08:00
silenceqi 8a27cd4389
fix: unit tests (#69)
* fix: unit tests

* chore: update release notes
2025-01-04 18:30:48 +08:00
silenceqi 8cbaebc5a6
feat: add some index metrics related to segment memory (#65)
* feat: add some index metrics related to segment memory

* chore: update release notes
2024-12-31 11:40:56 +08:00
silenceqi 9733b72531
fix: usage of method `GetFastHttpClient` (#62) 2024-12-30 11:05:29 +08:00
Medcl 29bef5e129
chore: enhanced http_client to support customizable configurations. (#61)
* chore: update http client

* chore: update release notes
2024-12-30 10:33:23 +08:00
silenceqi f11a565948
optimize metric query bucket size (#59)
* feat: the automatically calculated bucket size should be at least twice the metrics collection interval

* feat: return the hit count and the minimum bucket size when querying metrics

* chore: update release notes

---------

Co-authored-by: Hardy <luohoufu@163.com>
2024-12-26 16:50:57 +08:00
silenceqi edaa276ac3
chore: adapter metrics query with cluster id and cluster uuid (#56)
* chore: adapter metrics query with cluster id and cluster uuid

* chore: reads cluster uuid from metadata

* chore: update release notes

* chore: update release notes

---------

Co-authored-by: Hardy <luohoufu@163.com>
2024-12-24 15:29:14 +08:00
silenceqi f9baad07e3
fix: query thread pool metrics when cluster uuid is empty (#47)
* fix: query thread pool metrics when cluster uuid is empty

* chore: update release notes

* chore: update release notes of version 1.27.0
2024-12-18 14:56:17 +08:00
silenceqi 318ba82eed
fix: validating index search permission in discover api (#37)
* fix: validating index search permission in discover api

* fix: wrong error tips for validating index permission
2024-12-16 11:48:14 +08:00
silenceqi 5c783288ce
feat: add api to clean unavailable index, node metadata (#35) 2024-12-14 19:18:45 +08:00
silenceqi aaa4dcee6b
chore: moving primary shard filter from aggregations to query with single index metric (#32)
* chore: moving primary shard filter from aggregations to query

* chore: moving primary shard filter from aggregations to query with single index metric
2024-12-14 15:25:22 +08:00
silenceqi e018f15f73
chore: moving primary shard filter from aggregations to query (#31) 2024-12-14 11:05:29 +08:00
silenceqi 9cb54a3381
chore: adapter node metrics query with `cluster_id ` or `cluster uuid` (#28) 2024-12-13 15:12:24 +08:00
silenceqi 5a02966f2d
feat: add getting cluster collection stats api (#27)
* fix: empty index metrics in overview info api when collecting mode is agent

* feat: add getting cluster monitor state api

* chore: updating monitor state api

* chore: custom request timeout error with quering metrics
2024-12-13 14:30:45 +08:00
silenceqi 217008fd2f
Optimize overview (#23)
* chore: splitting overview info request

* fix: no index health metric with agent mode

* feat: add query param `timeout` for overview info api

* fix: index overview info format
2024-12-11 19:25:56 +08:00
Hardy 356f710e4a
fix: agent enroll failed (#15) 2024-12-07 17:13:32 +08:00
silenceqi 852420281d
feat: splitting host metrics query (#14) 2024-12-07 17:10:35 +08:00
silenceqi e5dbe3123a
chore: adjust bucket size of overview metric (#9) 2024-12-06 16:30:23 +08:00
silenceqi 46a5976bf3
feat: splitting metric query, adding query param key for query metric api to support single metric query (#7)
* feat: support query es cluster metrics with special key
* feat: adding context param to control metric request timeout
* feat: splitting metric query, adding query param `key` for query metric  api to support single metric query
* chore: clean unused code
* fix: wrong metric key
2024-12-06 14:02:16 +08:00
luohoufu a60875a5f7
fix: remove agent dependcy 2024-12-04 16:52:59 +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 655725f6ad chore: remove unused configs code 2024-12-02 12:14:36 +08:00
liugq 928d69fcaa fix: error of user not found 2024-12-02 11:01:56 +08:00
hardy a936a8fa7c
chore: change to framework main branch and reflactor the dependcy 2024-12-01 21:36:06 +08:00
hardy ae3b792f7f
fix: build error with basicAuth.Password 2024-11-29 23:08:48 +08:00
medcl 3daf21c2af fix: no silent failure when auto enroll is already running 2024-03-25 23:46:08 +08:00
medcl 597fa16369 refactor: misc refactoring (#289)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/289
2024-02-01 14:41:54 +08:00
medcl 0a6d0e5696 fix: enroll should handle recognized nodes (#261)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/261
2023-12-16 14:48:51 +08:00
medcl c4c0c8fdb3 support auto enroll 2023-12-15 17:47:54 +08:00
medcl 874c247fab update agent version 2023-10-29 14:51:31 +08:00
medcl 287d53111b update auto enroll api 2023-10-29 10:18:29 +08:00
medcl 1403499c27 allow to directly enroll 2023-10-27 16:33:25 +08:00
medcl f7fc4c00a3 filter for only agent 2023-10-25 17:02:23 +08:00
medcl 505a76072b add cluster_uuid to node metrics 2023-10-25 11:57:53 +08:00
medcl 4415e63aa4 fix multi node tasks 2023-10-25 11:38:10 +08:00