The Lab Metrics project was started to quantify lab usage. Our primary goals include answering the following questions:
To do this we have researched some existing software packages and come to the conclusion that our best solution would involve building our own service. The closest software package that fits our needs would be LabStats by Computer Lab Solutions. However there are several pitfalls which we want to avoid:
Due to the request to do this sans-daemon and the cost of the package, we believe that we can do better building our own service in house.
Our primary goal is to build a service and web front end that will allow an admin to see useful statistics (time series data) about lab usage. Specifically, our goals will be:
Have a quick question or comment? Join the Lab Metrics discussion at #metrics on irc.ccs.neu.edu.
First download setupmetrics.sh onto your home directory in a CCIS Linux machine.
This is a script that will attempt to get all sources from crew-git and it will install all dependencies. The sources will go to
./metrics and the environment (dependencies) will go to
If you are do not want this in your CCIS home, then either edit the script to point
To run the backend or the frontend, you need to have MongoDB running. There is a copy of MongoDB at
/proj/crew/lee/bin/mongod. So, you can do
mkdir -p /var/tmp/$USER/data /proj/crew/lee/bin/mongod --dbpath /var/tmp/$USER/data
If not on CCIS Linux, download the current 1.6 version from http://www.mongodb.org/downloads.
The backend should be installed in your environment, so:
cd metrics/backend source env/bin/activate python setup.py install flamongo
Ensure the backend is running.
cd metrics/frontend source env/bin/activate cd growler python manage.py runserver 0.0.0.0:8000
Adam Alix - Backend / Aggregator / Frontend / API
Alex Lee - Backend / Aggregator / API
Nick Aldwin - Backend
Sarah Laplante - Aggregator
Chris Jelly - Backend / Aggregator / Frontend
Ali Green - Frontend
Casey Brown - Frontend
Robert Noack - Aggregator
Gary Katsevman - Frontend
Anonymous access urls:
Write access urls:
Talk to one of the crew elders for write access.