Releases: DataDog/datadogpy
Releases · DataDog/datadogpy
v0.19.0
0.19.0 / 2018-02-08
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:
- Metric queries can use the
.as_count()
/.as_rate()
functions to switch between count and rate representations. - 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
v0.18.0
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)
- [FEATURE] DogstatsD: Add beta support for sending global distribution metrics, #249
v0.17.0
0.17.0 / 2017-11-06
- [BUGFIX] API: Discard non-null parameters in
api.ServiceCheck.check
method, #206, #207 (thanks @ronindesign) - [BUGFIX] API: Update HTTP method from
GET
toPOST
forapi.Screenboard.share
method, #234 (thanks @seiro-ogasawara) - [BUGFIX] Dogwrap: Encode from unicode before writing to stdout, stderr, #201, #203 (thanks @ronindesign)
- [FEATURE] API: Add
list
method toMetric
resource, #230 (thanks @jbain) - [FEATURE] DogStatsD: Add
socket_path
option to enable Unix socket traffic to DogStatsD 6, #199 - [IMPROVEMENT] DogStatsD: Improve performances, speed up payload construction, #233 (thanks @shargan)
v0.16.0
v0.15.0
0.15.0 / 2017-01-24
- [FEATURE] API: Add metric metadata endpoints #181
- [IMPROVEMENT] API: Disable redirection following with
urlfetch
HTTP library #168 (thanks @evanj) - [IMPROVEMENT] API: Increase default timeout from 3 to 60 seconds #174 (thanks @ojongerius)
- [IMPROVEMENT] DogStatsD: Better exceptions on system default route resolution failures #166, #156
- [IMPROVEMENT] DogStatsD: Close sockets when freed #167 (thanks @thehesiod)
v0.14.0
0.14.0 / 2016-09-22
Logging
dd.datadogpy
logger name is no longer. datadog
now uses logger names matching the project hierarchy, i.e.
datadog.api
datadog.statsd
datadog.threadstats
By default, datadog
loggers are set with a do-nothing handler (NullHandler
).
To setup a different handler, one can add a handler
import logging
logging.getLogger("datadog").addHandler(...)
Changes
- [FEATURE] DogStatsD: Provide elapsed time from the
timed
decorator, #154 (thanks @tuukkamustonen) - [FEATURE] DogStatsD: Allow starting and stopping
timed
manually, #155 (thanks @tuukkamustonen) - [IMPROVEMENT] DogStatsD: Support timing for coroutine functions on Python 3.5 or higher, #146 (thanks @thehesiod)
- [OTHER] Rename loggers and set null handlers, #161
v0.6.1
v0.13.0
0.13.0 / 2016-08-24
- [BUGFIX] Dogshell: Fix
UnicodeError
exceptions when a timeboard name contains non ascii characters, #140 - [BUGFIX] DogStatsD: Support unicode characters in tags, #132, #152
- [BUGFIX] ThreadStats: Fix
RuntimeError
exceptions on flush caused by an unsafe thread operation, #143, #151 (thanks @leozc) - [FEATURE] API: Add
delete
method forEvent
resource, #145 - [IMPROVEMENT] DogStatsD: Have
timed
context manager to return itself, #147 (thanks @ross)
v0.12.0
v0.11.0
0.11.0 / 2016-03-14
- [BUGFIX] Dogshell: Print usage when no argument is given on Python 3, #123
- [BUGFIX] DogStatsD: Do not modify metric-level
tags
parameters whenconstant_tags
is set, #94 (thanks @steven-liu) - [BUGFIX] DogStatsD: Fix thread-safety of the
[@timed][]
decorator, #126 (thanks @mgood) - [BUGFIX] ThreadStats: Do not modify metric-level
tags
parameters whenconstant_tags
is set, #94, #117 (thanks @steven-liu) - [FEATURE] Dogshell: Add an
alert_type
option forevent post
, #120 (thanks @drstevens) - [FEATURE] DogStatD: Set constant tags from
DATADOG_TAGS
environment variable, #114 (thanks @ewdurbin ) - [FEATURE] DogStatsD: Support namespace, #118
- [FEATURE] ThreadStats: Set constant tags from
DATADOG_TAGS
environment variable, #114 (thanks @ewdurbin ) - [FEATURE] ThreadStats: Support namespace, #118
- [IMPROVEMENT] API: Support real numerical data types in
Metrics
, #103 - [IMPROVEMENT] Dogshell: Attach hostname by default to event and metric posts, #122
- [IMPROVEMENT] DogStatsD: Discard
None
values, #119 (thanks @dcrosta) - [IMPROVEMENT] DogStatsD: Import from top level, #105
- [IMPROVEMENT] Dogwrap: Trim output and update event format, #104 (thanks @gnarf)
- [OTHER] API: Adjust the documentation, #96, #101, #110, #111 (thanks @aristiden7o, @emad, @aknuds1, @meawoppl)
- [OTHER] Dogshell: Update misleading help message for
event stream
, #124