summaryrefslogtreecommitdiff
path: root/lib/gitlab/tracing/jaeger_factory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/tracing/jaeger_factory.rb')
-rw-r--r--lib/gitlab/tracing/jaeger_factory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/tracing/jaeger_factory.rb b/lib/gitlab/tracing/jaeger_factory.rb
index 0726f6b67f4..2682007302a 100644
--- a/lib/gitlab/tracing/jaeger_factory.rb
+++ b/lib/gitlab/tracing/jaeger_factory.rb
@@ -22,7 +22,7 @@ module Gitlab
service_name: service_name,
sampler: get_sampler(options[:sampler], options[:sampler_param]),
reporter: get_reporter(service_name, options[:http_endpoint], options[:udp_endpoint])
- }
+ }.compact
extra_params = options.except(:sampler, :sampler_param, :http_endpoint, :udp_endpoint, :strict_parsing, :debug) # rubocop: disable CodeReuse/ActiveRecord
if extra_params.present?