Skip to content

dependabot npm(deps): bump prom-client from 14.1.1 to 14.2.0

Depen d'Abot requested to merge dependabot-npm_and_yarn-prom-client-14.2.0 into master

Bumps prom-client from 14.1.1 to 14.2.0.

Release notes

Sourced from prom-client's releases.

v14.2.0

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: https://github.com/siimon/prom-client/compare/v14.1.1...v14.2.0

Changelog

Sourced from prom-client's changelog.

[14.2.0] - 2023-03-06

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
Commits
  • e4c0a54 14.2.0
  • 734bf26 chore: update changelog for release
  • eee3485 'pruneAgedBuckets' config option for summary (#540)
  • cf5173c feat: improve performance of getMetricAsPrometheusString (#542)
  • 081d8a0 fix: add get method to type definitions of metric classes (#531)
  • 8d6456c Update the sample output in example/default-metrics.js (#491)
  • 991ee0a chore: update changelog
  • See full diff in compare view

Merge request reports

Loading