Commit Graph

21 Commits

Author SHA1 Message Date
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 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
Hardy 814ac648ec
test: unit test ci task (#70)
* test: unit test ci task
2025-01-06 22:59:41 +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 518028fbdb validate metric sort 2023-07-05 10:51:49 +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 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 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 c37380c009 move insight model from framework to console 2023-05-08 16:23:36 +08:00
liugq 1a645a655a support cardinality agg 2023-04-01 12:25:06 +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 2c8ee843f1 refactoring elastic.GetDateHistogramIntervalField 2023-03-02 20:54:21 +08:00
medcl 523004b2d2 fix nil version during setup 2022-10-25 14:42:06 +08:00
liugq c314e44b34 fixed date histogram agg search error 2022-08-10 18:58:13 +08:00
liugq 35b01d6645 fixed fetch data panic when group field type is number 2022-08-10 14:16:37 +08:00
liugq 6b57960882 add insight api 2022-07-26 18:49:05 +08:00