lib/logstash/outputs/metriccatcher.rb in logstash-output-metriccatcher-0.1.5 vs lib/logstash/outputs/metriccatcher.rb in logstash-output-metriccatcher-2.0.1

- old
+ new

@@ -84,10 +84,10 @@ @socket = UDPSocket.new end # def register public def receive(event) - return unless output?(event) + @@metric_types.each do |metric_type| if instance_variable_defined?("@#{metric_type}") instance_variable_get("@#{metric_type}").each do |metric_name, metric_value| message = [{