summaryrefslogtreecommitdiffstats
path: root/ml/ml-dummy.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:10 +0000
commitb5321aff06d6ea8d730d62aec2ffd8e9271c1ffc (patch)
tree36c41e35994786456154f9d3bf88c324763aeea4 /ml/ml-dummy.c
parentAdding upstream version 1.33.1. (diff)
downloadnetdata-c13434eeaa930a509fb022b2e7fb4f2d60319c9d.tar.xz
netdata-c13434eeaa930a509fb022b2e7fb4f2d60319c9d.zip
Adding upstream version 1.34.0.upstream/1.34.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/ml-dummy.c')
-rw-r--r--ml/ml-dummy.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/ml/ml-dummy.c b/ml/ml-dummy.c
index 222f0b0f6..fad480f4b 100644
--- a/ml/ml-dummy.c
+++ b/ml/ml-dummy.c
@@ -4,6 +4,15 @@
#if !defined(ENABLE_ML)
+bool ml_capable() {
+ return false;
+}
+
+bool ml_enabled(RRDHOST *RH) {
+ (void) RH;
+ return false;
+}
+
void ml_init(void) {}
void ml_new_host(RRDHOST *RH) { (void) RH; }
@@ -38,4 +47,19 @@ char *ml_get_anomaly_event_info(RRDHOST *RH, const char *AnomalyDetectorName,
return NULL;
}
+void ml_process_rrdr(RRDR *R, int MaxAnomalyRates) {
+ (void) R;
+ (void) MaxAnomalyRates;
+}
+
+void ml_dimension_update_name(RRDSET *RS, RRDDIM *RD, const char *name) {
+ (void) RS;
+ (void) RD;
+ (void) name;
+}
+
+bool ml_streaming_enabled() {
+ return false;
+}
+
#endif