gitlab-org--gitlab-foss/db
Yorick Peterse 620e7bb3d6 Write to InfluxDB directly via UDP
This removes the need for Sidekiq and any overhead/problems introduced
by TCP. There are a few things to take into account:

1. When writing data to InfluxDB you may still get an error if the
   server becomes unavailable during the write. Because of this we're
   catching all exceptions and just ignore them (for now).
2. Writing via UDP apparently requires the timestamp to be in
   nanoseconds. Without this data either isn't written properly.
3. Due to the restrictions on UDP buffer sizes we're writing metrics one
   by one, instead of writing all of them at once.
2015-12-29 14:53:45 +01:00
..
fixtures Minor refactoring in seeding 2015-10-16 11:30:26 +02:00
migrate Write to InfluxDB directly via UDP 2015-12-29 14:53:45 +01:00
schema.rb Write to InfluxDB directly via UDP 2015-12-29 14:53:45 +01:00
seeds.rb init commit 2011-10-09 00:36:38 +03:00