Lumos: A Library for Diagnosing Metric Regressions in Web-Scale Applications

Jamie Pool, Ebrahim Beyrami, Vishak Gopal, Ashkan Aazami, Jayant Gupchup +5 more
6/23/2020
cs.CYcs.AIcs.SI

Official code: microsoft/MS-Lumos (122 stars, Python, MIT, last commit 2023-07-06).

Abstract

Web-scale applications can ship code on a daily to weekly cadence. These applications rely on online metrics to monitor the health of new releases.

Show full abstract

Regressions in metric values need to be detected and diagnosed as early as possible to reduce the disruption to users and product owners. Regressions in metrics can surface due to a variety of reasons: genuine product regressions, changes in user population, and bias due to telemetry loss (or processing) are among the common causes. Diagnosing the cause of these metric regressions is costly for engineering teams as they need to invest time in finding the root cause of the issue as soon as possible. We present Lumos, a Python library built using the principles of AB testing to systematically diagnose metric regressions to automate such analysis. Lumos has been deployed across the component teams in Microsoft's Real-Time Communication applications Skype and Microsoft Teams. It has enabled engineering teams to detect 100s of real changes in metrics and reject 1000s of false alarms detected by anomaly detectors. The application of Lumos has resulted in freeing up as much as 95% of the time allocated to metric-based investigations. In this work, we open source Lumos and present our results from applying it to two different components within the RTC group over millions of sessions. This general library can be coupled with any production system to manage the volume of alerting efficiently.

View on arXivView PDF

Code Implementations(1)

microsoft/MS-LumosOfficial100%
MIT

Tools to compare metrics between datasets, accounting for population differences and invariant features.

12216PythonNov 21, 20193 years agoMIT

Similar Papers

Cite this paper

@article{pool2020lumos,
  title  = {Lumos: A Library for Diagnosing Metric Regressions in Web-Scale Applications},
  author = {Jamie Pool and Ebrahim Beyrami and Vishak Gopal and Ashkan Aazami and Jayant Gupchup and Jeff Rowland and Binlong Li and Pritesh Kanani and Ross Cutler and Johannes Gehrke},
  year   = {2020},
  eprint = {2006.12793},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.12793}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.12793.svg)](https://codeofpaper.com/paper/2006.12793)

Discussion