lib/labkit/tracing.rb in gitlab-labkit-0.10.1 vs lib/labkit/tracing.rb in gitlab-labkit-0.11.0

- old
+ new

@@ -26,9 +26,13 @@ def self.tracing_url_template ENV["GITLAB_TRACING_URL"] end + def self.stacktrace_operations + @stacktrace_operations ||= Set.new(ENV["GITLAB_TRACING_INCLUDE_STACKTRACE"].to_s.split(",").map(&:strip)) + end + def self.tracing_url_enabled? enabled? && tracing_url_template.present? end # This will provide a link into the distributed tracing for the current trace,