gitlab-org--gitlab-foss/lib/gitlab
Andrew Newdigate 57a8859a11 Conditionally initialize the global opentracing tracer
This change will instantiate an OpenTracing tracer and configure it
as the global tracer when the GITLAB_TRACING environment variable is
configured. GITLAB_TRACING takes a "connection string"-like value,
encapsulating the driver (eg jaeger, etc) and options for the driver.

Since each service, whether it's written in Ruby or Golang, uses the
same connection-string, it should be very easy to configure all
services in a cluster, or even a single development machine to be
setup to use tracing.

Note that this change does not include instrumentation or propagation
changes as this is a way of breaking a previous larger change into
components. The instrumentation and propagation changes will follow
in separate changes.
2019-01-17 12:32:44 +02:00
..
access Refactor code for protecting default branches 2019-01-16 14:25:14 +01:00
auth chore(rubocop): fix Style/TrivialAccessors issues 2019-01-16 13:53:04 +05:00
background_migration Cleanup dead code and comments 2019-01-11 15:36:57 +01:00
badge Rename project's pipelines relation 2018-12-05 14:39:15 +00:00
bare_repository_import
bitbucket_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
bitbucket_server_import Remove unnecessary includes of ShellAdapter 2018-12-05 23:19:27 -08:00
cache
checks Remove oldrev and newrev nil-checks that are now unnecessary 2019-01-02 15:31:33 +01:00
ci Added support for custom hosts/domains 2019-01-17 09:39:59 +00:00
cleanup Use directories.new when getting S3 directory 2018-12-27 11:06:06 +01:00
cluster
config Simplify code related to setting default config values 2019-01-15 11:23:32 +01:00
conflict
cross_project_access
cycle_analytics
data_builder Add support for Git push options, specifically ci.skip 2018-12-31 13:57:53 -05:00
database Remove rails4 specific code 2018-12-16 10:48:41 +01:00
dependency_linker
diff Adjusts duplicated line when commenting on unfolded diff lines 2019-01-08 12:45:19 -02:00
discussions_diff Cache diff highlight in discussions 2018-12-21 16:59:21 -02:00
downtime_check
email Remove caching of CSV file 2019-01-07 11:21:30 +08:00
error_tracking Service for calling Sentry issues api 2019-01-09 21:04:27 +00:00
etag_caching Switch use of Rack::Request to ActionDispatch::Request 2019-01-07 00:35:53 -08:00
fogbugz_import
gfm
git Validate bundle files before unpacking them 2019-01-10 21:33:36 +00:00
git_access_result
gitaly_client Leave object pools when destroying projects 2018-12-19 13:21:56 +01:00
github_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
gitlab_import
google_code_import
gpg Gracefully handle unknown/invalid GPG keys 2018-12-05 10:55:30 -08:00
grape_logging Log and pass correlation-id between Unicorn, Sidekiq and Gitaly 2018-12-06 20:46:14 +01:00
graphql Suggests issues when typing title 2018-11-27 15:10:40 +00:00
graphs
hashed_storage
health_checks
hook_data
i18n
import
import_export Merge branch '49231-import-issues-csv' into 'master' 2019-01-07 23:15:53 +00:00
kubernetes Modify service so that it can be re-run 2018-12-05 10:16:44 +13:00
legacy_github_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
manifest_import
metrics
middleware Bang up predicate methods and use #internal_route? 2019-01-16 19:14:46 +11:00
patch
performance_bar
popen
profiler
project_authorizations
prometheus Correct ordering of metrics 2018-12-21 16:41:58 +05:30
query_limiting
quick_actions
redis
request_profiler
sanitizers
search Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
serializer
sherlock
sidekiq_logging
sidekiq_middleware Log and pass correlation-id between Unicorn, Sidekiq and Gitaly 2018-12-06 20:46:14 +01:00
sidekiq_status
sidekiq_versioning
slash_commands
sql
template Prevent a path traversal attack on global file templates 2018-12-05 14:12:35 +00:00
testing
tracing Conditionally initialize the global opentracing tracer 2019-01-17 12:32:44 +02:00
utils Extend override check to also check arity 2018-12-22 14:10:43 +01:00
verify
view/presenter
webpack
access.rb
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb
audit_json_logger.rb
auth.rb Revert changes 2019-01-03 20:28:02 +08:00
background_migration.rb Check if specific type of background migration are done 2019-01-08 15:19:45 +08:00
base_doorkeeper_controller.rb
blame.rb
blob_helper.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
branch_push_merge_commit_analyzer.rb Fix commit with two parents is set with wrong direct_ancestor 2018-12-07 21:00:47 +08:00
build_access.rb
changes_list.rb
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb Add "none" syntax highlighting "color" scheme 2018-12-18 00:34:50 +00:00
config_helper.rb
contributions_calendar.rb
contributor.rb
correlation_id.rb Revert "Prefer to use correlation-id in logs" 2018-12-06 21:46:31 +01:00
cross_project_access.rb
crypto_helper.rb
current_settings.rb Method create_from_defaults will never give nil 2018-12-19 11:24:54 +01:00
daemon.rb
database.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Don't ignore conflicts in db/schema.rb 2019-01-04 16:22:00 +01:00
emoji.rb
encoding_helper.rb
environment.rb
environment_logger.rb
exclusive_lease.rb
exclusive_lease_helpers.rb Lock writes to trace stream 2018-11-27 17:55:20 +01:00
fake_application_settings.rb Add FakeApplicationSettings#commit_email_hostname 2018-12-19 17:43:12 +01:00
favicon.rb
file_detector.rb
file_finder.rb Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
file_markdown_link_builder.rb
file_type_detection.rb
git.rb Revert "Use to_s.start_with? in tag/branch ref method" 2018-12-08 19:28:56 +01:00
git_access.rb Move push size check to EE module 2019-01-02 15:31:33 +01:00
git_access_wiki.rb Don't run single change checks when changes are unknown 2019-01-02 15:31:32 +01:00
git_logger.rb
git_post_receive.rb Add support for Git push options, specifically ci.skip 2018-12-31 13:57:53 -05:00
git_ref_validator.rb
gitaly_client.rb Log certificate loading errors into sentry 2018-12-20 18:24:53 +02:00
github_import.rb
gl_id.rb
gl_repository.rb
gon_helper.rb Fix no avatar not showing in user selection box 2019-01-13 08:02:02 -08:00
gpg.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
graphql.rb Enable GraphQL API endpoint 2018-12-13 10:12:13 +00:00
highlight.rb
http.rb
http_io.rb
i18n.rb
identifier.rb
import_export.rb
import_formatter.rb
import_sources.rb Fix ConstantName rubocop offense 2018-12-09 22:45:48 +05:00
incoming_email.rb Use new issue email address format 2019-01-03 14:37:35 -06:00
insecure_key_fingerprint.rb
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
json_cache.rb Port Gitlab::JsonCache to CE 2018-12-19 15:15:05 -02:00
json_logger.rb Log and pass correlation-id between Unicorn, Sidekiq and Gitaly 2018-12-06 20:46:14 +01:00
kubernetes.rb Make KUBECONFIG nil if KUBE_TOKEN is nil 2018-11-30 11:03:42 +01:00
language_data.rb
language_detection.rb
lazy.rb
lfs_token.rb Revert "Revert "LfsToken uses JSONWebToken::HMACToken by default"" 2018-12-17 17:17:39 +11:00
logger.rb
mail_room.rb
markup_helper.rb
metrics.rb
multi_collection_paginator.rb
namespace_sanitizer.rb
null_request_store.rb
object_hierarchy.rb Rename GroupHierarchy into ObjectHierarchy 2018-12-19 15:24:29 +01:00
omniauth_initializer.rb
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_client.rb
pages_transfer.rb
path_regex.rb
performance_bar.rb
plugin.rb
plugin_logger.rb
polling_interval.rb
popen.rb
private_commit_email.rb
profiler.rb
project_search_results.rb Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
project_service_logger.rb
project_template.rb
project_transfer.rb
prometheus_client.rb
protocol_access.rb
proxy_http_connection_adapter.rb
query_limiting.rb
recaptcha.rb
reference_counter.rb
reference_extractor.rb
regex.rb
release_blog_post.rb Resolve "Add "What's new" menu item in top navigation" 2019-01-14 16:10:19 +00:00
repo_path.rb
repository_cache.rb Revert "Merge branch '3062-improve-project-cache' into 'master'" 2019-01-08 13:14:06 -08:00
repository_cache_adapter.rb
repository_check_logger.rb
request_context.rb Switch use of Rack::Request to ActionDispatch::Request 2019-01-07 00:35:53 -08:00
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
safe_request_store.rb Change SafeRequestStore#write to accept an options hash 2018-12-17 19:57:03 -02:00
search_results.rb Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
seeder.rb Backport of elastic-test-repos from EE 2019-01-08 17:18:15 -06:00
sentry.rb Extract process_name from GitLab::Sentry 2019-01-16 15:29:05 +02:00
setup_helper.rb
shard_health_cache.rb
shell.rb Track Sentry error when namespace cannot be moved 2019-01-04 20:49:01 +02:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb Fix ConstantName rubocop offense 2018-12-09 22:45:48 +05:00
string_placeholder_replacer.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb
tcp_checker.rb
template_helper.rb
temporarily_allow.rb
themes.rb
time_tracking_formatter.rb
timeless.rb
tracing.rb Conditionally initialize the global opentracing tracer 2019-01-17 12:32:44 +02:00
tree_summary.rb
untrusted_regexp.rb
update_path_error.rb
uploads_transfer.rb
url_blocker.rb Add table and model for error tracking settings 2019-01-07 17:55:21 +00:00
url_builder.rb
url_sanitizer.rb Only allow strings in URL::Sanitizer.valid? 2018-12-09 07:59:54 -08:00
usage_data.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
user_access.rb
user_extractor.rb
utils.rb Add config_options|variables to BuildMetadata 2019-01-04 16:38:17 +01:00
version_info.rb Resolve "Add "What's new" menu item in top navigation" 2019-01-14 16:10:19 +00:00
visibility_level.rb
web_ide_commits_counter.rb
wiki_file_finder.rb Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
workhorse.rb Update GitLab Workhorse to v8.0.0 2018-12-11 16:23:23 +00:00