Class: SignalFx::Tracing::HttpSenderWithFlag

Inherits:
Jaeger::Client::HttpSender
  • Object
show all
Defined in:
lib/signalfx/tracing/http_sender.rb

Instance Method Summary collapse

Instance Method Details

#send_spans(spans) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/signalfx/tracing/http_sender.rb', line 13

def send_spans(spans)
  Thread.current.thread_variable_set(:http_sender_thread, true)

  super
ensure
  Thread.current.thread_variable_set(:http_sender_thread, nil)
end