Skip to content

Commit

Permalink
Fix convert_timestamp for InfluxDB backend subscriber
Browse files Browse the repository at this point in the history
It is now part of the influxdb gem and not the influxdb-rails gem anymore.
  • Loading branch information
ChrisBr committed Dec 10, 2018
1 parent 5078d28 commit f925e77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def call(_name, _started, finished, _unique_id, data)
InfluxDB::Rails.client.write_point(series_name,
tags: tags(data),
values: values(data[:runtime]),
timestamp: InfluxDB::Rails.convert_timestamp(finished.utc))
timestamp: InfluxDB.convert_timestamp(finished.utc))
rescue StandardError => e
logger.info "[InfluxDB Backend Subscriber]: #{e.message}"
end
Expand Down

0 comments on commit f925e77

Please sign in to comment.