Sha256: 3adac42ea77f9f05790e0e0086a14e1fa81b75bb6b5d9c0428c3d0dc974ab1bf
Contents?: true
Size: 441 Bytes
Versions: 64
Compression:
Stored size: 441 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class ActionControllerAPI < Activator def can_instrument? defined?(::ActionController::API) end def instrument require 'instana/instrumentation/action_controller' ::ActionController::API .prepend(Instana::Instrumentation::ActionController) true end end end end
Version data entries
64 entries across 64 versions & 1 rubygems