OpenTelemetryDecorator: add OpenTelemetry traces with one line of code
Yesterday I published my first hex package! A decorator macro that lets you add an OpenTelemetry trace to a function, (and specify span name and attributes) with one line of code. For example:
@decorate trace("add", [:a, :b, :result])
def add(a, b), do: a + b
Read next Curious Case of String.slice/3: trim by graphemes, by codepoints, and trim like SalesForce does