Open ghost opened 4 years ago
When an error bubbles up from this line the trace spans are never flushed https://github.com/openzipkin/zipkin-ruby/blob/master/lib/zipkin-tracer/sidekiq/middleware.rb#L31
This results in spans missing from the trace context in a Zipkin UI.
Was this behavior intentional?
as the author of that middleware, @ayrat555 might be able to answer that question
@brandon-zeeb-nw I think rescue (or ensure clause should be added to the middleware and send traces with exceptions there
rescue
ensure
When an error bubbles up from this line the trace spans are never flushed https://github.com/openzipkin/zipkin-ruby/blob/master/lib/zipkin-tracer/sidekiq/middleware.rb#L31
This results in spans missing from the trace context in a Zipkin UI.
Was this behavior intentional?