Current section
Files
Jump to
Current section
Files
telemetry_metrics
CHANGELOG.md
CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.2.1](https://github.com/beam-telemetry/telemetry_metrics/tree/v0.2.1)
### Fixed
* dialyzer no longer fails on valid calls to `distribution/2` with `:buckets` option
## [0.2.0](https://github.com/beam-telemetry/telemetry_metrics/tree/v0.2.0)
This release makes the library compatible with Telemetry v0.4.0. This means that metric values are
now based on one of the measurements. The first argument to all metric definition now specifies
the metric name, but also the source event name and the measurement - however, both of them can be
overriden using options.
### Added
* support for Telemetry v0.4.0 - the measurement can be configured indirectly via metric name or a
`:measurement` option
* `:tag_values` option to apply final transformations to event metadata before it's used for tags
* `:event_name` and `:measurement` to override event name and measurement set via metric name
* ability to convert time unit of measurement via `:unit` option
### Changed
* first argument to all metric definitions is a metric name instead of event name
* `:unit` option now also accepts a tuple specifying the conversion of time unit of measurement
### Removed
* `:metadata` option - `:tag_values` can be used to transform event metadata now instead
## [0.1.0](https://github.com/beam-telemetry/telemetry_metrics/tree/v0.1.0)
### Added
* four metric specifications, `counter/2`, `sum/2`, `last_value/2` and `distribution/2`