Auto-tools/Projects/Alerts

From MozillaWiki
Jump to navigation Jump to search

Datazilla Alerting System

Overview

History

dzAlerts started as code inside Datazilla, hence the name. A few design changes were made during development:

  • The alerting code was distinct from the Datazilla code in that it was designed as stand alone deamons, with little integration with the main UI-centric code.
  • Integrating the alerts data access into the existing Datazilla database access pattern required too much boilerplate code that required additional maintenance as the project evolved.
  • The Datazilla database schema was not designed for pulling long time series on individual tests in a performant way.
  • The release schedules were different.

dzAlerts is now completely separate, and uses an ElasticSearch cluster to pull slices of the test results data cube. It maintains enough information about the alerts so it can provide links to the Datazilla UI.

Motivation

Nomenclature

General Design

Window Functions

Code