The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I8d9549e4653f4df7ec9f34f54f15bf0a18c9d8e2
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Remove hacking and friends from lower-constraints, they are not needed
there.
Change-Id: I013b73347ed56c8c64a8aff73ec60ea738bc0c76
Following commits accomplishes several things:
* unit tests run with ostestr
* coverage calculation
* documentation generated using OS approach & theme
* bandit linting
Change-Id: I6c3b48805c237f0ad95220b90ff66b045c7478fb
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>
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