v0.9.0 - Autometrics 1.0 spec, logging
0.9.0
The main goal of the release is to follow the 1.0 specification of Autometrics. There are 2 other big changes:
- autometrics
defer
statement is split in 2, so that the context created by autometrics can be passed and reused in the instrumented function (doing so will makecaller
information more useful, and ensure more links in the call graphs) - autometrics takes an optional logger to log errors that might happen while dealing with the monitoring backend, so the signature of
autometrics.Init
changed
What's Changed
- Fix quickstart instruction by @gagbo in #75
- Implement
repository
fields and support for filtered caller tracking by @gagbo in #79 - Add Logging interface to Autometrics by @gagbo in #80
Full Changelog: https://github.com/autometrics-dev/autometrics-go/blob/main/CHANGELOG.md