Remove all references to datadog from our code.
This commit is contained in:
@@ -22,7 +22,6 @@ import inspect
|
||||
from importlib import import_module
|
||||
|
||||
from django.conf import settings
|
||||
from dogapi import dog_stats_api
|
||||
|
||||
from track.backends import BaseBackend
|
||||
|
||||
@@ -81,17 +80,14 @@ def _instantiate_backend_from_name(name, options):
|
||||
return backend
|
||||
|
||||
|
||||
@dog_stats_api.timed('track.send')
|
||||
def send(event):
|
||||
"""
|
||||
Send an event object to all the initialized backends.
|
||||
|
||||
"""
|
||||
dog_stats_api.increment('track.send.count')
|
||||
|
||||
for name, backend in backends.iteritems():
|
||||
with dog_stats_api.timer('track.send.backend.{0}'.format(name)):
|
||||
backend.send(event)
|
||||
backend.send(event)
|
||||
|
||||
|
||||
_initialize_backends_from_django_settings()
|
||||
|
||||
Reference in New Issue
Block a user