Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment variable#7846
Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment variable#7846prologic merged 7 commits intonetdata:masterfrom prologic:do_not_track
Conversation
Manage this branch in SquashTest this branch here: https://prologicdo-not-track-zlmmf.squash.io |
|
@prologic it is better to have code formatting changes in a separate PR or at least in a separate commit |
Yes I agree; Please review #7847 first; I can rebase on top of that. I'll have to remember to do this before I touch anything -- vim-autoformat is pretty magical ;) |
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 |
|
Rebased now #7847 is merged. |
… cleanup in Dockerfile and run.sh entrypoint
|
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 |
Co-Authored-By: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>
…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 <57921115+ncmans@users.noreply.github.com> Co-authored-by: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>
Summary
As per title
Component Name
area/packing
Additional Information