Revert span name change to pre-1.18 spec (#214)

This commit is contained in:
Bryan Naegele 2023-10-16 14:16:40 -06:00 committed by GitHub
parent 318c68d63d
commit 24e823cd23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 ->