Repository navigation
v1.0.0
Changes
- break(metrics): 💥 Harden metrics public API
Release details
- npm: https://www.npmjs.com/package/@haskou/metrics/v/1.0.0
- Pull request: #4
- Source branch:
- Version bump:
Pull request notes
Summary
- add global instrumentation defaults to
configureMetrics - restrict the root package exports to the public entrypoints
- expose advanced APIs through
contractsandmodelsubpaths - include structured error details in failure logs
- document Prometheus cardinality rules
Impact
This is a breaking API hardening change because support/model exports are no longer re-exported from the package root.
Validation
- yarn lint
- yarn typecheck
- yarn test:coverage
- yarn docs:build
- yarn test:package
- yarn build