Permalink
Browse files

Add statsd + basic data, bug 698799

  • Loading branch information...
1 parent c73acfe commit faec9c30e5de0a4235db0bb982ed3b7c0b22e109 @davedash davedash committed Nov 3, 2011
Showing with 5 additions and 2 deletions.
  1. +2 −1 settings.py
  2. +3 −1 settings_local.py-dist
View
@@ -251,7 +251,8 @@ def JINJA_CONFIG():
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
-
+ 'commonware.response.middleware.GraphiteMiddleware',
+ 'commonware.response.middleware.GraphiteRequestTimingMiddleware',
'commonware.middleware.FrameOptionsHeader',
)
@@ -35,8 +35,10 @@ DATABASES = {
}
}
-
MIDDLEWARE_CLASSES += (
# 'debug_toolbar.middleware.DebugToolbarMiddleware'
)
+STATSD_HOST = 'localhost'
+STATSD_PORT = 8125
+STATSD_PREFIX = 'input'

0 comments on commit faec9c3

Please sign in to comment.