diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-02-10 06:42:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 06:42:08 -0500 |
commit | 8fcd31b32209ce841eba2028a1c2c61d8b1d6e6b (patch) | |
tree | 79c3461a0d413a243613101e99e6fdfc252e23fe | |
parent | ecbefc54e0aa6a28ec8530139a2d903ad40b93b9 (diff) |
Add info about installer interactivity to anonymous installer telemetry events. (#12088)
This simply adds a property to he events indicating whether they came
from an interactive or non-interactive run, which will allow for better
handling of some of the other data in the events.
-rwxr-xr-x | packaging/installer/kickstart.sh | 1 | ||||
-rw-r--r-- | packaging/installer/methods/kickstart.md | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh index 77a0ec186c..0b396e4d61 100755 --- a/packaging/installer/kickstart.sh +++ b/packaging/installer/kickstart.sh @@ -150,6 +150,7 @@ telemetry_event() { "error_code": "${3}", "error_message": "${2}", "install_options": "${KICKSTART_OPTIONS}", + "install_interactivity": "${INTERACTIVE}", "total_runtime": "${total_duration}", "selected_install_method": "${SELECTED_INSTALL_METHOD}", "netdata_release_channel": "${RELEASE_CHANNEL:-null}", diff --git a/packaging/installer/methods/kickstart.md b/packaging/installer/methods/kickstart.md index 3435b56062..1726b0b318 100644 --- a/packaging/installer/methods/kickstart.md +++ b/packaging/installer/methods/kickstart.md @@ -136,7 +136,7 @@ To use `md5sum` to verify the integrity of the `kickstart.sh` script you will do run the following: ```bash -[ "42b5969be5d38ac696e21e444df72f86" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" +[ "862580a7c6e4b973b6fcfd907e2f1bbc" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" ``` If the script is valid, this command will return `OK, VALID`. |