Changelog History
-
v1.1.0 Changes
โ Added
- โ Added
monotonic_time
measurement to all span events. (#92) - โ Added a
[telemetry, handler, failure]
event emitted when any handler fails and is detached. (#98) - โ Added a
mix.exs
file, lowering the memory footprint of compilation in Elixir projects. (#103)
- โ Added
-
v1.0.0 Changes
๐ There are no changes in the 1.0.0 release - it marks the stability of the API.
-
v0.4.3 Changes
This release improves the
telemetry:span/3
function by adding thetelemetry_span_context
metadata ๐ to all span events. The new metadata enables correlating span events that belong to the same span.โ Added
- Added
telemetry_span_context
metadata to all events emitted bytelemetry:span/3
.
- Added
-
v0.4.2 Changes
โ Added
- โ Added the
telemetry:span/3
function.
- โ Added the
-
v0.4.1 Changes
๐ Apart from the code changes listed below, this release includes a few improvements ๐ to the documentation.
๐ Changed
- Calls to
execute/3
whentelemetry
application is not started no longer cause an error.
- Calls to
-
v0.4.0 Changes
February 09, 2019A single event value has been replaced by a map of measurements. Now it is up to the consumer of the ๐ฐ event to decide what part of the payload is important. This is useful in cases where event indicates that a thing happened but there are many properties describing it. For example, a database query event may include total time, decode time, wait time and other measurements.
๐ Changed
execute/3
now accepts a map of measurements instead of event value
๐ Deprecated
:telemetry.execute/3
with an event value in favour of:telemetry.execute/3
with a map of measurements. If the event value is provided, it is put in a map under a:value
key and provided as measurements to a handler function.
-
v0.3.0 Changes
December 31, 2018๐ 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
-
v0.2.0 Changes
October 12, 2018๐ The main point of this release is to mark base Telemetry API as stable, so that other libraries can rely on it without worrying about backwards compatibility.
โ Removed
- โ Removed
Telemetry.attach/4
andTelemetry.attach_many/4
- the handler config is now required.
๐ Fixed
- ๐ Fixed type specs which were producing Dialyzer errors.
- โ Removed
-
v0.1.0 Changes
August 13, 2018๐ First release of Telemetry library.