Module: ReportsMash::Engine::Instrumentation::External

Defined in:
lib/reportsmash/engine/instrumentation/external.rb

Class Method Summary collapse

Class Method Details

.record_http_trace(data) ⇒ Object



3
4
5
# File 'lib/reportsmash/engine/instrumentation/external.rb', line 3

def self.record_http_trace(data)
  ReportsMash::Engine.engine.save_external_http(data)
end

.record_mc_trace(op, duration) ⇒ Object



7
8
9
# File 'lib/reportsmash/engine/instrumentation/external.rb', line 7

def self.record_mc_trace(op, duration)
  ReportsMash::Engine.engine.save_external_mc(op, duration)
end

.record_redis_trace(op, duration) ⇒ Object



11
12
13
# File 'lib/reportsmash/engine/instrumentation/external.rb', line 11

def self.record_redis_trace(op, duration)
  ReportsMash::Engine.engine.save_external_redis(op, duration)
end