From Zero to Custom email templates and layouts with Bamboo Elixir Wizards S4E2 Mohd Maqbool Alam on System and Application Architecture

Telemetría → :telemetry convenient wrapper

I am glad to announce the first Telemetria release. https://hexdocs.pm/telemetria

It takes care of event registration (through compilation manifest), runtime and release configs (through config provider), and basically allows to wrap any expressions and/or functions to “telemetryized” calls.

If you hesitated to add telemetry to your project, it’s a great time. Example from docs:

defmodule MyMod do
  import Telemetria

  defpt pi, do: 3.14
  deft answer, do: 42 - pi()

  def inner do
    short_result = t(42 * 42)
    result =
      t do
        # long calculations
        :ok
      end
  end
end

Enjoy. Feedback is very welcome, as always.

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.