August 2019
Beginner
608 pages
16h 7m
English
As workhorse is a Golang written application, you can use methods for this language to debug programs.
It also supports remote error logging with Sentry. To activate this feature, set the GITLAB_WORKHORSE_SENTRY_DSN environment variable.
For Omnibus installations
The following is defined in the file (/etc/gitlab/gitlab.rb):
gitlab_workhorse['env'] = {'GITLAB_WORKHORSE_SENTRY_DSN' => 'https://foobar'}
For Source installations
The following environment variable can be set in the file (/etc/default/gitlab):
export GITLAB_WORKHORSE_SENTRY_DSN='https://foobar'
Of course, the first thing to look at is the log files that are produced by this component. On an Omnibus-based GitLab installation, you can find them in /var/log/gitlab/gitlab-workhorse ...
Read now
Unlock full access