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 +4 -4
- data/lib/collective/collectors/rabbitmq.rb +2 -4
- data/lib/collective/version.rb +1 -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: 8f42cb426c6159fd0c708a9fba5f5cb68a42c5ee
|
4
|
+
data.tar.gz: bf9749c89e767e5e28e05a85adbb3bfea4b723a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
32
|
-
|
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
|
data/lib/collective/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rufus-scheduler
|