* Refactor alert mute and recording rule retrieval to handle cases where group IDs are empty in the current session
* Update `tags` column default value to '[]' in `alert_mute` table and `AlertMute` struct
* Update gids variable to handle empty query parameter in alertMuteGetsByGids and recordingRuleGetsByGids functions
* Refactor alertMuteGet function to include database to frontend transformation
* change mute datasource
* Refactor AlertSubscribeGetsByBGIds function to handle empty bgids parameter gracefully
* Refactor taskTplTotal and taskTplGets functions to allow filtering by groupIds when provided, enhancing flexibility and optimization
* Refactor taskGetsByGids to handle empty gids and non-admin user cases more efficiently
* fix: The status of the log is all info in compose-host-network-metric-log
* fix: set KAFKA_CFG_MESSAGE_MAX_BYTES to avoid null value error
* chore: keep the same span
---------
Co-authored-by: wdk <wdk_cc@163.com>
* add: batch subscription
* add: sql columns for rule_ids and rule_names
* add: add migrate of AlertSubscribe
* update: Remove redundant codes
* fix: The question of 1821
* fix: Optimized for getting rule_ids and rule_names
* fix: error handle
* fix: add rule_ids for update api
* fix: Clear the rule_id to zero when updating
* refactor: Compatible with old rule_id
* refactor: rename
* fix: set rule_id=0 when updating subscription rules
---------
Co-authored-by: wdk <wdk_cc@163.com>
* refactor: remove prod and cate in alert mute (#1828)
* add: remove monitor type in alter mute
* chore: remove prod in alter mute
* chore: remove cate in alter mute
---------
Co-authored-by: wdk <wdk_cc@163.com>
---------
Co-authored-by: Deke Wang <94156972+wdkcc@users.noreply.github.com>
Co-authored-by: wdk <wdk_cc@163.com>
* add: docker-compose files for logs processing
* update: set restart:always
* fix: compose-host-network-metric-log
* update: regularize
* fix: categraf will panic when it starts
* fix: add WAIT_HOSTS of kafka for categraf and set es index=n9e-y.m.d
---------
Co-authored-by: wdk <wdk_cc@163.com>