Sha256: 5e07d981d45b971c6b0dccbdbca22bf6c3ed3d5620f26257b5bd762126a579da
Contents?: true
Size: 459 Bytes
Versions: 64
Compression:
Stored size: 459 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class RestClient < Activator def can_instrument? defined?(::RestClient::Request) && ::Instana.config[:'rest-client'][:enabled] end def instrument require 'instana/instrumentation/rest-client' ::RestClient::Request.prepend ::Instana::Instrumentation::RestClientRequest true end end end end
Version data entries
64 entries across 64 versions & 1 rubygems