OpenStack analytics dashboard
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Vladimir Maliaev f6f54bec12 Add Vladimir Maliaev
Change-Id: Ic9f79f898fdb14c475b6fcf3da7913f02c3774c3
4 years ago
doc/source Added github config options 4 years ago
etc Add Vladimir Maliaev 4 years ago
stackalytics Fix pep8 tests 4 years ago
tools Add tool to match default_data.json against OpenStackID service 6 years ago
.gitignore Switch to stestr 5 years ago
.gitreview Update .gitreview for new namespace 8 years ago
.stestr.conf Switch to stestr 5 years ago
.zuul.yaml Add python 3.6 unit test job 5 years ago
LICENSE Initial code commit 10 years ago Initial code commit 10 years ago
README.rst Remove "-y" option for package install command. 5 years ago
config-generator.conf Separate config module 6 years ago
requirements.txt Add config validation for default_data 6 years ago
setup.cfg Change openstack-dev to openstack-discuss 5 years ago Sync requirements with OpenStack global requirements 6 years ago
test-requirements.txt Switch to stestr 5 years ago
tox.ini Add python 3.6 unit test job 5 years ago



Application Features

Stackalytics is a service that automatically analyzes OpenStack development activities and displays statistics on contribution. The features are: * Extraction of author information from git log, store it in the database; * Calculate metrics on number of lines changed (LOC) and commits; * Mapping authors to companies and launchpad ids; * Filter statistics by time, modules, companies, authors; * Extract blueprint and bug ids from commit messages; * Auto-update of database.


To run Stackalytics, you first need to create two kind of configuration files. The one is default_data.json which shows which sources(git repo, ml, etc.) need to be analyzed. Another is stackalytics.conf which shows basic configuration like HTTP listening host and port, etc. Stackalytics repository contains the default files of these configuration under etc/ directory. It would be useful to copy and change them as you like.

  1. You need to install Stackalytics. This is done with pip after you check out Stackalytics repository:

    $ git clone
    $ cd stackalytics
    $ sudo pip install -r requirements.txt
    $ sudo python install
  2. Install and run memcached DB:

    $ sudo apt-get install memcached
    $ memcached -u memcache -d
  3. Analyze data which are specifed on default_data.json and store the data into memcached DB:

    $ stackalytics-processor
  4. Start HTTP server of Stackalytics:

    $ stackalytics-dashboard
  5. Users can access Stackalytics site on as the default.

Project Info