Commit Graph

136 Commits

Author SHA1 Message Date
hardy a7ff1c6220
fix: typo config 2025-02-25 20:25:06 +08:00
hardy 9a9896c2f2
fix: gateway config for agent mTLS 2025-02-25 16:22:24 +08:00
Hardy 785f2ede57
fix: mapping type conflict error (#164)
* fix: mapping type conflict error

* docs: update release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-24 18:02:12 +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
silenceqi f679a57fb2
fix: the error when querying empty metric data (#144)
* fix: the error when querying empty metric data

* chore: update release notes
2025-02-17 15:31:12 +08:00
xiaoshi 34b70a925a
chore: add rollup_policy_template (#138)
Co-authored-by: zhanglei <zhanglei@infinilabs.com>
2025-02-14 16:08:43 +08:00
Hardy 50b8112670
chore: remove rollover which not support (#135)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-14 15:39:27 +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 6105976f9b
chore: add rollup ilm settings (#128)
* chore: add rollup ilm settings

* docs: add release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-13 21:18:12 +08:00
Hardy 60eac5ebf6
chore: auto init agent ingest user (#120)
* chore: auto init agent ingest user

* docs: update release notes

---------

Co-authored-by: hardy <luohf@infinilabs.com>
2025-02-13 16:17:17 +08:00
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 ae295d88b7
fix: must use term with rollup (#108)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-01-25 17:13:23 +08:00
Hardy e5bab8c52c
chore: add rollup_hours_before (#107)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-01-25 16:33:08 +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
Hardy 67447b876c
feat: rollup init template update (#98)
Co-authored-by: hardy <luohf@infinilabs.com>
2025-01-23 20:07:42 +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
Hardy 20a1d963c3
chore: restore generated file (#87) 2025-01-15 15:11:01 +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 2a0b2b3931
chore: update index name (#75) 2025-01-11 10:39:47 +08:00
silenceqi 692b87eb7a
feat: support querying top N metrics in the Insight Data Query API (#74)
* feat: refactor the Insight data API to support metric aggregation for multiple data inputs

* fix:  bucket sorting issue when a sub-aggregation contains a `date_histogram`

* feat: add insight metric CRUD api

* fix: empty value of metric

* fix: incorrect grouping results

* feat: add builtin metric template

* fix: bucket sort when aggregation with P99

* chore: update group size

* chore: update release notes

* chore: update release notes

* chore: update release notes

* chore: update group size
2025-01-10 16:24:24 +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 5ad4ebd92f
chore: update alerting template with index health change (#38) 2024-12-16 15:54:23 +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
hardy e6a7f29e10
fix: source_reuse only for metrics* & logs* index 2024-05-27 10:31:15 +08:00
hardy 709536cd5d
fix: tpl easysearch zstd 2024-05-12 12:39:00 +08:00
root 10c317f07c feat: add audit logs 2024-04-12 06:31:13 +00:00
medcl 585a6fbe6b feat: add lowercase filter to default analyzer 2024-03-26 00:06:49 +08:00
hardy 9020e691de fix: agent setup config 2024-03-21 23:01:37 +08:00
hardy 200ffd7af6
fix: agent first run need cluster_uuid & change for agent.tpl with yaml content 2024-02-29 11:52:13 +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
hardy dc562c0d74 FIX: mapping fields limit by disable dynamic queue stats id 2024-01-25 15:22:27 +08:00
medcl c4c0c8fdb3 support auto enroll 2023-12-15 17:47:54 +08:00
liugq 62b4428f95 fix ilm was not applied to index (#253)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/253
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-12-15 15:19:34 +08:00
medcl c434d3fb76 refactor: setup wizard (#250)
Co-authored-by: liugq <silenceqi@hotmail.com>
Reviewed-on: https://git.infini.ltd/infini/console/pulls/250
2023-12-15 11:22:03 +08:00
medcl a05d017d29 chore: fix agent config (#238)
默认不支持多实例,任务数稍微设置大一点。

Reviewed-on: https://git.infini.ltd/infini/console/pulls/238
2023-11-19 13:06:19 +08:00
medcl 6139c6adbb update config for agent 2023-11-18 11:31:11 +08:00
liugq e9f76271f0 add sql api config (#222)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/222
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-committed-by: liugq <silenceqi@hotmail.com>
2023-11-08 09:46:25 +08:00
hardy adb031e6af install agent script for v2 (#206)
Reviewed-on: https://git.infini.ltd/infini/console/pulls/206
Co-authored-by: hardy <luohf@infinilabs.com>
Co-committed-by: hardy <luohf@infinilabs.com>
2023-10-30 16:32:34 +08:00
medcl 0cae6007a1 optimize agent tpl files 2023-10-25 22:23:45 +08:00
medcl 2eb8304e68 update configs 2023-10-25 17:02:02 +08:00
medcl 505a76072b add cluster_uuid to node metrics 2023-10-25 11:57:53 +08:00
medcl 36cbc265f8 remove cluster level tasks from agent task template 2023-10-25 11:37:32 +08:00
medcl 4c8ee4a3e2 Merge branch 'master' into v2 2023-10-24 11:27:34 +08:00
medcl 9fa8658eb9 update agent template, collect more network metrics 2023-10-24 11:19:38 +08:00
medcl 90280ac243 limit target traffic 2023-10-23 22:03:42 +08:00
medcl 0830442bfc disable soft delete by default 2023-10-23 22:03:12 +08:00
medcl 1c01ff463a Merge branch 'v2' of ssh://git.infini.ltd:64221/infini/console into v2 2023-10-23 12:05:35 +08:00
medcl bfc82bbf1a ignore malformed json 2023-10-23 12:02:36 +08:00
hardy 5b9e76280f fix case macos tar error when overwrite 2023-10-21 14:07:35 +08:00