Skip to content

Commit

Permalink
Revert span name change to pre-1.18 spec (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryannaegele authored Oct 16, 2023
1 parent 318c68d commit 24e823c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instrumentation/opentelemetry_req/lib/opentelemetry_req.ex
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ defmodule OpentelemetryReq do
method = http_method(request.method)

case Req.Request.get_private(request, :path_params_template) do
nil -> method
params_template -> "#{method} #{params_template}"
nil -> "HTTP #{method}"
params_template -> "#{params_template}"
end

span_name ->
Expand Down

0 comments on commit 24e823c

Please sign in to comment.