Bump prom-client from 14.1.1 to 14.2.0
Created by: dependabot[bot]
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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)