Merge pull request #2290 from charltonaustin/add_metrics_for_imagestoragereplication

Adding a metrics queue for imagestoragereplication
This commit is contained in:
Charlton Austin 2017-01-24 13:06:06 -05:00 committed by GitHub
commit d0c6c47fb1

3
app.py
View file

@ -212,7 +212,8 @@ dex_login = DexOAuthConfig(app.config, 'DEX_LOGIN_CONFIG')
oauth_apps = [github_login, github_trigger, gitlab_trigger, google_login, dex_login]
image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf, has_namespace=False)
image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf,
has_namespace=False, metric_queue=metric_queue)
dockerfile_build_queue = WorkQueue(app.config['DOCKERFILE_BUILD_QUEUE_NAME'], tf,
reporter=BuildMetricQueueReporter(metric_queue),
has_namespace=True)