bin/metrics-cassandra-graphite.rb in sensu-plugins-cassandra-0.0.1 vs bin/metrics-cassandra-graphite.rb in sensu-plugins-cassandra-0.0.2
- old
+ new
@@ -252,10 +252,10 @@
tpstats.each_line do |line|
next if line.match(/^Pool Name/)
next if line.match(/^Message type/)
if m = line.match(/^(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/)# rubocop:disable all
- (thread, active, pending, completed, blocked, _) = m.captures
+ (thread, active, pending, completed, blocked) = m.captures
output "#{config[:scheme]}.threadpool.#{thread}.active", active, @timestamp
output "#{config[:scheme]}.threadpool.#{thread}.pending", pending, @timestamp
output "#{config[:scheme]}.threadpool.#{thread}.completed", completed, @timestamp
output "#{config[:scheme]}.threadpool.#{thread}.blocked", blocked, @timestamp