Module: OpenTelemetry::Instrumentation::RestClient::Patches::Request
- Defined in:
- lib/opentelemetry/instrumentation/restclient/patches/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(&block) ⇒ Object
16 17 18 19 20 |
# File 'lib/opentelemetry/instrumentation/restclient/patches/request.rb', line 16 def execute(&block) trace_request do |_span| super end end |