module StaticTracing::Tracer::Concerns::Latency

Including this module will cause the target to have latency tracers added around every method

Public Class Methods

included(base) click to toggle source
# File lib/ruby-static-tracing/tracer/concerns/latency_tracer.rb, line 8
def self.included(base)
  methods = base.public_instance_methods(false)
  StaticTracing::Tracer::Latency.register(base, methods)
end