We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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