sidekiq-instrument 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/instrument/version.rb +1 -1
- data/lib/sidekiq/instrument/worker.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 391051ad42c61a79e0a2301b8eba92c8e1056b85
|
4
|
+
data.tar.gz: caa51ab4eaa2492c7167eb730aebea764b0af7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ae21fbedab0ad3f1946007f8709d6ced2116cd01aefda7326e159ff8c65aad3860eee5cd6952a9fafbb4602a3287e731f61cfd8fdfa952fc5ec6b2ddf84ce44
|
7
|
+
data.tar.gz: f8cede5f20b0b591b62cd02bc7c212a34b904fd885727e0d7dc6e03d81a4e1e506ff7c3551f00d2589174c3443512bd52ba78aa7305ac2bb64d454f8f85b22fd
|
@@ -25,8 +25,11 @@ module Sidekiq::Instrument
|
|
25
25
|
end
|
26
26
|
|
27
27
|
working = Sidekiq::ProcessSet.new.select { |p| p[:busy] == 1 }.count
|
28
|
-
|
29
28
|
StatsD.gauge "shared.sidekiq.stats.working", working
|
29
|
+
|
30
|
+
info.queues.each do |name, size|
|
31
|
+
StatsD.gauge "shared.sidekiq.#{name}.size", size
|
32
|
+
end
|
30
33
|
end
|
31
34
|
end
|
32
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-instrument
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Larraz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|