Sha256: 47ec7072dba727c326e9609f3e6a5e74d5f222f80197ea1fc7d7156046dba268
Contents?: true
Size: 577 Bytes
Versions: 64
Compression:
Stored size: 577 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2016 module Instana module Instrumentation module RestClientRequest def execute(&block) # Since RestClient uses net/http under the covers, we just # provide span visibility here. HTTP related KVs are reported # in the Net::HTTP instrumentation ::Instana.tracer.log_entry(:'rest-client') super(&block) rescue => e ::Instana.tracer.log_error(e) raise ensure ::Instana.tracer.log_exit(:'rest-client') end end end end
Version data entries
64 entries across 64 versions & 1 rubygems