Skip to content

Releases: DataDog/datadogpy

v0.22.0

27 Jun 17:01
5ca3231

Choose a tag to compare

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 TypeError exceptions when truncating stdout, stderr with 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_path option in initialize function, #282
  • [IMPROVEMENT] Dogwrap: Default output encoding to UTF-8, #268 (thanks @glasnt)

v0.21.0

04 Jun 19:42
fc27967

Choose a tag to compare

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.

  • [BUGFIX] API: Prevent exception contexts from logging URLs and credentials, #266
  • [FEATURE] API: Add search and totals methods to the Hosts resource, #261

v0.20.0

19 Mar 22:40
2418406

Choose a tag to compare

0.20.0 / 2018-03-23

  • [FEATURE] API: New DashboardList resource, #252

v0.19.0

08 Feb 20:10
be83ecf

Choose a tag to compare

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:

  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

v0.18.0

24 Jan 21:34
84adb9c

Choose a tag to compare

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

03 Nov 21:57
ca7406f

Choose a tag to compare

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 GET to POST for api.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 to Metric 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

26 Apr 18:37

Choose a tag to compare

0.16.0 / 2017-04-26

  • [FEATURE] Dogshell: Add filtering options to the monitor show_all command, #194

v0.15.0

24 Jan 15:16

Choose a tag to compare

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

22 Sep 13:10

Choose a tag to compare

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

09 Sep 19:08
6f1d687

Choose a tag to compare

0.6.1 / 2016.09.09