Module: OpenTelemetry::Instrumentation::RestClient::Patches::Request

Defined in:
lib/opentelemetry/instrumentation/restclient/patches/request.rb

Overview

Module to prepend to RestClient::Request for instrumentation

Instance Method Summary collapse

Instance Method Details

#execute(&block) ⇒ Object



13
14
15
16
17
# File 'lib/opentelemetry/instrumentation/restclient/patches/request.rb', line 13

def execute(&block)
  trace_request do |_span|
    super
  end
end