lib/octave/payload.rb
def duration
      return if end_time.nil?

      (end_time - start_time) * 1000.0
    end
# Duration of the metric in milliseconds.
Duration of the metric in milliseconds.
Duration of the metric in milliseconds .
def duration
      return if end_time.nil?
      (end_time - start_time) * 1000.0
    end
def duration return if end_time . nil? ( end_time - start_time ) * 1000.0 end
Duration of the metric in milliseconds.
Duration of the metric in milliseconds .