lib/fluent/plugin/in_cadvisor.rb in fluent-plugin-cadvisor-0.2.3 vs lib/fluent/plugin/in_cadvisor.rb in fluent-plugin-cadvisor-0.2.4
- old
+ new
@@ -149,10 +149,10 @@
'network_tx_packets' => stats['network']['tx_packets'],
'network_tx_errors' => stats['network']['tx_errors'],
'network_tx_dropped' => stats['network']['tx_dropped'],
}
- Fluent::Engine.emit("stats", timestamp, record)
+ Fluent::Engine.emit("#{tag_prefix}stats", timestamp, record)
end
end
def shutdown
@loop.stop