0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-27 14:16:20 +00:00

Revert "Move call to send_statistics later, to get more events from docker ()"

This reverts commit a941d189a6.

Revert broken commit until revised!
This commit is contained in:
Pavlos Emm. Katsoulakis 2019-05-24 14:15:59 +03:00
parent 36e4b047d4
commit 88c72d4bc9
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ fi
echo "Entering ${NETDATA_DIST_FOLDER} and starting docker compilation"
cd ${NETDATA_DIST_FOLDER}
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"
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"
echo "Installation completed with no errors! Removing temporary folders"

View file

@ -1136,6 +1136,7 @@ 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) {
@ -1195,7 +1196,6 @@ 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