OpenStack analytics dashboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Zuul 2638e3ed1e Merge "Add my affiliation to Dell EMC" 1 month ago
doc/source Added github token support for github autentification 2 years ago
etc Merge "Add my affiliation to Dell EMC" 1 month ago
stackalytics Rename to OpenInfra foundation 1 year ago
tools Add tool to match default_data.json against OpenStackID service 5 years ago
.gitignore Switch to stestr 4 years ago
.gitreview OpenDev Migration Patch 3 years ago
.stestr.conf Switch to stestr 4 years ago
.zuul.yaml Disable tox py35 job 10 months ago
LICENSE Initial code commit 9 years ago
MANIFEST.in Initial code commit 9 years ago
README.rst Switch IRC references from freenode to OFTC 5 months ago
config-generator.conf Separate config module 5 years ago
requirements.txt [CI]require Jinja2<3.1.0 5 months ago
setup.cfg Clean up some twine warnings and errors 3 years ago
setup.py Sync requirements with OpenStack global requirements 5 years ago
test-requirements.txt Update hacking 2 years ago
tox.ini Update company association for gibi 4 months ago

README.rst

Stackalytics

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.

Quickstart

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 https://opendev.org/x/stackalytics
    $ cd stackalytics
    $ sudo pip install -r requirements.txt
    $ sudo python setup.py 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 http://127.0.0.1:8080 as the default.

Project Info