summaryrefslogtreecommitdiffstats
path: root/daemon/analytics.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/analytics.h')
-rw-r--r--daemon/analytics.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/daemon/analytics.h b/daemon/analytics.h
index d1ffcec1..34418316 100644
--- a/daemon/analytics.h
+++ b/daemon/analytics.h
@@ -63,14 +63,18 @@ struct analytics_data {
size_t data_length;
- uint8_t prometheus_hits;
- uint8_t shell_hits;
- uint8_t json_hits;
- uint8_t dashboard_hits;
+ size_t prometheus_hits;
+ size_t shell_hits;
+ size_t json_hits;
+ size_t dashboard_hits;
+
+ size_t charts_count;
+ size_t metrics_count;
+
+ bool exporting_enabled;
};
-void analytics_get_data(char *name, BUFFER *wb);
-void set_late_global_environment(void);
+void set_late_global_environment(struct rrdhost_system_info *system_info);
void analytics_free_data(void);
void set_global_environment(void);
void send_statistics(const char *action, const char *action_result, const char *action_data);