lib/logstash/outputs/ganglia.rb in logstash-output-ganglia-2.0.0 vs lib/logstash/outputs/ganglia.rb in logstash-output-ganglia-2.0.1
- old
+ new
@@ -45,10 +45,10 @@
require "gmetric"
end # def register
public
def receive(event)
- return unless output?(event)
+
# gmetric only takes integer values, so convert it to int.
case @metric_type
when "string"
localvalue = event.sprintf(@value)