riemann-redis-hybris 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/riemann-redis-dynomite +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 245d02c4a22adc1826a23ccb0ee2a5c710383851
|
4
|
+
data.tar.gz: 6e36f7cae4b60cdf8dcbeeb2859345916a413843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49add140a1695545503af8969c6e455833318e7f7a26eb22551092b1cb56fc0c2a56929fe23f05f9e4b442c4395626ea87bbb2d0948a4118d0a968b54b7d783a
|
7
|
+
data.tar.gz: a572d8e2e94d7ef4903b1420fc613fa1acd138def6dd44951f69dbacc85471eb3708ded04d90c5bc5ea2aeb5ef6afca4d47aa06edb3cce6f33796b20a439bb4e
|
data/bin/riemann-redis-dynomite
CHANGED
@@ -41,8 +41,9 @@ class Riemann::Tools::RedisDynamoExtension
|
|
41
41
|
@redis.keys(@collectionWhiteList).each do |property, value|
|
42
42
|
data = {
|
43
43
|
:host => opts[:redis_host].dup,
|
44
|
-
:service => "
|
45
|
-
:
|
44
|
+
:service => "#{property}",
|
45
|
+
:state => "ok",
|
46
|
+
:tags => nil
|
46
47
|
}
|
47
48
|
p "Bucket matching #{property}"
|
48
49
|
bucketType = @redis.type(property.to_s)
|
@@ -73,7 +74,6 @@ class Riemann::Tools::RedisDynamoExtension
|
|
73
74
|
p 'reportSetLength'
|
74
75
|
length = @redis.zlexcount(setName,'-', '+')
|
75
76
|
notification[:metric] = length.to_s
|
76
|
-
notification[:state] = length.to_s
|
77
77
|
notification[:description] = "Redis set #{setName} length"
|
78
78
|
p 'length '+length.to_s
|
79
79
|
rescue Exception => e
|