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 Use strong memoize utility 2018-11-26 17:41:41 +08:00
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 Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
cross_project_access Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
cycle_analytics Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
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 Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
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 Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
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 Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
gfm Eliminate duplicated words 2018-11-22 01:01:23 +09:00
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 Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
google_code_import Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
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 Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
hashed_storage Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
health_checks Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
hook_data Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
i18n Eliminate duplicated words 2018-11-22 01:01:23 +09:00
import Eliminate duplicated words 2018-11-22 01:01:23 +09:00
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 Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
metrics Enable even more frozen string for lib/gitlab 2018-11-16 17:41:14 -08:00
middleware Bang up predicate methods and use #internal_route? 2019-01-16 19:14:46 +11:00
patch
performance_bar Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
popen Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
profiler Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
project_authorizations Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
prometheus Correct ordering of metrics 2018-12-21 16:41:58 +05:30
query_limiting Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
quick_actions Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
redis Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
request_profiler Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sanitizers Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
search Optimized file search to work without limits 2018-12-06 09:25:09 +01:00
serializer Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sherlock Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sidekiq_logging Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sidekiq_middleware Log and pass correlation-id between Unicorn, Sidekiq and Gitaly 2018-12-06 20:46:14 +01:00
sidekiq_status Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sidekiq_versioning Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
slash_commands Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
sql Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
template Prevent a path traversal attack on global file templates 2018-12-05 14:12:35 +00:00
testing Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
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 Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
view/presenter Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
webpack Enable even more frozen string for lib/gitlab 2018-11-19 18:24:22 -08:00
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 Ensure that db encryption keys have proper bytesize 2018-11-22 15:35:49 +01:00
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 Fix rubocop warning 2018-11-16 12:09:18 +01:00
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 Gracefully handle references with null bytes 2018-11-26 14:14:16 -08:00
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 Fix deadlock on ChunkedIO 2018-11-26 13:15:46 +01:00
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 Match users better by their private commit email 2018-11-19 12:45:07 +00:00
profiler.rb Allow profiler to authenticate by stubbing users directly 2018-11-26 11:18:03 +00:00
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 Backport of gitlab-ee!8470 2018-11-19 16:29:19 -05:00
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