Skip to content

Releases: DataDog/dogstatsd-ruby

v.4.5.0

22 Aug 10:19
b79c25b
Compare
Choose a tag to compare

4.5.0 / 2019.08.22

v4.4.0

15 Jul 10:56
1c21576
Compare
Choose a tag to compare

4.4.0 / 2019.07.15

  • [BUGFIX] Allow Integer date_happened and timestamp options #115
  • [OTHER] Update yard gem to 0.9.20 #114

v4.3.0

24 Jun 17:46
Compare
Choose a tag to compare

4.3.0 / 2019.06.24

  • [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

v4.2.0

04 Apr 14:11
561122a
Compare
Choose a tag to compare
  • [FEATURE] Added environment vars support for host, port and entity id #109 by @ahmed-mez

v4.1.0

08 Mar 07:45
0edf3f6
Compare
Choose a tag to compare
  • [FEATURE] Handle ENOTCONN #102 by @blaines
  • [IMPROVEMENT] Retry first before losing message when receiving ENOTCONN #104 by @blaines

4.0.0

23 Aug 17:52
95bef44
Compare
Choose a tag to compare

[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

Breaking changes

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

3.3.0

04 Feb 13:58
a7fedb8
Compare
Choose a tag to compare
  • [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.

v3.2.0

21 Dec 07:35
e1bbd12
Compare
Choose a tag to compare
  • [IMPROVEMENT] Add statsd sample rate compat. #67, @sj26

v3.1.0

23 Nov 15:17
f01a0c8
Compare
Choose a tag to compare

v3.0.0

18 May 17:50
d77b4bb
Compare
Choose a tag to compare

3.0.0/ 2017.05.18

Breaking changes

Host resolution

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.

Changes

  • [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