Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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
Owner

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
Owner

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 authored
    …cked by metlog)
This page is out of date. Refresh to see the latest.
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.