dogstatsd-ruby 4.4.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/datadog/statsd.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fde2be6b614574c2555c8cbbd2ca16ef33bcd09837502f482f5f6baf582fd67b
|
4
|
+
data.tar.gz: cc1523c5aa78643d93fc891116c46bb5322dda297f1676cd73d201c9beee2a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c96177f1ea0ab2288712cf9829cb8408687e12ce0f22f06ddbb1433447a3a4eaf05fe13f0fda8746b9f0e8fad71ea3b0b50ba7d8a028e464db334349951c64b
|
7
|
+
data.tar.gz: 11e23d434a7e88925e049484dfbb252d5c78ce12a4a07fd3c09edca57835db30224cba202f86f57352357acdf2073b8c8e93f20bd403975242b201321bef8ecc
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ dogstatsd-ruby
|
|
4
4
|
|
5
5
|
A client for DogStatsD, an extension of the StatsD metric server for Datadog.
|
6
6
|
|
7
|
-
[![Build Status](https://secure.travis-ci.org/DataDog/dogstatsd-ruby.
|
7
|
+
[![Build Status](https://secure.travis-ci.org/DataDog/dogstatsd-ruby.svg)](http://travis-ci.org/DataDog/dogstatsd-ruby)
|
8
8
|
|
9
9
|
Quick Start Guide
|
10
10
|
-----------------
|
data/lib/datadog/statsd.rb
CHANGED
@@ -44,8 +44,10 @@ module Datadog
|
|
44
44
|
rescue StandardError => boom
|
45
45
|
# Try once to reconnect if the socket has been closed
|
46
46
|
retries ||= 1
|
47
|
-
if retries <= 1 &&
|
48
|
-
|
47
|
+
if retries <= 1 &&
|
48
|
+
(boom.is_a?(Errno::ENOTCONN) or
|
49
|
+
boom.is_a?(Errno::ECONNREFUSED) or
|
50
|
+
boom.is_a?(IOError) && boom.message =~ /closed stream/i)
|
49
51
|
retries += 1
|
50
52
|
begin
|
51
53
|
@socket = connect
|
@@ -192,7 +194,7 @@ module Datadog
|
|
192
194
|
DISTRIBUTION_TYPE = 'd'.freeze
|
193
195
|
TIMING_TYPE = 'ms'.freeze
|
194
196
|
SET_TYPE = 's'.freeze
|
195
|
-
VERSION = "4.
|
197
|
+
VERSION = "4.5.0".freeze
|
196
198
|
|
197
199
|
# A namespace to prepend to all statsd calls. Defaults to no namespace.
|
198
200
|
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.5.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: 2019-
|
11
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby DogStastd client
|
14
14
|
email: code@datadoghq.com
|