Releases: DataDog/datadogpy
Releases · DataDog/datadogpy
v0.34.1
v0.34.0
- [Deprecated] Alias
dog
script names asdogshell
. Please start usingdogshell
instead ofdog
command. See #305. Thanks dwminer. - [Fixed] [dogshell] Enforce the default 'normal' event priority client side. See #511.
- [Fixed] [dogstatsd] Handle EAGAIN socket error when dropping packets. See #515. Thanks mrknmc.
- [Fixed] [dogstatsd] Handle OSError on socket.close on Python 3.6+. See #510. Thanks charettes.
- [Added] [dogstatsd] Add
statsd_constant_tags
kwarg to datadog.initialize(). See #494. Thanks kainswor. - [Added] [dogstatsd] Adding telemetry to dogstatsd. See #505.
- [Added] [dogwrap] Add duration as metric. See #506.
- [Added] [dogwrap] Add option to send to EU endpoint. See #502.
- [Added] [dogwrap] Add warning option for dogwrap based on exit codes. See #471. Thanks dabcoder.
- [Added] Include LICENSE in MANIFEST.in. See #500. Thanks jjhelmus.
- [Added] Add base class for all exceptions. See #496. Thanks hakamadare.
- [Added] Tag normalization. See #489.
v0.33.0
- [FEATURE] Roles and Permissions APIs #481
- [FEATURE] Add support for Azure, GCP and AWS integrations endpoints #429
- [FEATURE] Add support for new
Monitor.can_delete
endpoint #474 - [FEATURE] Add support for the
Monitor.validate
endpoint #487 - [FEATURE] Add support for
/v1/downtime/cancel/by_scope
#488 - [IMPROVEMENT] Dogshell: remove Exception wrapping #477
v0.32.0
v0.31.0
- [BUGFIX] Fix possible issue that could leak file descriptors when reading config #425
- [BUGFIX] Fix graph snapshot status endpoint #448
- [BUGFIX] Revert users resource name to singular user as it was not fully supported #450
- [BUGFIX] Fix error printing to stderr char by char #449
- [BUGFIX] Add _return_raw_response to api module to prevent import errors before initialize is called #461
- [BUGFIX] Threadstats: Fix periodic timer error on interpreter shutdown #423
- [FEATURE] Add support for SLOs #453 and #464
- [FEATURE] Add ability to send compressed payloads for metrics and distribution. #466
- [FEATURE] Add parameter hostname_from_config to initialize to enable/disable hostname lookup from datadog-agent config to avoid warnings #428
- [FEATURE] Dogstatsd: add ability to specify a default sample rate for all submissions #470 (thanks @dtao)
- [IMPROVEMENT] Send API credentials through headers instead of URL query parameter #446
- [IMPROVEMENT] Clarify docstring for metrics API #463
- [IMPROVEMENT] Assert alert_type is correct when creating event #467
- [IMPROVEMENT] Dogshell: make query and type optional when updating a monitor #447
v0.30.0
- [BUGFIX] Treat API_HOST as URL, not as string #411
- [FEATURE] Add return_raw_response option to initialize to enable adding raw responses to return values #414
- [IMPROVEMENT] Add project URLs to package metadata #413 (thanks @Tenzer)
- [IMPROVEMENT] Add support for handling a 401 status as an API error #418
- [IMPROVEMENT] Allow configuring proxy in ~/.dogrc for usage with dogshell #415
- [IMPROVEMENT] Update user resource name to users to match new plural endpoints #421
- [OTHER] Add deprecation warning to old aws lambda threadstats integration #417
- [OTHER] Removed functionality to delete events and comments, as it's no longer supported by API #420
v0.29.3
v0.29.2
v0.29.1
v0.29.0
- [BUGFIX] Lambda wrapper: Always flush, even on exceptions, #359 (thanks @jmehnle)
- [BUGFIX] API: Do not send JSON body in GET requests, #382
- [BUGFIX] API: Allow listing timeboards with empty descriptions, #385 (thanks @Tenzer)
- [BUGFIX] Dogwrap: Better string handling and python3 support, #379
- [BUGFIX] Threadstats: ensure MetricsAggregator is threadsafe, #370 (thanks @TheKevJames)
- [BUGFIX] Dogshell: Fixes the
--tags
argument for service_checks, #387 (thanks @gordlea) - [FEATURE] API: Add support for dashboard list API v2, #374
- [IMPROVEMENT] API: Handle http code 429 rate limiting in external python library, #376
- [IMPROVEMENT] API: Add ability to not attach_host_name to metrics, events and distributions, #383
- [IMPROVEMENT] API: Return Rate Limit Headers, #378 (thanks @fdhoff)
- [IMPROVEMENT] API: Do not override API parameters with default when calling initialize if they are already set, #386
- [IMPROVEMENT] Dogshell: Add
--tags
support to monitors, #356 - [IMPROVEMENT] Dogshell: Add documentation for environment variables, #388 (thanks @sc68cal)
- [IMPROVEMENT] Dogstatsd: Added a new parameter
statsd_default_namespace
to theinitialize
method, #353 (thanks @lceS2) - [IMPROVEMENT] Import Iterable from collections.abc on python3 to avoid deprecation warning, #381
- [IMPROVEMENT] Do not capture
/bin/hostname
stderr, #368 (thanks @brendanlong) - [IMPROVEMENT] Add support for environment variables
DD_API_KEY
andDD_APP_KEY
for setting API and APP keys respectively, #373