8 Commits

Author SHA1 Message Date
Ilya Shakhat
bc434a6d14 [WIP] Added translation metric
Translation stats are retrieved from Zanata service. List of projects
and versions is taken from Zanata API. List of users is configured
in openstack/i18n repo and referred by URI.

Processor reads stats for every project-version-user-week and yields
records of new type 'tr'. UI is extended to show breakdown by languages.

Zanata module is based on https://review.openstack.org/#/c/275145/

Co-Authored-By: daisy-ycguo <guoyingc@cn.ibm.com>
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>

Change-Id: Ic1b44f09f7eb592d75d435f66a71d3110a2f49a5
2016-02-17 17:24:55 +03:00
Ilya Shakhat
00912c1941 Regenerate docs with the recent libraries
Change-Id: I65e021af0e7283975f232578a91251c3b7833bbe
2016-02-17 17:19:40 +03:00
Ilya Shakhat
b33acedadc Specify remote server read timeout
Avoid hanging requests to Launchpad by specifying read timeout.
A new config param 'read_timeout' is introduced, defaults to 120 sec.

Change-Id: I32a68e482bfe53845b7c918c3770171ebaea2437
2015-11-05 15:13:13 +03:00
Ilya Shakhat
8ae5870830 Remove project_list_uri config parameter
With the patch https://review.openstack.org/229966 Stackalytics
gets list of project on per-release basis. The separate global
parameter 'project_list_uri' is not needed anymore and may be
safely removed.

Change-Id: Ifcd579162b8a25c99cec24b854127cd26352b1c0
2015-10-08 18:24:20 +03:00
Ilya Shakhat
11db9c1de6 Update from global-requirements
1. python-memcached is now Py3 compatible, the separate reqs file
   is not needed
2. update tox.ini from latest cookiecutter
3. re-generated docs for cli

Change-Id: Id0d394f12618bc5ec7860a57043641efcdc6715f
2015-08-04 16:17:12 +03:00
Ilya Shakhat
47a809bc11 Split config definitions to make CLI help cleaner
Change-Id: I2903a3e61597913c6ace84605879b06526ad07f7
2015-06-22 15:54:18 +03:00
Ilya Shakhat
4ee02f0b6c Show warning if data is older than configured value
The patch introduces config param 'age-warn' with default value
in 2 days. The warning message will be useful for cases when
processor stuck or data was recovered from the dump.

Change-Id: I910b87da5c664fbda7d25e77ee51554f01ad9bc2
2015-06-02 16:35:56 +03:00
Ilya Shakhat
5761a9e584 Enable config auto-generation
Change-Id: I561f4264bfad614cffa8e768cdfd1eb87f0e21c1
2015-04-01 18:54:29 +03:00