Releases: DataDog/datadogpy
v0.22.0
0.22.0 / 2018-06-27
New API endpoint: https://api.datadoghq.com/api
The Datadog API client now uses https://api.datadoghq.com/api endpoint instead of https://app.datadoghq.com/api.
See #257 for more details.
- [BUGFIX] API: Close requests' sessions to limit memory usage, #272 (thanks @thehesiod)
- [BUGFIX] Dogwrap: Fix
TypeErrorexceptions when truncatingstdout,stderrwith Python 3, #260, #267 (thanks @cabouffard, @glasnt) - [FEATURE] DogStatsD: Add client level tags to status checks, #279 (thanks @marshallbrekka)
- [FEATURE] DogStatsD: Add support for
statsd_socket_pathoption ininitializefunction, #282 - [IMPROVEMENT] Dogwrap: Default output encoding to UTF-8, #268 (thanks @glasnt)
v0.21.0
0.21.0 / 2018-06-04
Search hosts: Infrastructure.search is deprecated
The Infrastructure.search method is deprecated in favor of the new Hosts.search method.
v0.20.0
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
Ratemetric 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.checkmethod, #206, #207 (thanks @ronindesign) - [BUGFIX] API: Update HTTP method from
GETtoPOSTforapi.Screenboard.sharemethod, #234 (thanks @seiro-ogasawara) - [BUGFIX] Dogwrap: Encode from unicode before writing to stdout, stderr, #201, #203 (thanks @ronindesign)
- [FEATURE] API: Add
listmethod toMetricresource, #230 (thanks @jbain) - [FEATURE] DogStatsD: Add
socket_pathoption 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
urlfetchHTTP 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.apidatadog.statsddatadog.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
timeddecorator, #154 (thanks @tuukkamustonen) - [FEATURE] DogStatsD: Allow starting and stopping
timedmanually, #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