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 ofTelemetry
. 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.
- Added