Skip to content

Commit

Permalink
Remove extra details from trace - not particularly useful.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 25, 2024
1 parent ae4a2cb commit c783e1c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/falcon/middleware/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,9 @@ def call(request)
Traces::Provider(self) do
def call(request)
attributes = {
authority: request.authority,
"authority" => request.authority,
}

if host = lookup(request)
attributes[:endpoint] = host.endpoint.inspect

if client = @clients[host.endpoint]
attributes[:client] = client.as_json
attributes[:pool] = client.pool.as_json
end
end

Traces.trace('falcon.middleware.proxy.call', attributes: attributes) do
super
end
Expand Down

0 comments on commit c783e1c

Please sign in to comment.