class Pantomath::Instrumentation::Grape::Tracer
Private Instance Methods
span_name()
click to toggle source
# File lib/pantomath/instrumentation/grape/tracer.rb, line 22 def span_name "#{context.request.env['REQUEST_METHOD']} #{context.request.path}" end
tracer_context()
click to toggle source
# File lib/pantomath/instrumentation/grape/tracer.rb, line 26 def tracer_context Pantomath.extract(OpenTracing::FORMAT_RACK, context.request.env) end