riemann-babbler 0.2.4 → 0.2.5
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.
- data/lib/riemann/babbler/plugin.rb +8 -0
- data/lib/riemann/version.rb +1 -1
- metadata +1 -1
@@ -100,6 +100,14 @@ module Riemann
|
|
100
100
|
|
101
101
|
# Переодически вызываемое действие
|
102
102
|
def tick
|
103
|
+
posted_hash = hash_to_post
|
104
|
+
posted_hash.each_key do |service|
|
105
|
+
report({
|
106
|
+
:service => plugin.service + " " + service,
|
107
|
+
:metric => posted_hash[service],
|
108
|
+
:is_diff => posted_hash["is_diff"]
|
109
|
+
})
|
110
|
+
end
|
103
111
|
end
|
104
112
|
|
105
113
|
# Доступ к конфигу определенного плагина
|
data/lib/riemann/version.rb
CHANGED