dependabot npm(deps): bump prom-client from 14.1.1 to 14.2.0
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 theRegistry
class to useArray.prototype.join
instead of loop of string concatenations.- Also use
Array.prototype.map
, and object spread instead of an explicitfor
loop- changed: updated the sample output in
example/default-metrics.js
summary
metrics now has apruneAgedBuckets
config parameter to remove entries without any new values in the lastmaxAgeSeconds
. Default isfalse
(old behavior)Added
- Add
get
method to type definitions of metric classesNew Contributors
@nflaig
made their first contribution in siimon/prom-client#531@shappir
made their first contribution in siimon/prom-client#542@rilpires
made their first contribution in siimon/prom-client#540Full 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 theRegistry
class to useArray.prototype.join
instead of loop of string concatenations.- Also use
Array.prototype.map
, and object spread instead of an explicitfor
loop- changed: updated the sample output in
example/default-metrics.js
summary
metrics now has apruneAgedBuckets
config parameter to remove entries without any new values in the lastmaxAgeSeconds
. Default isfalse
(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