use path info if we don't have a pattern
This commit is contained in:
parent
f5f6b9d771
commit
831549a173
|
@ -12,8 +12,7 @@ class Travis::Api::App
|
||||||
after do
|
after do
|
||||||
instrumenter = ::Skylight::Instrumenter.instance
|
instrumenter = ::Skylight::Instrumenter.instance
|
||||||
trace = instrumenter.current_trace if instrumenter
|
trace = instrumenter.current_trace if instrumenter
|
||||||
x = trace.endpoint = "#{request.request_method} #{endpoint}" || "unknown" if trace
|
trace.endpoint = "#{request.request_method} #{endpoint || request.path_info}" if trace
|
||||||
puts env.inspect unless x
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def endpoint
|
def endpoint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user