[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
This commit is contained in:
@@ -19,6 +19,7 @@ usage: stackalytics-processor [-h] [--config-dir DIR] [--config-file PATH]
|
||||
[--ssh-key-filename SSH_KEY_FILENAME]
|
||||
[--ssh-username SSH_USERNAME]
|
||||
[--syslog-log-facility SYSLOG_LOG_FACILITY]
|
||||
[--translation-team-uri TRANSLATION_TEAM_URI]
|
||||
[--use-syslog] [--use-syslog-rfc-format]
|
||||
[--verbose] [--version] [--watch-log-file]
|
||||
|
||||
@@ -96,6 +97,8 @@ optional arguments:
|
||||
--syslog-log-facility SYSLOG_LOG_FACILITY
|
||||
Syslog facility to receive log lines. This option is
|
||||
ignored if log_config_append is set.
|
||||
--translation-team-uri TRANSLATION_TEAM_URI
|
||||
URI for translation team data
|
||||
--use-syslog Use syslog for logging. Existing syslog format is
|
||||
DEPRECATED and will be changed later to honor RFC5424.
|
||||
This option is ignored if log_config_append is set.
|
||||
|
||||
Reference in New Issue
Block a user