From 716abd149b4f10e1d19f9784b726e7c1610f8461 Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Wed, 13 Oct 2021 08:18:07 +0100 Subject: [PATCH] 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. --- README.md | 2 +- config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e785a1a..a93e4c5 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/config.h b/config.h index 104b8c6..911f8c0 100644 --- a/config.h +++ b/config.h @@ -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 */