Rfaulk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/53868


Change subject: add. Some new global settings for metrics-api project.
......................................................................

add. Some new global settings for metrics-api project.

Change-Id: I195254906cac51c7ec0ce9e5699037697b1b7fd6
---
M templates/misc/e3-metrics.settings.py.erb
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/68/53868/1

diff --git a/templates/misc/e3-metrics.settings.py.erb 
b/templates/misc/e3-metrics.settings.py.erb
index 72c5da7..5669407 100644
--- a/templates/misc/e3-metrics.settings.py.erb
+++ b/templates/misc/e3-metrics.settings.py.erb
@@ -1,6 +1,9 @@
 # Project settings
 # ================
 
+__instance_host__ = 'metrics.wikimedia.org'
+__instance_port__ = 5000
+
 __project_home__            = '<%= e3_analysis_path %>'
 __web_home__                = ''.join([__project_home__, 'user_metrics/api/'])
 __data_file_dir__           = ''.join([__project_home__, 'data/'])
@@ -8,12 +11,15 @@
 __query_module__            = 'user_metrics.query.query_calls_sql'
 __user_thread_max__         = 100
 __rev_thread_max__          = 50
+__time_series_thread_max__  = 6
 
 __cohort_data_instance__    = 'cohorts'
 __cohort_db__               = 'usertags'
 __cohort_meta_db__          = 'usertags_meta'
 __cohort_meta_instance__    = 'prod'
 
+__secret_key__ = 'yoursecretkeyhere'
+
 
 # Database connection settings
 # ============================

-- 
To view, visit https://gerrit.wikimedia.org/r/53868
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I195254906cac51c7ec0ce9e5699037697b1b7fd6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rfaulk <rfaulk...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to