Module: Atatus::SpanHelpers::ClassMethods Private

Defined in:
lib/atatus/span_helpers.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#instrument_class_method(method, name = nil, type = nil, subtype = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



33
34
35
# File 'lib/atatus/span_helpers.rb', line 33

def instrument_class_method(method, name = nil, type = nil, subtype = nil)
  __span_method_on(singleton_class, method, name, type, subtype)
end

#instrument_method(method, name = nil, type = nil, subtype = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



37
38
39
# File 'lib/atatus/span_helpers.rb', line 37

def instrument_method(method, name = nil, type = nil, subtype = nil)
  __span_method_on(self, method, name, type, subtype)
end

#span_class_method(method, name = nil, type = nil, subtype = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



25
26
27
# File 'lib/atatus/span_helpers.rb', line 25

def span_class_method(method, name = nil, type = nil, subtype = nil)
  __span_method_on(singleton_class, method, name, type, subtype)
end

#span_method(method, name = nil, type = nil, subtype = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/atatus/span_helpers.rb', line 29

def span_method(method, name = nil, type = nil, subtype = nil)
  __span_method_on(self, method, name, type, subtype)
end