v14.2.0
Changed
- Refactor
getMetricAsPrometheusStringmethod in theRegistryclass to useArray.prototype.join
instead 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.js summarymetrics 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
New Contributors
- @nflaig made their first contribution in #531
- @shappir made their first contribution in #542
- @rilpires made their first contribution in #540
Full Changelog: v14.1.1...v14.2.0