Module: OpenTelemetry::Instrumentation::RestClient::Patches::Stable::Request
- Defined in:
- lib/opentelemetry/instrumentation/restclient/patches/stable/request.rb
Overview
Module to prepend to RestClient::Request for instrumentation
Constant Summary collapse
- HTTP_STATUS_SUCCESS_RANGE =
Constant for the HTTP status range
(100..399)
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
17 18 19 20 21 |
# File 'lib/opentelemetry/instrumentation/restclient/patches/stable/request.rb', line 17 def execute(&) trace_request do |_span| super end end |