trying out things

This commit is contained in:
Konstantin Haase 2015-01-14 14:12:54 +01:00
parent 73f55b8243
commit f5b3349d89

View File

@ -12,7 +12,7 @@ class Travis::Api::App
after do
instrumenter = ::Skylight::Instrumenter.instance
trace = instrumenter.current_trace if instrumenter
trace.endpoint = endpoint if trace and endpoint
trace.endpoint = "#{request.method} #{endpoint}" || "unknown" if trace
end
def endpoint