fix method name
This commit is contained in:
parent
f5b3349d89
commit
301880b600
|
@ -12,7 +12,7 @@ class Travis::Api::App
|
|||
after do
|
||||
instrumenter = ::Skylight::Instrumenter.instance
|
||||
trace = instrumenter.current_trace if instrumenter
|
||||
trace.endpoint = "#{request.method} #{endpoint}" || "unknown" if trace
|
||||
trace.endpoint = "#{request.request_method} #{endpoint}" || "unknown" if trace
|
||||
end
|
||||
|
||||
def endpoint
|
||||
|
|
Loading…
Reference in New Issue
Block a user