summaryrefslogtreecommitdiffstats
path: root/ml/Config.cc
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2022-04-04 14:22:18 +0300
committerGitHub <noreply@github.com>2022-04-04 14:22:18 +0300
commit9c834eff9715d1347b33f9f1f8c3deaf5c162443 (patch)
tree8037c112c5e9864e72e0138f06f3b59779f8de77 /ml/Config.cc
parentfeb2b193dbbf044fc89120b17371699a67190ab7 (diff)
Update ML-related charts (#12574)
* Move CPU usage stats under netdata charts Use the hostname in each chart's name, and the machine GUID in each chart's id. * Move anomaly_detection.* charts to child host instance. * Add option to enable/disable streaming of ML-related charts. * Update priority of prediction/training charts.
Diffstat (limited to 'ml/Config.cc')
-rw-r--r--ml/Config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ml/Config.cc b/ml/Config.cc
index 7a86aa7bdb..e08063b1cf 100644
--- a/ml/Config.cc
+++ b/ml/Config.cc
@@ -133,4 +133,6 @@ void Config::readMLConfig(void) {
Cfg.ChartsToSkip = "anomaly_detection.* ";
Cfg.ChartsToSkip += config_get(ConfigSectionML, "charts to skip from training", "netdata.*");
Cfg.SP_ChartsToSkip = simple_pattern_create(ChartsToSkip.c_str(), NULL, SIMPLE_PATTERN_EXACT);
+
+ Cfg.StreamADCharts = config_get_boolean(ConfigSectionML, "stream anomaly detection charts", false);
}