summaryrefslogtreecommitdiff
path: root/lib/banzai.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-04-08 16:25:17 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-04-08 16:39:44 +0200
commitaa7cddc4fcd490ccd192d7d04fb67b375705b586 (patch)
tree6a37fddb1bb94e593514d424e598ed78d131020e /lib/banzai.rb
parent4d04e91814fefe24c186250b7962a7c9aa918d1f (diff)
downloadgitlab-ce-metrics-timestamp-precision.tar.gz
Use more accurate timestamps for InfluxDB.metrics-timestamp-precision
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
Diffstat (limited to 'lib/banzai.rb')
0 files changed, 0 insertions, 0 deletions