Skip to content

v14.2.0

Compare
Choose a tag to compare
@SimenB SimenB released this 06 Mar 14:27
· 56 commits to master since this release

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