From 8c68763020db7b51b31498ff9ec7d00e3a7dbb1d Mon Sep 17 00:00:00 2001 From: DanB Date: Thu, 17 Oct 2024 16:50:30 +0200 Subject: [PATCH] Adding comments to trends and rankings defaults --- config/config_defaults.go | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/config/config_defaults.go b/config/config_defaults.go index de9422514..4f989c1bf 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -854,27 +854,30 @@ const CGRATES_CFG_JSON = ` } }, -"trends":{ // TrendS config - "enabled": false, // starts TrendS service: . - "store_interval": "", + +"trends":{ // TrendS config + "enabled": false, // starts TrendS service: . + "store_interval": "", // dump cache regularly to dataDB, 0 - dump at start/shutdown: <""|$dur> "store_uncompressed_limit": 0, // used to compress metrics - "stats_conns": [], // connections to StatS, empty to disable stats functionality: <""|*internal|$rpc_conns_id> - "scheduled_ids": {}, - "thresholds_conns": [], - "ees_conns": [], - "ees_exporter_ids": [] + "stats_conns": [], // connections to StatS, empty to disable stats functionality: <""|*internal|$rpc_conns_id> + "scheduled_ids": {}, // autoload these trend ids on start + "thresholds_conns": [], // connections to ThresholdS for trendSummary reporting, empty to disable thresholds functionality: <""|*internal|$rpc_conns_id> + "ees_conns": [], // connections to EEs for trendSummary, empty to disable export functionality: <""|*internal|$rpc_conns_id> + "ees_exporter_ids": [] // list of EventExporter profiles to use for real-time trendSummary exports }, - "rankings":{ // RankingS config - "enabled": false, // starts RankingS service: . - "store_interval": "", - "stats_conns": [], // connections to StatS, empty to disable stats functionality: <""|*internal|$rpc_conns_id> - "scheduled_ids": {}, - "thresholds_conns": [], - "ees_conns": [], - "ees_exporter_ids": [] + + "rankings":{ // RankingS config + "enabled": false, // starts RankingS service: . + "store_interval": "", // dump cache regularly to dataDB, 0 - dump at start/shutdown: <""|$dur> + "stats_conns": [], // connections to StatS, empty to disable stats functionality: <""|*internal|$rpc_conns_id> + "scheduled_ids": {}, // autoload these ranking ids on start + "thresholds_conns": [], // connections to ThresholdS for rankingSummary reporting, empty to disable thresholds functionality: <""|*internal|$rpc_conns_id> + "ees_conns": [], // connections to EEs for rankingSummary events, empty to disable export functionality: <""|*internal|$rpc_conns_id> + "ees_exporter_ids": [] // list of EventExporter profiles to use for real-time rankingSummary exports }, + "thresholds": { // ThresholdS "enabled": false, // starts ThresholdS service: . "store_interval": "", // dump cache regularly to dataDB, 0 - dump at start/shutdown: <""|$dur>