summaryrefslogtreecommitdiffstats
path: root/ml/ml-dummy.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
commitbb50acdcb8073654ea667b8c0272e335bd43f844 (patch)
tree1e00c8a29871426f8182658928dcb62e42d57ce8 /ml/ml-dummy.c
parentReleasing debian version 1.33.1-1. (diff)
downloadnetdata-bb50acdcb8073654ea667b8c0272e335bd43f844.tar.xz
netdata-bb50acdcb8073654ea667b8c0272e335bd43f844.zip
Merging upstream version 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