Skip to content

Autometrics TypeScript 0.7 - breaking changes

Compare
Choose a tag to compare
@keturiosakys keturiosakys released this 28 Sep 09:59
· 19 commits to main since this release
e17a6a6

Breaking changes: Exporter packages

v0.7 is a big change to how the Autometrics library works in JavaScript. The core library interface of wrappers and decorators remains the same and will collect the metrics as previously, however it will not export them. For that purpose exporters are now separate to the library itself allowing the user more control as to how they want to set up the metrics collection: as a pull endpoint for Prometheus, push gateway, OpenTelemetry collector or something else.

See the changelog for a full list of updates and the updated quickstart on how to work with the new TypeScript packages: https://docs.autometrics.dev/typescript/quickstart

Changelog

Full Changelog: lib-v0.6...lib-v0.7.0