Revert "Move call to send_statistics later, to get more events from docker (#6096)"
This reverts commit a941d189a6d38c82662f25cd30184a7fd7797e49. Revert broken commit until revised!
Pavlos Emm. Katsoulakis committed
May 24, 2019 at 14:15 UTC
88c72d4bc9248d9ff7415fd10c9df1622470e47d
2 files changed
+2
-2
.travis/run_install_with_dist_file.sh
+1
-1
@@ -39,7 +39,7 @@ fi
39
40
echo "Entering ${NETDATA_DIST_FOLDER} and starting docker compilation"
41
cd ${NETDATA_DIST_FOLDER}
42
-docker run -it -v "${PWD}:/code:rw" -w /code "netdata/os-test:centos7" /bin/bash -c "./netdata-installer.sh --dont-wait --install /tmp && echo \"Validating netdata instance is running\" && wget -O'-' 'http://localhost:19999/api/v1/info' | grep version"
42
+docker run -it -v "${PWD}:/code:rw" -w /code "netdata/os-test:centos7" /bin/bash -c "./netdata-installer.sh --dont-wait --install /tmp && echo \"Validating netdata instance is running\" && wget -O'-' 'http://127.0.0.1:19999/api/v1/info' | grep version"
43
44
echo "Installation completed with no errors! Removing temporary folders"
45
daemon/main.c
+1
-1
@@ -1136,6 +1136,7 @@ int main(int argc, char **argv) {
1136
1137
netdata_anonymous_statistics_enabled=-1;
1138
struct rrdhost_system_info *system_info = calloc(1, sizeof(struct rrdhost_system_info));
1139
+ if (get_system_info(system_info) == 0) send_statistics("START","-", "-");
1140
1141
#ifdef NETDATA_INTERNAL_CHECKS
1142
if(debug_flags != 0) {
@@ -1195,7 +1196,6 @@ int main(int argc, char **argv) {
1196
1197
info("netdata initialization completed. Enjoy real-time performance monitoring!");
1198
netdata_ready = 1;
1198
- if (get_system_info(system_info) == 0) send_statistics("START","-", "-");
1199
1200
// ------------------------------------------------------------------------
1201
// unblock signals