collective-metrics 0.1.5 → 0.1.6

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: 8b3b49dcb907693182c790ca003bb99a6def1c44
4
- data.tar.gz: 4278d571b71de3944dc11520c9e5982156d88bef
3
+ metadata.gz: 8f42cb426c6159fd0c708a9fba5f5cb68a42c5ee
4
+ data.tar.gz: bf9749c89e767e5e28e05a85adbb3bfea4b723a5
5
5
  SHA512:
6
- metadata.gz: e9c6f6961708da103efb07f9fd05f27d6c4bbf5ab7814b5e38c0757d39c54192e893e25380b7ce06597ddf9d6dad2232a003024c99ffb4307f6c17130fcf544c
7
- data.tar.gz: d5da8e93fe533bafd4f949464c7dc7bfaa1981a0beb6aa650c01789d3dc8b6a557e3bb2ac54f70d012fd747926b1f7c1044ffb9d49bc385d19b6a7b628e005d1
6
+ metadata.gz: 176fb2e30d7d31e516bd388cf5ad5220f4a861d5151a0a7455686d95a3a94bb579bd1271a40d11e2b524af89f14d588a6987f6dcff1b0d28b58d79576e9bed13
7
+ data.tar.gz: 5f3a8dc1ca0fe175ca138e5835b9600b6b1c29947d608fd9193d582fbaada67b248a8ba66e1a036bb30185c18290e8467ca4160fe6cce25a39e5405b57646ba3
@@ -1,5 +1,3 @@
1
- require 'pp'
2
-
3
1
  module Collective::Collectors
4
2
  class RabbitMQ < Collective::Collector
5
3
  requires :faraday
@@ -28,8 +26,8 @@ module Collective::Collectors
28
26
  def instrument_queues
29
27
  queues = client.get('queues').body
30
28
 
31
- group 'rabbitmq.queue' do |group|
32
- queues.each do |queue|
29
+ queues.each do |queue|
30
+ group 'rabbitmq.queue' do |group|
33
31
  instrument_hash(group, queue, source: "rabbitmq.queue.#{queue['name']}")
34
32
  end
35
33
  end
@@ -1,3 +1,3 @@
1
1
  module Collective
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collective-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric J. Holmes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2013-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rufus-scheduler