Prototyping with Phoenix LiveView: A Perfect Play Queue Final Stream Curious Case of String.slice/3: trim by graphemes, by codepoints, and trim like SalesForce does

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

https://hexdocs.pm/open_telemetry_decorator