github prometheus/client_js v14.2.0

latest releases: v0.16.1, v0.16.0, v0.16.0-alpha.1...
3 years ago

Changed

  • Refactor getMetricAsPrometheusString method in the Registry class to use Array.prototype.join
    instead of loop of string concatenations.
  • Also use Array.prototype.map, and object spread instead of an explicit for loop
  • changed: updated the sample output in example/default-metrics.js
  • summary metrics now has a pruneAgedBuckets config parameter
    to remove entries without any new values in the last maxAgeSeconds.
    Default is false (old behavior)

Added

  • Add get method to type definitions of metric classes

New Contributors

Full Changelog: v14.1.1...v14.2.0

Don't miss a new client_js release

NewReleases is sending notifications on new releases.