Class: Restify::Adapter::Typhoeus::Request
- Inherits:
-
Typhoeus::Request
- Object
- Typhoeus::Request
- Restify::Adapter::Typhoeus::Request
- Defined in:
- lib/restify/adapter/typhoeus.rb
Instance Attribute Summary collapse
-
#_otel_span ⇒ Object
Keep track of the OTEL span and the restify promise in the queued Typhoeus request.
-
#_restify_writer ⇒ Object
Keep track of the OTEL span and the restify promise in the queued Typhoeus request.
Instance Attribute Details
#_otel_span ⇒ Object
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_writer ⇒ Object
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 |