Extract methods and rename some variables to make the code cleaner.
Use parameter max_buffer_size in the initialization of connection.
Change-Id: Idc537816692adf64eb6b77ea02ca1e507cf2588b
License is now Apache + the original DataDog license,
i.e., dual licensing
Add the DataDog license and copyright to all files that have
the Apache license
Added that code was forked from Datadog's dogstatsd-python to
README.md
Change-Id: I90f1de2aad9f69316bf2cf44a00849d785c2bc64
Add support for python3 using the six library.
Change-Id: I90851ddf5a98ca05c494a49e4063e1bd233cccee
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: If90022aa967e9cd898b6ff97da9643102c2c8150
The monascastatsd client allowed the host and port to be set but only if you
constructed a Connection object yourself. This allows you just to specify
host and port when constructing the client object.
Change-Id: Ib49e261b915c07bf8f7036164f1e4814d80ecc1f
Removing references to histogram and set types.
Converting timer data from histogram type to gauge.
Enabling tox jobs because I was depending on them to tell me if I screwed
something up.
Change-Id: If9fbbf655baca67e7f205e4493c0929ac90d386a
The monasca-statsd package was in one monolithic class in
a single file. Made it more modular and broke it into classes
for the different metrics types, connection and added a Client
class for easy management.
Change-Id: If4f204f656cc8f8603b5e96e0e734983b3aadcd6