telemetry v0.3.0 Release Notes

Release Date: 2018-12-31 // over 5 years ago
  • ๐Ÿš€ This release marks the conversion from Elixir to Erlang. This is a breaking change, but the benefits largely surpass the drawbacks - Telemetry core can now be used by all projects running on the BEAM, regardless of the language they're written in.

    โž• Added

    • Added :telemetry.handler/0, :telemetry.handler_function/0 and :telemetry.handler_config/0 types.

    ๐Ÿ”„ Changed

    • The library has been rewritten to Erlang. In Elixir, :telemetry module has to be used in place of Telemetry. In Erlang, telemetry module has to be used in place of 'Elixir.Telemetry';
    • :telemetry.list_handlers/1 returns a list of maps (of type :telemetry.handler/0) instead of a list of tuples;
    • :telemetry.attach/4 and :telemetry.attach_many/4 replaced the 5-arity versions and now accept an anonymous function for the handler function instead of a module and function name.

    โœ‚ Removed

    • โœ‚ Removed :telemetry.attach/5 and :telemetry.attach_many/5 - 4-arity versions need to be used now instead.