summaryrefslogtreecommitdiffstats
path: root/aclk/schema-wrappers/node_info.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:42 +0000
commit112b5b91647c3dea45cc1c9bc364df526c8012f1 (patch)
tree450af925135ec664c4310a1eb28b69481094ee2a /aclk/schema-wrappers/node_info.h
parentReleasing debian version 1.32.1-2. (diff)
downloadnetdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.tar.xz
netdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.zip
Merging upstream version 1.33.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'aclk/schema-wrappers/node_info.h')
-rw-r--r--aclk/schema-wrappers/node_info.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/aclk/schema-wrappers/node_info.h b/aclk/schema-wrappers/node_info.h
index 4acb671a5..41daf94c8 100644
--- a/aclk/schema-wrappers/node_info.h
+++ b/aclk/schema-wrappers/node_info.h
@@ -11,6 +11,11 @@
extern "C" {
#endif
+struct machine_learning_info {
+ bool ml_capable;
+ bool ml_enabled;
+};
+
struct aclk_node_info {
char *name;
@@ -49,6 +54,8 @@ struct aclk_node_info {
char *machine_guid;
struct label *host_labels_head;
+
+ struct machine_learning_info ml_info;
};
struct update_node_info {
@@ -58,6 +65,8 @@ struct update_node_info {
struct timeval updated_at;
char *machine_guid;
int child;
+
+ struct machine_learning_info ml_info;
};
char *generate_update_node_info_message(size_t *len, struct update_node_info *info);