diff options
author | vkalintiris <vasilis@netdata.cloud> | 2022-04-04 14:22:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 14:22:18 +0300 |
commit | 9c834eff9715d1347b33f9f1f8c3deaf5c162443 (patch) | |
tree | 8037c112c5e9864e72e0138f06f3b59779f8de77 /ml/ml.cc | |
parent | feb2b193dbbf044fc89120b17371699a67190ab7 (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/ml.cc')
-rw-r--r-- | ml/ml.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -214,6 +214,10 @@ void ml_dimension_update_name(RRDSET *RS, RRDDIM *RD, const char *Name) { D->setAnomalyRateRDName(Name); } +bool ml_streaming_enabled() { + return Cfg.StreamADCharts; +} + #if defined(ENABLE_ML_TESTS) #include "gtest/gtest.h" |