* 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>
* 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
* chore: handling timeout error tips
* chore: time interval can only be calculated automatically if the time range is too long
---------
Co-authored-by: yaojiping <yaojiping@infini.ltd>
* 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
* chore: optimize the chart when only the color metric is selected in TopN
* chore: add metric_config to form of View's field
* feat: add `Complex Field` to `View`
* chore: adjust topn's metrics
* fix: fix the issue of switching metrics in TopN
* chore: add columns(function, format) to `Complex fields`
* chore: verify if the complex field is builtin
* fix: set func to max by default in create complex field
* chore: change text of button for fetching data to `Apply` in TopN
* chore: check if metric support some statistics if rollup is enabled
* fix: add `time_field`` to params of fetching data if statistic is `latency``
* chore: check if field support some statistics if rollup is enabled
* chore: remove layout in view
* fix: format does not work in TopN
* fix: adjust filters of fetching data in TopN
---------
Co-authored-by: yaojiping <yaojiping@infini.ltd>
* feat: support configuring multiple hosts when creating a cluster
* chore: update release notes
* feat: support multiple hosts configuration for system cluster initialization
* 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