sidekiq-datadog 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -13
- data/lib/sidekiq/datadog/version.rb +1 -1
- data/lib/sidekiq/middleware/server/datadog.rb +2 -2
- data/sidekiq-datadog.gemspec +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dfebb153ac12dde87ee440d051a43a2ef9ee35c
|
4
|
+
data.tar.gz: ad56261bcef44e41e2b241287294a4f6ae131190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36d6f039160b15332cf99dcb6d7c9938424d44baa2a6cbfa07fec33e359c90cc99c1538b21cf5174d3d10e51d9f0578111f15c904564642bd305d404bae7fd2
|
7
|
+
data.tar.gz: 19f9a9facb8b2547bf058c902c12fc33e3fe358f86f597d409aa92fc31fa7e5d38c06993042ef7522427b58e1664aa4e123492b1a1ac8e607fb15b11eb982771
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sidekiq-datadog (0.3.
|
5
|
-
dogstatsd-ruby
|
4
|
+
sidekiq-datadog (0.3.4)
|
5
|
+
dogstatsd-ruby (~> 2.0.0)
|
6
6
|
sidekiq
|
7
7
|
|
8
8
|
GEM
|
@@ -11,17 +11,17 @@ GEM
|
|
11
11
|
concurrent-ruby (1.0.2)
|
12
12
|
connection_pool (2.2.0)
|
13
13
|
diff-lcs (1.2.5)
|
14
|
-
dogstatsd-ruby (
|
15
|
-
rack (
|
14
|
+
dogstatsd-ruby (2.0.0)
|
15
|
+
rack (2.0.1)
|
16
16
|
rack-protection (1.5.3)
|
17
17
|
rack
|
18
|
-
rake (11.
|
18
|
+
rake (11.3.0)
|
19
19
|
redis (3.3.1)
|
20
20
|
rspec (3.5.0)
|
21
21
|
rspec-core (~> 3.5.0)
|
22
22
|
rspec-expectations (~> 3.5.0)
|
23
23
|
rspec-mocks (~> 3.5.0)
|
24
|
-
rspec-core (3.5.
|
24
|
+
rspec-core (3.5.4)
|
25
25
|
rspec-support (~> 3.5.0)
|
26
26
|
rspec-expectations (3.5.0)
|
27
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -30,16 +30,11 @@ GEM
|
|
30
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
31
|
rspec-support (~> 3.5.0)
|
32
32
|
rspec-support (3.5.0)
|
33
|
-
sidekiq (4.
|
33
|
+
sidekiq (4.2.2)
|
34
34
|
concurrent-ruby (~> 1.0)
|
35
35
|
connection_pool (~> 2.2, >= 2.2.0)
|
36
|
+
rack-protection (~> 1.5)
|
36
37
|
redis (~> 3.2, >= 3.2.1)
|
37
|
-
sinatra (>= 1.4.7)
|
38
|
-
sinatra (1.4.7)
|
39
|
-
rack (~> 1.5)
|
40
|
-
rack-protection (~> 1.4)
|
41
|
-
tilt (>= 1.3, < 3)
|
42
|
-
tilt (2.0.5)
|
43
38
|
|
44
39
|
PLATFORMS
|
45
40
|
ruby
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'sidekiq'
|
2
2
|
require 'sidekiq/datadog/version'
|
3
|
-
require 'statsd'
|
3
|
+
require 'datadog/statsd'
|
4
4
|
require 'socket'
|
5
5
|
|
6
6
|
module Sidekiq
|
@@ -29,7 +29,7 @@ module Sidekiq
|
|
29
29
|
statsd_port = (opts[:statsd_port] || ENV['STATSD_PORT'] || 8125).to_i
|
30
30
|
|
31
31
|
@metric_name = opts[:metric_name] || "sidekiq.job"
|
32
|
-
@statsd = opts[:statsd] || ::Statsd.new(statsd_host, statsd_port)
|
32
|
+
@statsd = opts[:statsd] || ::Datadog::Statsd.new(statsd_host, statsd_port)
|
33
33
|
@tags = opts[:tags] || []
|
34
34
|
|
35
35
|
if @tags.none? {|t| t =~ /^host\:/ }
|
data/sidekiq-datadog.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_runtime_dependency(%q<sidekiq>)
|
21
|
-
s.add_runtime_dependency(%q<dogstatsd-ruby
|
21
|
+
s.add_runtime_dependency(%q<dogstatsd-ruby>, "~> 2.0.0")
|
22
22
|
|
23
23
|
s.add_development_dependency(%q<rake>)
|
24
24
|
s.add_development_dependency(%q<bundler>)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-datadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitrij Denissenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: dogstatsd-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|