Commit Graph

22 Commits

Author SHA1 Message Date
silenceqi 1ee6c59d2c
fix: missing data when processing multiple time series in a g… (#127)
* fix: address missing data when processing multiple time series in a group with insight data API

* chore: update release notes
2025-02-13 17:31:04 +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 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
Medcl f43e453c7f
chore: update license header (#14)
Co-authored-by: Hardy <luohoufu@163.com>
2024-12-02 23:24:44 +08:00
hardy a936a8fa7c
chore: change to framework main branch and reflactor the dependcy 2024-12-01 21:36:06 +08:00
liugq 63cd503c38 feat: make certain system indices accessible in visualization data api 2024-03-26 12:20:44 +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 c385f58d66 filter insight api index privilege 2023-07-03 18:54:38 +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
liugq df4de53d29 auto detect time agg location 2023-06-08 12:53:14 +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
liugq c37380c009 move insight model from framework to console 2023-05-08 16:23:36 +08:00
liugq d37da4679e use total value instead of doc_value agg as doc count 2023-03-06 15:00:14 +08:00
liugq 959132f067 remove sample agg when filter is not empty 2022-08-15 15:26:00 +08:00
liugq 8bdc07e041 fixed no seriesField in options 2022-08-12 20:59:44 +08:00
liugq 1bb10dce50 add preview api 2022-08-12 12:11:21 +08:00
liugq 074663f1be fixed empty groups of number type 2022-08-10 09:26:38 +08:00
liugq 6b57960882 add insight api 2022-07-26 18:49:05 +08:00