npm prom-client 14.2.0
v14.2.0

latest releases: 15.1.3, 15.1.2, 15.1.1...
20 months 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 prom-client release

NewReleases is sending notifications on new releases.