class Pantomath::Instrumentation::ActionController::Tracer
Private Instance Methods
span_name()
click to toggle source
# File lib/pantomath/instrumentation/action_controller/tracer.rb, line 22 def span_name "#{context.request.method} #{context.request.path}" end
status()
click to toggle source
# File lib/pantomath/instrumentation/action_controller/tracer.rb, line 30 def status ["http.response.status_code", context.status] end
tracer_context()
click to toggle source
# File lib/pantomath/instrumentation/action_controller/tracer.rb, line 26 def tracer_context Pantomath.extract(OpenTracing::FORMAT_RACK, context.request.env) end