WIP: Support GitLab tracing configuration
Closes #4104 (closed)
Approach
Provide a global setting gitlab_tracing_configuration
which allows an administrator to configure a distributed tracing "connection string", for example:
gitlab_tracing_configuration 'opentracing://jaeger'
This setting will control multiple configurations, including:
-
The GITLAB_TRACING
environment variable in GitLab-Workhorse -
The GITLAB_TRACING
environment variable in Sidekiq -
The GITLAB_TRACING
environment variable in Rails -
The GITLAB_TRACING
environment variable in Gitaly- Note that Gitaly will automatically propagate the
GITLAB_TRACING
environment variable to Gitaly-Ruby (see labkit!10 (merged))
- Note that Gitaly will automatically propagate the
-
The gitlab_tracing
value inconfig.yml
in GitLab-Shell. (see gitlab-shell!277 (merged) for details as to why we don't use theGITLAB_TRACING
environment variable in GitLab-Shell)
Edited by Andrew Newdigate