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.
Austin S. Hemmelgarn committed
Feb 10, 2022 at 06:42 UTC
8fcd31b32209ce841eba2028a1c2c61d8b1d6e6b
2 files changed
+2
-1
packaging/installer/kickstart.sh
+1
@@ -150,6 +150,7 @@ telemetry_event() {
150
"error_code": "${3}",
151
"error_message": "${2}",
152
"install_options": "${KICKSTART_OPTIONS}",
153
+ "install_interactivity": "${INTERACTIVE}",
154
"total_runtime": "${total_duration}",
155
"selected_install_method": "${SELECTED_INSTALL_METHOD}",
156
"netdata_release_channel": "${RELEASE_CHANNEL:-null}",
packaging/installer/methods/kickstart.md
+1
-1
@@ -136,7 +136,7 @@ To use `md5sum` to verify the integrity of the `kickstart.sh` script you will do
136
run the following:
137
138
```bash
139
-[ "42b5969be5d38ac696e21e444df72f86" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
139
+[ "862580a7c6e4b973b6fcfd907e2f1bbc" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
140
```
141
142
If the script is valid, this command will return `OK, VALID`.