Autometrics TypeScript 0.7 - breaking changes
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
- Eagerly push metrics when pushInterval is 0 by @brettimus in #99
- Initial Gravel Gateway Support by @brettimus in #110
- Exporter packages by @arendjr in #115
- Drop on-demand-metric-reader package by @arendjr in #117
- Update package.json to beta versions and add a script for publishing beta versions by @brettimus in #118
- 0.7.0 beta testing fixes by @brettimus in #120
- Use delta temporality for React example by @arendjr in #121
- Upgrade Rome to Biome by @arendjr in #122
- Fix default prometheus exporter port by @brettimus in #123
- Clear timer on handover by @arendjr in #124
- Update Quickstart and recipes by @arendjr in #116
- Update package versions and dependencies to 0.7.0 by @brettimus in #125
- Fix: support Bun runtime in the core library by @keturiosakys in #127
- Warn on a potentially incorrect HTTP OTLP endpoint by @keturiosakys in #126
- Publish 0.7.* of core and exporters by @keturiosakys in #128
Full Changelog: lib-v0.6...lib-v0.7.0