Commit Graph

15 Commits

Author SHA1 Message Date
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