Send telemetry to raspberrypi.com

In order to be consistent with other services moving to raspberrypi.com,
send telemetry there instead of raspberrypi.org.

Note that the raspberrypi.org endpoint will continue to work
indefinitely in order to support existing clients.
This commit is contained in:
Paul Mucur 2021-10-13 08:18:07 +01:00
parent fc1a028cbd
commit 716abd149b
No known key found for this signature in database
GPG key ID: 39AC3530070E0F75
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ So can simply create another 'start menu shortcut' to the application with that
### Telemetry
In order to understand which images and operating systems are most popular and re-organise the application accordingly, when using the default image repository, the URL, operating system name and category (if present) of a selected image are sent to https://rpi-imager-stats.raspberrypi.org by [`downloadstatstelemetry.cpp`](https://github.com/raspberrypi/rpi-imager/blob/qml/downloadstatstelemetry.cpp).
In order to understand which images and operating systems are most popular and re-organise the application accordingly, when using the default image repository, the URL, operating system name and category (if present) of a selected image are sent to https://rpi-imager-stats.raspberrypi.com by [`downloadstatstelemetry.cpp`](https://github.com/raspberrypi/rpi-imager/blob/qml/downloadstatstelemetry.cpp).
This web service is hosted by [Heroku](https://www.heroku.com) and only stores an incrementing counter using a [Redis Sorted Set](https://redis.io/topics/data-types#sorted-sets) for each URL, operating system name and category per day in the `eu-west-1` region and does not associate any personal data with those counts. This allows us to query the number of downloads over time and nothing else.

View file

@ -14,7 +14,7 @@
#define TIME_URL "http://downloads.raspberrypi.org/os_list_imagingutility_v2.json?time_synchronization"
/* Phone home the name of images downloaded for image popularity ranking */
#define TELEMETRY_URL "https://rpi-imager-stats.raspberrypi.org/downloads"
#define TELEMETRY_URL "https://rpi-imager-stats.raspberrypi.com/downloads"
#define TELEMETRY_ENABLED_DEFAULT true
/* Hash algorithm for verifying (uncompressed image) checksum */