diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-05-08 16:27:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-05-08 16:27:04 +0000 |
commit | a836a244a3d2bdd4da1ee2641e3e957850668cea (patch) | |
tree | cb87c75b3677fab7144f868435243f864048a1e6 /daemon/analytics.h | |
parent | Adding upstream version 1.38.1. (diff) | |
download | netdata-a836a244a3d2bdd4da1ee2641e3e957850668cea.tar.xz netdata-a836a244a3d2bdd4da1ee2641e3e957850668cea.zip |
Adding upstream version 1.39.0.upstream/1.39.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | daemon/analytics.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/daemon/analytics.h b/daemon/analytics.h index d1ffcec18..34418316f 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); |