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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/riemann-redis-dynomite +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c541732ce742356a0b4dd402633a3edb9aa0de4
4
- data.tar.gz: f2a6c59e6edf439ac7df3f0e2c6011c2cc9e94ea
3
+ metadata.gz: 245d02c4a22adc1826a23ccb0ee2a5c710383851
4
+ data.tar.gz: 6e36f7cae4b60cdf8dcbeeb2859345916a413843
5
5
  SHA512:
6
- metadata.gz: dfb73548ca77b4f74d70d5e3a553d3cafbd08f50512523b0c67f3111e4df7aab1cfcf2a71ae64c090f1a86ba0d3ac3fdf41d01818e3413d19a099c86131abb3b
7
- data.tar.gz: 0ca6cb55463b4cab0e125093385cfecfeb25652e9bbb12c8c397b2b1791bf5f2a1178a1ac9da708e473d7f13a45e78005bb8d3f23b32b481be78895d64990eab
6
+ metadata.gz: 49add140a1695545503af8969c6e455833318e7f7a26eb22551092b1cb56fc0c2a56929fe23f05f9e4b442c4395626ea87bbb2d0948a4118d0a968b54b7d783a
7
+ data.tar.gz: a572d8e2e94d7ef4903b1420fc613fa1acd138def6dd44951f69dbacc85471eb3708ded04d90c5bc5ea2aeb5ef6afca4d47aa06edb3cce6f33796b20a439bb4e
@@ -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 => "redis #{property}",
45
- :tags => ['redis']
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-redis-hybris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mariusz Donigiewicz