lib/honeycomb/span.rb in honeycomb-beeline-0.7.0 vs lib/honeycomb/span.rb in honeycomb-beeline-0.8.0
- old
+ new
@@ -42,10 +42,10 @@
event.add_field "app.#{field}", value
end
start = Time.now
- yield span_id, trace_id
+ yield span_id, trace_id, event
end
rescue Exception => e
if event
# TODO what should the prefix be?
event.add_field 'app.error', e.class.name