v15.0.0
Added
- Support for OpenMetrics and Exemplars
Breaking
- drop support for Node.js versions 10, 12, 14, 17 and 19
Changed
- Refactor histogram internals and provide a fast path for rendering metrics to Prometheus strings when there are many labels shared across different values.
- Disable custom content encoding for pushgateway delete requests in order to avoid failures from the server when using
Content-Encoding: gzip
header. - Refactor
escapeString
helper inlib/registry.js
to improve performance and avoid an unnecessarily complex regex. - Cleanup code and refactor to be more efficient
- Correct TS types for working with OpenMetrics
- Updated Typescript and Readme docs for
setToCurrentTime()
to reflect units as seconds. - Do not ignore error if request to pushgateway fails
- Make sure to reject the request to pushgateway if it times out
New Contributors
- @ric113 made their first contribution in #541
- @ngavalas made their first contribution in #546
- @sokyrynskyi made their first contribution in #558
- @grossjo made their first contribution in #560
- @FreeRiderBysik made their first contribution in #571
- @alarobric made their first contribution in #585
- @kdeberk made their first contribution in #578
- @FLNacif made their first contribution in #574
Full Changelog: v14.2.0...v15.0.0