• Yorick Peterse's avatar
    Use more accurate timestamps for InfluxDB. · aa7cddc4
    Yorick Peterse authored
    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
    aa7cddc4
metric.rb 1.87 KB