lib/riemann/babbler/plugins/memory.rb in riemann-babbler-0.0.3 vs lib/riemann/babbler/plugins/memory.rb in riemann-babbler-0.0.4
- old
+ new
@@ -26,15 +26,15 @@
:state => state(current_state[:fraction]),
:metric => current_state[:fraction]
})
# постим сообщение о свобоной памяти
report({
- :service => plugin.service,
+ :service => plugin.service + " free",
:metric => current_state[:free]
}) if plugin.report_free
# постим сообение о том сколько у нас вообще памяти
report({
- :service => plugin.service,
+ :service => plugin.service + " total",
:metric => current_state[:total]
}) if plugin.report_total
end
end