@cryptotaxi247 / netdata-1 / commits / d2a3975d0

Do not create train/predict dimensions meant for tracking anomaly rates. (#13707)

vkalintiris committed Sep 23, 2022 at 13:02 UTC d2a3975d0e60aec5f8316debfff11500d9480ef8
1 file changed +3
ml/ml.cc
+3
@@ -79,6 +79,9 @@ void ml_new_dimension(RRDDIM *RD) {
79 if (simple_pattern_matches(Cfg.SP_ChartsToSkip, rrdset_name(RS)))
80 return;
81
82 + if (rrdset_is_ar_chart(RS))
83 + return;
84 +
85 Dimension *D = new Dimension(RD);
86 RD->ml_dimension = static_cast<ml_dimension_t>(D);
87 H->addDimension(D);