summaryrefslogtreecommitdiffstats
path: root/daemon/analytics.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/analytics.h')
-rw-r--r--daemon/analytics.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/daemon/analytics.h b/daemon/analytics.h
index e888297d..78ced981 100644
--- a/daemon/analytics.h
+++ b/daemon/analytics.h
@@ -3,7 +3,7 @@
#ifndef NETDATA_ANALYTICS_H
#define NETDATA_ANALYTICS_H 1
-#include "../daemon/common.h"
+#include "daemon/common.h"
/* Max number of seconds before the first META analytics is sent */
#define ANALYTICS_INIT_SLEEP_SEC 120
@@ -29,7 +29,7 @@
},
/* Needed to calculate the space needed for parameters */
-#define ANALYTICS_NO_OF_ITEMS 32
+#define ANALYTICS_NO_OF_ITEMS 38
struct analytics_data {
char *netdata_config_stream_enabled;
@@ -64,6 +64,12 @@ struct analytics_data {
char *netdata_host_aclk_implementation;
char *netdata_host_agent_claimed;
char *netdata_host_cloud_enabled;
+ char *netdata_config_https_available;
+ char *netdata_install_type;
+ char *netdata_config_is_private_registry;
+ char *netdata_config_use_private_registry;
+ char *netdata_config_oom_score;
+ char *netdata_prebuilt_distro;
size_t data_length;
@@ -84,6 +90,8 @@ extern void analytics_log_json(void);
extern void analytics_log_prometheus(void);
extern void analytics_log_dashboard(void);
extern void analytics_gather_mutable_meta_data(void);
+extern void analytics_report_oom_score(long long int score);
+extern void get_system_timezone(void);
extern struct analytics_data analytics_data;