- [Feature] Add support of more environment variables for tagging #140 by @delner
- [OTHER] Small optimizations [#139][] by @tenderlove
- [BUGFIX] Properly close UDPSocket before creating a new one #143 by @zachmccormick
- [OTHER] Refactor to make code more idiomatic #138 by @kbogtob
- [OTHER] Refactor to translate unit tests to rspec #135 by @kbogtob
- [OTHER] Bump rake requirement to >= 12.3.3 #137 by [@remeh][]
- [FEATURE] Add configurable flush interval for the telemetry #132 by @hush-hush
- [OTHER] Code structure and tests improvements #131 by @kbogtob
- [FEATURE] Adding telemetry to the dogstatsd client #128 by @hush-hush
- [BUGFIX] Handle ECONNREFUSED and typo fix #113 by @redhotpenguin
- [BUGFIX] Allow Integer date_happened and timestamp options #115
- [OTHER] Update yard gem to 0.9.20 #114
- [FEATURE] Allow passing tags as a hash #107 by @jtzemp
- [FEATURE] Added a setting for the global sample rate #110 by @claytono
- [BUGFIX] Fix non-ascii event texts being truncated #112 by @devleoper
- [BUGFIX] Display error if
write
fails due to a bad socket #97 by @abicky
- [FEATURE] Added environment vars support for host, port and entity id #109 by @ahmed-mez
- [FEATURE] Handle ENOTCONN #102 by @blaines
- [IMPROVEMENT] Retry first before losing message when receiving ENOTCONN #104 by @blaines
- [IMPROVEMENT] Add
.open
for short-lived reporting that does not leave sockets around #96 by @grosser - [IMPROVEMENT] Extract batch logic into a class #95 by @grosser
- [IMPROVEMENT] Extract connection for separation of concerns #94 by @grosser
- [IMPROVEMENT] Fail fast on unknown options #93 by @grosser
- [IMPROVEMENT] Always lazy connect #92 by @grosser
- [IMPROVEMENT] Batch events and service checks too #88 by @grosser
- [IMPROVEMENT] Remove bad argument after options #83 by @grosser
- [IMPROVEMENT] Reduce object allocation and make all strings frozen on ruby 2.3+ #78 by @grosser
- Remove deprecated
version
method #91 by @grosser - port / host / tags / namespace can no longer be set on the instance to allow thread-safety #87 by @grosser
- port / host / socket_path readers are now on statsd.connection
- Make
logger
an instance var #90 by @grosser - Make
format_service_check
private #89 by @grosser - Improve code coverage / make
format_event
private #84 by @grosser - Set buffer size in bytes #86 by @grosser
- max_buffer_size initializer argument removed and replaced with max_buffer_bytes (defaults to 8192)
- max_buffer_size/max_buffer_size= methods removed
- [FEATURE] Add distribution support (beta). See #72.
- [IMPROVEMENT] A ton of cleanups and refinements courtesy of @grosser. See #68, #69, #73, #74, #75, #76, #77.
- [IMPROVEMENT] Unify tag handling in
format_service_check
. See #71 by @grosser. - [IMPROVEMENT] Use faster time method on ruby >= 2.1. See #70 by @grosser.
- [FEATURE] Add Unix Domain Socket support. #61, @sullerandras
- [IMPROVEMENT] Don't flush an empty buffer. #58, @misterbyrne
- [BUGFIX] Use defaults when host/port are nil. #56, @degemer
- [BUGFIX] Ignore nil tags and convert symbol. #53, @pschambacher
- [FEATURE] Nest batch calls. #52, @misterbyrne
- [BUGFIX] Convert tags to string type. #51, @jacobbednarz
- [FEATURE] Expose (socket) close method. #46, @ramfjord
- [IMPROVEMENT] Retry once when send fails on a closed socket. #46, @ramfjord
- [IMPROVEMENT] Use a instance variable to decide whether to batch or not. #47 @fimmtiu
Host resolution was previously done every time a message was sent, it is now
done once when Datadog::Statsd
is initiliazed (resulting in a non-negligible
performance improvement). #44, @AMekss
Datadog::Statsd.new(host, port)
will now raise a SocketError
if unable to
resolve the host
.
- [FEATURE] Add an optional
by
parameter for#increment
and#decrement
, #33 - [BUGFIX]
#time
: record on all block exits, #38 @nelhage - [IMPROVEMENT] Replace string literals with symbols or frozen strings, #37 @janester
The Statsd
is now namespaced under the Datadog module. #32 @djpate
To update:
require 'statsd'
->require 'datadog/statsd'
Statsd
->Datadog::Statsd
,
is now stripped from tags to avoid unexpected behavior. #34 @adimitrov
Datadog::Statsd
also validates that it receives an array of tags, and strips ,
and |
from them.
This release drops testing for Ruby 1.8.7. Future versions are likely to introduce backward incompatibilities with < Ruby 1.9.3.
- [FEATURE] Add service checks support, #11
- [FEATURE] Send time stat on failing block, #16 @gleseur
- [BUGFIX] Add instance tags to
Statsd.event
, #14 @gleseur - [OTHER] Use
send_stat
instead of overriding Rubysend
method, #17 @sensadrome - [OTHER] Changelog update
- [BUGFIX] Fixed bug in message separator when batching metrics
- [FEATURE] Added support for metrics batching
- [FEATURE] Added support for submitting events
- [FEATURE] Added global tags
- [FEATURE] Added ability to set namespace and tags from
Statsd#initialize
- [FEATURE] Added sets metrics
- Initial release