diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 464c39a..bcaeeb9 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -1,2 +1,2 @@ # Any differences between prod and stage should be handled in ENV variables -require_relative 'production' +require_relative "production" diff --git a/config/initializers/datadog_trace.rb b/config/initializers/datadog_trace.rb index b2fa1a7..e707079 100644 --- a/config/initializers/datadog_trace.rb +++ b/config/initializers/datadog_trace.rb @@ -34,8 +34,8 @@ c.tracing.instrument :sidekiq, service_name: "#{ENV['PROJECT_NAME']}-sidekiq" # skipping the health check: if it returns true, the trace is dropped - Datadog::Pipeline.before_flush(Datadog::Pipeline::SpanFilter.new do |span| - span.name == 'rack.request' && span.get_tag('http.url') == '/monitors/lb' - end) + #Datadog::Pipeline.before_flush(Datadog::Pipeline::SpanFilter.new do |span| + # span.name == 'rack.request' && span.get_tag('http.url') == '/monitors/lb' + #end) end end