lib/scout_rails/tracer.rb in scout_rails-1.1.5.pre5 vs lib/scout_rails/tracer.rb in scout_rails-1.1.5.pre6
- old
+ new
@@ -19,9 +19,10 @@
instrument(metric_name, options) do
Thread::current[:scout_scope_name] = metric_name
yield
Thread::current[:scout_scope_name] = nil
end
+ Thread::current[:scout_custom_attributes] = nil
end
# Options:
# - :scope => If specified, sets the sub-scope for the metric. We allow additional scope level. This is used
# when rendering the transaction tree in the UI.
\ No newline at end of file