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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db9ec6662bacf81232a30cc4ca8fb9046eb888e0
4
- data.tar.gz: 613ec8eeb415644dfc7b878cb3b4f27b1071d897
3
+ metadata.gz: 391051ad42c61a79e0a2301b8eba92c8e1056b85
4
+ data.tar.gz: caa51ab4eaa2492c7167eb730aebea764b0af7d1
5
5
  SHA512:
6
- metadata.gz: bd8ce7a3f44f08657c09546958bc2d5f9f10c7dae18c663a707e43b98f1d19a2c16cf5c5bb0ae3dbc1d99deb8cf0f647dc34a663fd5f4fdae68eb08e4e4a4909
7
- data.tar.gz: cd4fc171a43b09802843b4dbf47f819f75589740ea69444c12a9b8b099ee9b8ea506605145d85a98e8880102b1343df93468faf60c42f1a5bc369ee5cb8f8f72
6
+ metadata.gz: 7ae21fbedab0ad3f1946007f8709d6ced2116cd01aefda7326e159ff8c65aad3860eee5cd6952a9fafbb4602a3287e731f61cfd8fdfa952fc5ec6b2ddf84ce44
7
+ data.tar.gz: f8cede5f20b0b591b62cd02bc7c212a34b904fd885727e0d7dc6e03d81a4e1e506ff7c3551f00d2589174c3443512bd52ba78aa7305ac2bb64d454f8f85b22fd
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Instrument
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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.1.1
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-09-07 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq