Module: Datadog::Tracing::Contrib::Grape::Instrumentation

Defined in:
lib/datadog/tracing/contrib/grape/instrumentation.rb

Overview

Instrumentation for Grape::Endpoint

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/datadog/tracing/contrib/grape/instrumentation.rb', line 7

def self.included(base)
  base.singleton_class.prepend(ClassMethods)
  base.prepend(InstanceMethods)
end