We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
defmodule Tesla.Middleware.Appsignal do import Appsignal.Instrumentation.Helpers, only: [instrument: 3] def call(env, next, _opts) do verb = env.method |> to_string |> String.upcase instrument "net.http", "#{verb} #{env.url}", fn -> Tesla.run(env, next) end end end