Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment variable #7846
Yes :D -- I created the PR to clean / fix what I was touching after the fact. Sorry about that! Once #7847 is merged I"ll rebase this!
Also FYI but the form
I think this has a lot to do with some badly written Shells and the fact that on most systems
Tested that this works as expected:
/netdata # find / -type f -name '.opt-out-from-anonymous-statistics' /etc/netdata/.opt-out-from-anonymous-statistics /netdata # grep XXX /var/log/netdata/* /var/log/netdata/error.log:2020-01-29 00:16:09: netdata INFO : MAIN : XXX: anonymous statistics disabled
…ent variable (netdata#7846) * Added support for opting out of telemtry via the DO_NOT_TRACK environment variable * Added support for DO_NOT_TRACK=1 in anonymous-statistics.sh and minor cleanup in Dockerfile and run.sh entrypoint * Allow DO_NOT_TRACK to be either non-zero or non-empty * Update md5sum of kickstart-static64.sh in docs * Fixed a bug in netdata-installer.sh * Revert changes to daemon/main.c (testing onyl) * Update docs/anonymous-statistics.md Co-Authored-By: Mansour Behabadi <firstname.lastname@example.org> Co-authored-by: Mansour Behabadi <email@example.com>