Class: Restify::Adapter::Typhoeus::Request

Inherits:
Typhoeus::Request
  • Object
show all
Defined in:
lib/restify/adapter/typhoeus.rb

Instance Attribute Summary collapse

Instance Attribute Details

#_otel_spanObject

Keep track of the OTEL span and the restify promise in the queued Typhoeus request.

We need to access these to restore the tracing context, or bubble up exception that happen in the background thread after queuing, but when Hydra adds the requests to libcurl.



193
194
195
# File 'lib/restify/adapter/typhoeus.rb', line 193

def _otel_span
  @_otel_span
end

#_restify_writerObject

Keep track of the OTEL span and the restify promise in the queued Typhoeus request.

We need to access these to restore the tracing context, or bubble up exception that happen in the background thread after queuing, but when Hydra adds the requests to libcurl.



193
194
195
# File 'lib/restify/adapter/typhoeus.rb', line 193

def _restify_writer
  @_restify_writer
end