Injectable statsd client (#7138)

* Add ability to inject statsd client; some py test/reqs updates

- Updated the metrics logger to allow construction with an existing
statsd client, so that it can be configured by external systems or libs.
- added requirements to requirements-dev.txt which are needed to run
  tests-eg coverage, nose
- removed dependency on mock lib, it is in python stdlib now
- updated tox.ini to remove the now-superfluous deps

* add license to test file, and remove blank line at EOF
This commit is contained in:
Dave Smith
2019-03-27 14:08:36 -07:00
committed by Christine Chambers
parent cd54a567dd
commit ba19a62412
14 changed files with 75 additions and 18 deletions

View File

@@ -16,8 +16,8 @@
# under the License.
import json
import unittest
from unittest.mock import Mock
from mock import Mock
from pydruid.utils.dimensions import MapLookupExtraction, RegexExtraction
import pydruid.utils.postaggregator as postaggs