lib/fluent/plugin/out_metricsense.rb in fluent-plugin-metricsense-0.2.6 vs lib/fluent/plugin/out_metricsense.rb in fluent-plugin-metricsense-0.2.7
- old
+ new
@@ -283,10 +283,9 @@
counters.merge!(segmented_counters)
counters.merge!(simple_counters)
data = []
counters.each_pair {|ak,up|
- p [ak.tag, ak.time, up.normalized_value(@normalize_factor), ak.seg_key, ak.seg_val, up.mode]
data << [ak.tag, ak.time, up.normalized_value(@normalize_factor), ak.seg_key, ak.seg_val, up.mode]
}
@backend.write(data)
end