Measurement Lab: Telescope
The Telescope project is no longer maintained. Code in the repository will not work with current M-Lab BigQuery tables and views.
Dependencies
Packages
pip install -r requirements.txt
Test Dependencies
These additional packages are required to run Telescope unit tests.
pip install -r test-requirements.txt
Google Developer Console
Telescope requires the user to have a Google account with at least one project in Google Developer Console.
Note: Telescope makes queries against the M-Lab BigQuery dataset, which is free and therefore will not accrue charges against your account nor require Billing to be enabled.
To create a project:
QuickStart
pip install -r requirements.txt
python telescope/telescope.py documentation/examples/interconnection_study_example.json
When all queries complete, the results will be placed in the processed/
folder. Each output file will contain results for the specified metric in CSV format of (UNIX timestamp, value).
Working with Selector Files
Telescope takes as input "selector files," which specify what data to retrieve. Example selector files are available in documentation/examples
. It is simple to modify these example selector files to instruct Telescope to retrieve the data of your choice. Full documentation of selector files is available in documentation/selector-file-spec.md
.