dogstatsd-ruby 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datadog/statsd.rb +3 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdab85fe0b81950fd3e672109edd29b4e9d9a4362e567ed9e9a14e2f95f46ec8
|
4
|
+
data.tar.gz: 4b6040d520cc243cb045a970f7011d3cd878e2a6e8a9f7be2a496d1994c07214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d73c1e3e5c9d7d27fc965f79137dee176ea7bc6d7a520e8a4658329bfbd780b9aadd71d636e4f9652d675f888cce1c24902ebb79c3af7aebb39b4b730bb0c7b
|
7
|
+
data.tar.gz: 1f5ae46a3955844f74748e3fdacac487685efbfa2f270c178e9a2e99791cf00bce9e2200809276ca263f9d2dda1b606a593a4e33a44bb3c2cbfef2f33341f330
|
data/lib/datadog/statsd.rb
CHANGED
@@ -61,7 +61,8 @@ module Datadog
|
|
61
61
|
|
62
62
|
# Try once to reconnect if the socket has been closed
|
63
63
|
retries ||= 1
|
64
|
-
if retries <= 1 && boom.is_a?(
|
64
|
+
if retries <= 1 && boom.is_a?(Errno::ENOTCONN) or
|
65
|
+
retries <= 1 && boom.is_a?(IOError) && boom.message =~ /closed stream/i
|
65
66
|
retries += 1
|
66
67
|
begin
|
67
68
|
@socket = connect
|
@@ -180,7 +181,7 @@ module Datadog
|
|
180
181
|
DISTRIBUTION_TYPE = 'd'.freeze
|
181
182
|
TIMING_TYPE = 'ms'.freeze
|
182
183
|
SET_TYPE = 's'.freeze
|
183
|
-
VERSION = "4.
|
184
|
+
VERSION = "4.1.0".freeze
|
184
185
|
|
185
186
|
# A namespace to prepend to all statsd calls. Defaults to no namespace.
|
186
187
|
attr_reader :namespace
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dogstatsd-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rein Henrichs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby DogStastd client
|
14
14
|
email: code@datadoghq.com
|
@@ -40,8 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
|
-
|
44
|
-
rubygems_version: 2.7.7
|
43
|
+
rubygems_version: 3.0.2
|
45
44
|
signing_key:
|
46
45
|
specification_version: 4
|
47
46
|
summary: A Ruby DogStatsd client
|