module Datadog::Annotation
Datadog::Annotation
allows you to annotate methods which you want to trace. Usage:
class Test include Datadog::Annotation __trace method: :test, service: "web" def test; end
Public Class Methods
included(base)
click to toggle source
# File lib/ddtrace/annotation.rb, line 16 def self.included(base) base.class_eval do extend Decorator @traced_methods = {} end end