зеркало из https://github.com/mozilla/bedrock.git
Bug 775534 - Add statsd logging for requests.
This commit is contained in:
Родитель
3e5eb413ba
Коммит
6e7ac6dcc9
|
@ -16,3 +16,9 @@
|
|||
[submodule "vendor-local/src/django-dnt"]
|
||||
path = vendor-local/src/django-dnt
|
||||
url = https://github.com/mozilla/django-dnt.git
|
||||
[submodule "vendor-local/src/django-statsd"]
|
||||
path = vendor-local/src/django-statsd
|
||||
url = git://github.com/andymckay/django-statsd.git
|
||||
[submodule "vendor-local/src/pystatsd"]
|
||||
path = vendor-local/src/pystatsd
|
||||
url = git://github.com/jsocol/pystatsd.git
|
||||
|
|
|
@ -27,3 +27,5 @@ Babel>=0.9.4
|
|||
-e git://github.com/fwenzel/django-mozilla-product-details#egg=django-mozilla-product-details
|
||||
|
||||
python-memcached==1.45
|
||||
|
||||
django-statsd-mozilla==0.3.5
|
|
@ -352,6 +352,8 @@ PROD_DETAILS_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)),
|
|||
'lib/product_details_json')
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
'django_statsd.middleware.GraphiteRequestTimingMiddleware',
|
||||
'django_statsd.middleware.GraphiteMiddleware',
|
||||
'funfactory.middleware.LocaleURLMiddleware',
|
||||
#'multidb.middleware.PinningRouterMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
|
@ -371,6 +373,7 @@ INSTALLED_APPS = (
|
|||
'funfactory', # Content common to most playdoh-based apps.
|
||||
'jingo_minify',
|
||||
'tower', # for ./manage.py extract (L10n)
|
||||
'django_statsd',
|
||||
|
||||
# Django contrib apps
|
||||
'django.contrib.auth',
|
||||
|
|
|
@ -26,3 +26,8 @@ EMAIL_HOST_PASSWORD = ''
|
|||
EMAIL_HOST = ''
|
||||
EMAIL_PORT = 25
|
||||
EMAIL_USE_TLS = False
|
||||
|
||||
STATSD_HOST = ''
|
||||
STATSD_PORT = 8125
|
||||
STATSD_PREFIX = 'bedrock'
|
||||
STATSD_CLIENT = 'django_statsd.clients.normal'
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d77e1c60ae07d9a253e084f11969c2803f1800d3
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 3e78169def352792ace04317096208fb782fc348
|
|
@ -4,6 +4,8 @@ src/basket-client
|
|||
src/feedparser/feedparser
|
||||
src/django-recaptcha
|
||||
src/django-dnt
|
||||
src/django-statsd
|
||||
src/pystatsd
|
||||
packages/requests
|
||||
packages/certifi
|
||||
packages/chardet
|
||||
|
|
Загрузка…
Ссылка в новой задаче