summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-05-23 13:05:18 +0200
committerGitHub <noreply@github.com>2019-05-23 13:05:18 +0200
commita941d189a6d38c82662f25cd30184a7fd7797e49 (patch)
tree5fd7afadba2189e8ecf7695d225204f871ffd5e6 /daemon
parentb7e079e114fa2ef82cad415e10b70954eff38881 (diff)
Move call to send_statistics later, to get more events from docker (#6096)
* Move call to send_statistics later, to get info from more docker containers * Test using localhost instead of ip
Diffstat (limited to 'daemon')
-rw-r--r--daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c
index a1577fb937..dca3dd5f5a 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -1136,7 +1136,6 @@ int main(int argc, char **argv) {
netdata_anonymous_statistics_enabled=-1;
struct rrdhost_system_info *system_info = calloc(1, sizeof(struct rrdhost_system_info));
- if (get_system_info(system_info) == 0) send_statistics("START","-", "-");
#ifdef NETDATA_INTERNAL_CHECKS
if(debug_flags != 0) {
@@ -1196,6 +1195,7 @@ int main(int argc, char **argv) {
info("netdata initialization completed. Enjoy real-time performance monitoring!");
netdata_ready = 1;
+ if (get_system_info(system_info) == 0) send_statistics("START","-", "-");
// ------------------------------------------------------------------------
// unblock signals