summaryrefslogtreecommitdiffstats
path: root/ml/Config.h
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2021-12-22 17:13:45 +0200
committerGitHub <noreply@github.com>2021-12-22 17:13:45 +0200
commit5049de8f7a132205b32f2c523998f93cbbfc0481 (patch)
tree452a81eadda2ac3354bc5ceff0d529e47520c578 /ml/Config.h
parentdf8930ddd370b2a9fec96b1cbb45e8ae530c0aad (diff)
Provide runtime ml info from a new endpoint. (#11886)
* Provide runtime ml info from a new endpoint. * Add hosts & charts to skip from ML in the /info endpoint. This information belongs in /info, and not in /ml-info, because the value of these variables can not change at the agent's runtime. * Use strdupz instead of strdup.
Diffstat (limited to 'ml/Config.h')
-rw-r--r--ml/Config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ml/Config.h b/ml/Config.h
index f29bae3a60..58ecce53f3 100644
--- a/ml/Config.h
+++ b/ml/Config.h
@@ -30,7 +30,10 @@ public:
double ADWindowRateThreshold;
double ADDimensionRateThreshold;
+ std::string HostsToSkip;
SIMPLE_PATTERN *SP_HostsToSkip;
+
+ std::string ChartsToSkip;
SIMPLE_PATTERN *SP_ChartsToSkip;
std::string AnomalyDBPath;