620e7bb3d6
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.
7 lines
528 B
Text
7 lines
528 B
Text
# For DEVELOPMENT only. Production uses Runit in
|
|
# https://gitlab.com/gitlab-org/omnibus-gitlab or the init scripts in
|
|
# lib/support/init.d, which call scripts in bin/ .
|
|
#
|
|
web: bundle exec unicorn_rails -p ${PORT:="3000"} -E ${RAILS_ENV:="development"} -c ${UNICORN_CONFIG:="config/unicorn.rb"}
|
|
worker: bundle exec sidekiq -q post_receive -q mailers -q archive_repo -q system_hook -q project_web_hook -q gitlab_shell -q incoming_email -q runner -q common -q default
|
|
# mail_room: bundle exec mail_room -q -c config/mail_room.yml
|