From da93eead32badf9cb00a09940761afeea290610d Mon Sep 17 00:00:00 2001 From: Yann MAHE Date: Thu, 8 Feb 2018 15:05:17 -0500 Subject: [PATCH] v0.19.0 --- CHANGELOG.md | 21 ++++++++++++++++++++- setup.py | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be0f7cbf1..7f47cd46a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ CHANGELOG ========= +# 0.19.0 / Unreleased + +**ThreadStats: metric type change** + +`ThreadStats` count metrics (produced from the `increment`/`decrement` and `histogram` methods) are now reported with the `count`/`rate` metric type, instead of `gauge`. +As a result, for the corresponding metrics: +1. Metric queries can use the `.as_count()`/ `.as_rate()` functions to switch between count and rate representations. +2. The default time aggregation uses a sum instead of an average. **This may affect the representation of existing metric queries, thus, monitors' definitions and metric graphs.** + +See [#242][] (thanks [@nilabhsagar][]) for more details. + + +* [BUGFIX] ThreadStats: Send count metrics with `Rate` metric type, [#242][] (thanks [@nilabhsagar][]) +* [IMPROVEMENT] ThreadStats: Flush all metrics on exit, [#221][] + + # 0.18.0 / 2018-01-24 * [BUGFIX] Dogshell: Service checks can be sent with optional parameters set to null values, [#241][] (thanks [@timvisher][]) * [BUGFIX] Dogwrap: Respect the ouput channel encoding format, [#236][] (thanks [@martin308][]) @@ -234,11 +250,13 @@ See [#8][], thanks [@benweatherman][] [#203]: https://github.com/DataDog/datadogpy/issues/203 [#206]: https://github.com/DataDog/datadogpy/issues/206 [#207]: https://github.com/DataDog/datadogpy/issues/207 +[#221]: https://github.com/DataDog/datadogpy/issues/221 [#230]: https://github.com/DataDog/datadogpy/issues/230 [#233]: https://github.com/DataDog/datadogpy/issues/233 [#234]: https://github.com/DataDog/datadogpy/issues/234 [#236]: https://github.com/DataDog/datadogpy/issues/236 [#241]: https://github.com/DataDog/datadogpy/issues/241 +[#242]: https://github.com/DataDog/datadogpy/issues/242 [#249]: https://github.com/DataDog/datadogpy/issues/249 [@GrahamDumpleton]: https://github.com/GrahamDumpleton [@aknuds1]: https://github.com/aknuds1 @@ -260,6 +278,7 @@ See [#8][], thanks [@benweatherman][] [@meawoppl]: https://github.com/meawoppl [@mgood]: https://github.com/mgood [@miketheman]: https://github.com/miketheman +[@nilabhsagar]: https://github.com/nilabhsagar [@ogst]: https://github.com/ogst [@ojongerius]: https://github.com/ojongerius [@ronindesign]: https://github.com/ronindesign @@ -270,4 +289,4 @@ See [#8][], thanks [@benweatherman][] [@thehesiod]: https://github.com/thehesiod [@timed]: https://github.com/timed [@timvisher]: https://github.com/timvisher -[@tuukkamustonen]: https://github.com/tuukkamustonen +[@tuukkamustonen]: https://github.com/tuukkamustonen \ No newline at end of file diff --git a/setup.py b/setup.py index 13561f6c9..623519d9b 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name="datadog", - version="0.18.0", + version="0.19.0", install_requires=install_reqs, tests_require=["nose", "mock"], packages=[