bin/metric-postgres-graphite.rb in sensu-plugins-postgres-0.0.7 vs bin/metric-postgres-graphite.rb in sensu-plugins-postgres-0.1.0
- old
+ new
@@ -95,10 +95,10 @@
res = conn_slave.exec('SELECT pg_last_xlog_receive_location()').getvalue(0, 0)
conn_slave.close
# Compute lag
lag = lag_compute(res1, res, m_segbytes)
- output "#{config[:scheme]}", lag
+ output config[:scheme].to_s, lag
ok
end
end