silenceqi
d21326d5ce
chore: remove unused code with `MetricBase` ( #132 )
2025-02-14 12:36:06 +08:00
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
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
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
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
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
14f391b58b
update widget struct
2023-08-17 11:35:35 +08:00
liugq
b349c66b14
add get widget api
2023-08-17 11:10:55 +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
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
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
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
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
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
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
liugq
7af5c22a1b
filter dashbard by cluster id
2022-09-21 11:08:21 +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
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
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