Spandex v1.0.3 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
Link to this function span_name(attributes, context_name, context_arity) View Source
Link to this function trace(attributes, body, context) View Source