Spandex v1.0.0-rc.4 Spandex.TraceDecorator View Source

defmodule Foo do use Spandex.TraceDecorator

@decorate traced() def bar(a) do

a * 2

end

@decorate traced(service: “ecto”, type: “sql”) def databaz(a) do

a * 3

end end

Link to this section Summary

Link to this section Functions

Link to this function span(attributes, body, context) View Source