bin/metrics-influxdb.rb in sensu-plugins-influxdb-0.0.7 vs bin/metrics-influxdb.rb in sensu-plugins-influxdb-1.0.0

- old
+ new

@@ -43,11 +43,10 @@ def create_point(series, value, time) point = { series: series, tags: { host: @event['client']['name'], metric: @event['check']['name'] }, values: { value: value }, - timestamp: time - } + timestamp: time } point[:tags].merge!(@event['check']['tags']) unless @event['check']['tags'].nil? point end def parse_output