module InfluxReporter::Util::Timestamp
Public Instance Methods
formatted_timestamp(t = Time.now)
click to toggle source
# File lib/influx_reporter/util/timestamp.rb, line 6 def formatted_timestamp(t = Time.now) format('%d%09d', t.to_i, t.nsec).to_i end