Module: Datadog::Tracing::Contrib::Patcher
- Included in:
- ActionCable::Patcher, ActionMailer::Patcher, ActionPack::ActionController::Patcher, ActionPack::Patcher, ActionView::Patcher, ActiveJob::Patcher, ActiveModelSerializers::Patcher, ActiveRecord::Patcher, ActiveSupport::Cache::Patcher, ActiveSupport::Patcher, Aws::Patcher, ConcurrentRuby::Patcher, Dalli::Patcher, DelayedJob::Patcher, Elasticsearch::Patcher, Ethon::Patcher, Excon::Patcher, Faraday::Patcher, GRPC::Patcher, Grape::Patcher, GraphQL::Patcher, HTTP::Patcher, Hanami::Patcher, Httpclient::Patcher, Httprb::Patcher, Kafka::Patcher, Lograge::Patcher, MongoDB::Patcher, Mysql2::Patcher, OpenSearch::Patcher, Datadog::Tracing::Contrib::Pg::Patcher, Datadog::Tracing::Contrib::Presto::Patcher, Qless::Patcher, Que::Patcher, Racecar::Patcher, Rack::MiddlewareNamePatcher, Rack::MiddlewarePatcher, Rails::Patcher, Rake::Patcher, Redis::Patcher, Resque::Patcher, RestClient::Patcher, Roda::Patcher, SemanticLogger::Patcher, Sequel::Patcher, Shoryuken::Patcher, Sidekiq::Patcher, Sinatra::Patcher, Sneakers::Patcher, Stripe::Patcher, SuckerPunch::Patcher, Trilogy::Patcher
- Defined in:
- lib/datadog/tracing/contrib/patcher.rb
Overview
Common behavior for patcher modules.
‘include`ing Patcher into a new module is the recommend way to create a custom patcher. The patcher can then be provided to a custom Integration for instrumentation.
Defined Under Namespace
Modules: CommonMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
11 12 13 14 |
# File 'lib/datadog/tracing/contrib/patcher.rb', line 11 def self.included(base) base.singleton_class.prepend(CommonMethods) base.prepend(CommonMethods) if base.instance_of?(Class) end |