Telemetry/Alerts
Telemetry Alerts
Many Telemetry probes were created to show performance trends over time. Sudden changes happening in Nightly could be the sign of an unintentional performance regression, so we introduced a system to automatically detect and alert developers about such changes.
What is is
Telemetry Alerts comes in two pieces: Cerberus the Detector and Medusa the Front-end.
Cerberus
Every day Cerberus grabs the latest aggregated information about all non-keyed Telemetry probes from aggregates.telemetry.mozilla.org and compares the distribution of values from the Nightly builds of the past two days to the distribution of values from the Nightly builds of the past seven days.
It places all detected changes in a file for ingestion by Medusa.
Medusa
Medusa is in charge of emailing people when distributions change and for displaying the website alerts.telemetry.mozilla.org which contains pertinent information about each detected regression.
Medusa also checks for expiring histograms and sends emails notifying of their expiry.
What it can do
Telemetry Alerts is very good at identifying sudden changes in the shapes of normalized distributions of Telemetry probes. If you go to telemetry.mozilla.org and look at one day of GC_MS then look at the next and you can see the shift, then likely so can Cerberus.
What can't it do
Telemetry Alerts is not able to see sudden shifts in volume. It is also very easily fooled if a change happens over a long period of time or doesn't fundamentally alter the shape of the probe's histogram.