Deprecated: Analysis job that generates aggregates for telemetry-dashboard
Перейти к файлу
Mark Reid 95efd81dec
Merge pull request #6 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-03-28 09:29:26 -03:00
cmake Added support for gcc 4.6 and old cmake versions 2013-12-03 22:41:30 -08:00
dashboard Handle stupid non-unicode things if they should occur... 2014-01-17 14:30:21 -08:00
src Fixed bug 960216 2014-01-17 13:30:58 -08:00
stringencoders Added fast double to string encoder 2013-11-25 17:55:54 -08:00
tests Fixed leak test 2014-01-17 13:30:19 -08:00
utils Added mkdirp for merged output to version/channel folders 2013-12-04 16:17:11 -08:00
.gitignore Fixed bugs added C++ speedups... 2013-11-25 15:12:50 -08:00
CMakeLists.txt Make release build using -static, so libraries aren't an excuse for failing... 2013-12-11 11:30:31 -08:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-27 21:21:07 -07:00
Formats.mkd New way of aggregating results, atomic at channel/version level 2013-12-05 16:52:16 -08:00
LICENSE Fixed minor bug 2013-11-26 15:45:31 -08:00
README.md Deprecate this code, link to python_mozaggregator 2016-04-13 11:04:41 -03:00
setup.py Tested an ready for deployment I think 2013-11-04 15:55:15 -08:00

README.md

Telemetry Dashboard

As of 2016-04-13, this code is deprecated. See the python_mozaggregator repo for the next iteration.

Telemetry dashboard is an analysis job that aggregates telemetry histograms and simple measures, and offers an decent presentation. The default dashboard developed in this repository is hosted at telemetry.mozilla.org. But the aggregated data is also available for consumption by third-party applications, so you don't need to do the aggregation on your own.

Consuming Telemetry Aggregations

Include into your code http://telemetry.mozilla.org/v1/telemetry.js feel free to use the other modules too. Don't go about reading the raw JSON files, they are not designed for human consumption!

Hacking Telemetry Dashboard

If you want to improve the user-interface for telemetry dashboard, clone this repository, setup a static server that hosts the html/ folder on our localhost and start hacking. This is easy!

If you want to add new aggregations, or improve upon existing aggregations, change the storage format, take a look at Formats.mkd. Talk to the guy who is maintaining telemetry dashboard.

Basic flow is as follows:

  1. An .egg file is generated with make egg
  2. Analysis tasks are created with telemetry-server
  3. DashboardProcessor from analysis.py aggregated telemetry submissions, this process is driven by telemetry-server.
  4. Aggregator from aggregator.py collects results from analysis tasks, by: 1. Downloads existing data from s3 2. Fetch task finished messages from SQS 3. Download result.txt files in parallel 4. Updates results on disk 5. Publishes updated results in a new subfolder of current/ on s3, every once in a while. 6. Check points all aggregated data to a subfolder of check-points/ on s3, every once in a while. 7. Repeat