siimon/prom-client
### [`v14.2.0`](https://togithub.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1420---2023-03-06)
[Compare Source](https://togithub.com/siimon/prom-client/compare/v14.1.1...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
Configuration
📅 Schedule: Branch creation - "on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
14.1.1
->14.2.0
Release Notes
siimon/prom-client
### [`v14.2.0`](https://togithub.com/siimon/prom-client/blob/HEAD/CHANGELOG.md#1420---2023-03-06) [Compare Source](https://togithub.com/siimon/prom-client/compare/v14.1.1...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 classesConfiguration
📅 Schedule: Branch creation - "on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.