Revert span name change to pre-1.18 spec (#214)
This commit is contained in:
parent
318c68d63d
commit
24e823cd23
|
@ -127,8 +127,8 @@ defmodule OpentelemetryReq do
|
||||||
method = http_method(request.method)
|
method = http_method(request.method)
|
||||||
|
|
||||||
case Req.Request.get_private(request, :path_params_template) do
|
case Req.Request.get_private(request, :path_params_template) do
|
||||||
nil -> method
|
nil -> "HTTP #{method}"
|
||||||
params_template -> "#{method} #{params_template}"
|
params_template -> "#{params_template}"
|
||||||
end
|
end
|
||||||
|
|
||||||
span_name ->
|
span_name ->
|
||||||
|
|
Loading…
Reference in New Issue