Skip to content
Browse files

bug 783340 - changed raw statsd to use django-statsd (which can be ba…

…cked by metlog)
  • Loading branch information...
1 parent a62e1b4 commit 41f892da87540c39487cc982e38346111c59b39d Victor Ng committed Sep 12, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 lib/geoip/__init__.py
  2. +1 −1 mkt/inapp_pay/verify.py
  3. +1 −1 services/pfs.py
  4. +1 −1 services/update.py
  5. +1 −1 services/verify.py
View
2 lib/geoip/__init__.py
@@ -1,7 +1,7 @@
import json
import logging
import socket
-from statsd import statsd
+from django_statsd.clients import statsd
from mkt import regions
View
2 mkt/inapp_pay/verify.py
@@ -8,7 +8,7 @@
from django.conf import settings
import jwt
-from statsd import statsd
+from django_statsd.clients import statsd
import amo
from market.models import Price
View
2 services/pfs.py
@@ -17,7 +17,7 @@
setup_environ(settings)
# This has to be imported after the settings so statsd knows where to log to.
-from statsd import statsd
+from django_statsd.clients import statsd
# Go configure the log.
log_configure()
View
2 services/update.py
@@ -16,7 +16,7 @@
import settings_local as settings
setup_environ(settings)
# This has to be imported after the settings so statsd knows where to log to.
-from statsd import statsd
+from django_statsd.clients import statsd
try:
from compare import version_int
View
2 services/verify.py
@@ -21,7 +21,7 @@
# This has to be imported after the settings (utils).
import receipts # used for patching in the tests
from receipts import certs
-from statsd import statsd
+from django_statsd.clients import statsd
class VerificationError(Exception):

2 comments on commit 41f892d

@andymckay

I don't know if the services will still work with this services are run as seperate wsgi scripts and may not have the full settings treatment. We should check these out on -dev.

r+wc

Please sign in to comment.
Something went wrong with that request. Please try again.