Skip to content

Loading…

bug 783340 - changed raw statsd to use django-statsd #415

Closed
wants to merge 1 commit into from

3 participants

@crankycoder

django-statsd can be backed by metlog

@andymckay
Mozilla member

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

@andymckay
Mozilla member

Are you waiting on something from me? I think we can merge this.

@mattbasta

bump

@crankycoder is this good to go?

@crankycoder

this was merged in f6f22c1

@crankycoder crankycoder closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 12, 2012
  1. bug 783340 - changed raw statsd to use django-statsd (which can be ba…

    Victor Ng committed
    …cked by metlog)
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):
Something went wrong with that request. Please try again.