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



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

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