Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
y9v committed Sep 18, 2024
1 parent 704eb19 commit deaba02
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/datadog/tracing/contrib/grape/endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ def endpoint_start_process(_name, _start, _finish, _id, payload)
span.set_tag(Tracing::Metadata::Ext::TAG_OPERATION, Ext::TAG_OPERATION_ENDPOINT_RUN)

if (grape_route = env['grape.routing_args']) && grape_route[:route_info]
puts '=' * 80
puts grape_route[:route_info].path
puts '=' * 80
trace.set_tag(
Tracing::Metadata::Ext::HTTP::TAG_ROUTE,
# here we are removing the format from the path:
Expand Down

0 comments on commit deaba02

Please sign in to comment.