Use more accurate timestamps for InfluxDB.
Use more accurate timestamps for InfluxDB.

This changes the timestamp of metrics to be more accurate/unique by
using Time#to_f combined with a small random jitter value. This
combination hopefully reduces the amount of collisions, though there's
no way to fully prevent any from occurring.

Fixes gitlab-com/operations#175

darkrasid/gitlabhq,mmkassem/gitlabhq,martijnvermaat/gitlabhq,Soullivaneuh/gitlabhq,iiet/iiet-git,allysonbarros/gitlabhq,screenpages/gitlabhq,iiet/iiet-git,mr-dxdy/gitlabhq,dwrensha/gitlabhq,jirutka/gitlabhq,htve/GitlabForChinese,allysonbarros/gitlabhq,stoplightio/gitlabhq,dplarson/gitlabhq,larryli/gitlabhq,larryli/gitlabhq,t-zuehlsdorff/gitlabhq,icedwater/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,t-zuehlsdorff/gitlabhq,openwide-java/gitlabhq,SVArago/gitlabhq,shinexiao/gitlabhq,dreampet/gitlab,dwrensha/gitlabhq,martijnvermaat/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,axilleas/gitlabhq,daiyu/gitlab-zh,LUMC/gitlabhq,darkrasid/gitlabhq,stoplightio/gitlabhq,openwide-java/gitlabhq,htve/GitlabForChinese,martijnvermaat/gitlabhq,daiyu/gitlab-zh,dwrensha/gitlabhq,jirutka/gitlabhq,htve/GitlabForChinese,screenpages/gitlabhq,larryli/gitlabhq,SVArago/gitlabhq,Soullivaneuh/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,LUMC/gitlabhq,LUMC/gitlabhq,mr-dxdy/gitlabhq,allysonbarros/gitlabhq,Soullivaneuh/gitlabhq,shinexiao/gitlabhq,iiet/iiet-git,iiet/iiet-git,icedwater/gitlabhq,axilleas/gitlabhq,mr-dxdy/gitlabhq,LUMC/gitlabhq,dreampet/gitlab,SVArago/gitlabhq,darkrasid/gitlabhq,SVArago/gitlabhq,daiyu/gitlab-zh,openwide-java/gitlabhq,larryli/gitlabhq,icedwater/gitlabhq,dplarson/gitlabhq,dwrensha/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,screenpages/gitlabhq,htve/GitlabForChinese,dplarson/gitlabhq,martijnvermaat/gitlabhq,screenpages/gitlabhq,stoplightio/gitlabhq,openwide-java/gitlabhq,allysonbarros/gitlabhq,shinexiao/gitlabhq,shinexiao/gitlabhq,darkrasid/gitlabhq,daiyu/gitlab-zh,Soullivaneuh/gitlabhq,icedwater/gitlabhq,mr-dxdy/gitlabhq,axilleas/gitlabhq