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
getMetricAsPrometheusStringmethod in theRegistryclass to useArray.prototype.joininstead of loop of string concatenations.- Also use
Array.prototype.map, and object spread instead of an explicitforloop- changed: updated the sample output in
example/default-metrics.jssummarymetrics now has apruneAgedBucketsconfig parameter to remove entries without any new values in the lastmaxAgeSeconds. Default isfalse(old behavior)Added
- Add
getmethod to type definitions of metric classesNew Contributors
@nflaigmade their first contribution in siimon/prom-client#531@shappirmade their first contribution in siimon/prom-client#542@rilpiresmade 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
getMetricAsPrometheusStringmethod in theRegistryclass to useArray.prototype.joininstead of loop of string concatenations.- Also use
Array.prototype.map, and object spread instead of an explicitforloop- changed: updated the sample output in
example/default-metrics.jssummarymetrics now has apruneAgedBucketsconfig parameter to remove entries without any new values in the lastmaxAgeSeconds. Default isfalse(old behavior)Added
- Add
getmethod to type definitions of metric classes
Commits
-
e4c0a5414.2.0 -
734bf26chore: update changelog for release -
eee3485'pruneAgedBuckets' config option for summary (#540) -
cf5173cfeat: improve performance of getMetricAsPrometheusString (#542) -
081d8a0fix: add get method to type definitions of metric classes (#531) -
8d6456cUpdate the sample output in example/default-metrics.js (#491) -
991ee0achore: 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)