We’ve just pushed Telemetry.Metrics 0.2.0 to Hex. Version 0.1.0 has been published for a while now, but this version finally makes the library compatible with Telemetry 0.4.0 and brings many other improvements.
In short, Telemetry.Metrics allows you to define how you wish the Telemetry events to be aggregated. For example, the following metric definition
means that you want to sum up
:payload_size measurement of the
[:http, :request] Telemetry events.
Telemetry.Metrics doesn’t aggregate the metrics itself, rather it relies on reporters to subscribe to relevant events and aggregate the metrics in a way that makes the most sense for the monitoring system they report to.
I recommend checking out the docs since they contain way more information. Since this version we also have a guide for writing reporters
Big thank you to all the people involved in discussions around the design and ideas for improvement - we wouldn’t have made it without you