summaryrefslogtreecommitdiffstats
path: root/daemon/analytics.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 /daemon/analytics.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 'daemon/analytics.h')
-rw-r--r--daemon/analytics.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/daemon/analytics.h b/daemon/analytics.h
index 78ced981e..76c1cbb7e 100644
--- a/daemon/analytics.h
+++ b/daemon/analytics.h
@@ -17,19 +17,8 @@
#define ANALYTICS_MAX_JSON_HITS 255
#define ANALYTICS_MAX_DASHBOARD_HITS 255
-#define NETDATA_PLUGIN_HOOK_ANALYTICS \
- { \
- .name = "ANALYTICS", \
- .config_section = NULL, \
- .config_name = NULL, \
- .enabled = 0, \
- .thread = NULL, \
- .init_routine = NULL, \
- .start_routine = analytics_main \
- },
-
/* Needed to calculate the space needed for parameters */
-#define ANALYTICS_NO_OF_ITEMS 38
+#define ANALYTICS_NO_OF_ITEMS 39
struct analytics_data {
char *netdata_config_stream_enabled;
@@ -61,6 +50,7 @@ struct analytics_data {
char *netdata_config_hosts_available;
char *netdata_host_cloud_available;
char *netdata_host_aclk_available;
+ char *netdata_host_aclk_protocol;
char *netdata_host_aclk_implementation;
char *netdata_host_agent_claimed;
char *netdata_host_cloud_enabled;
@@ -79,7 +69,6 @@ struct analytics_data {
uint8_t dashboard_hits;
};
-extern void *analytics_main(void *ptr);
extern void analytics_get_data(char *name, BUFFER *wb);
extern void set_late_global_environment(void);
extern void analytics_free_data(void);