npm prom-client 15.0.0
v15.0.0

latest releases: 15.1.3, 15.1.2, 15.1.1...
11 months ago

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 in lib/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

Full Changelog: v14.2.0...v15.0.0

Don't miss a new prom-client release

NewReleases is sending notifications on new releases.