dependabot npm(deps): bump prom-client from 14.0.1 to 14.1.0
Bumps prom-client from 14.0.1 to 14.1.0.
Release notes
Sourced from prom-client's releases.
v14.1.0
Changed
types: converted all the generic Metric types to be optional
The
done()
functions returned bygauge.startTimer()
andsummary.startTimer()
now return the timed duration. Histograms already had this behavior.types: fixed type for
registry.getMetricsAsArray()
Improve performance of
gague.inc()
andgauge.dec()
by callinghashObject()
once.Added
The
processResources
metric was added, which keeps a track of all sorts of active resources. It consists of the following gauges:
nodejs_active_resources
- Number of active resources that are currently keeping the event loop alive, grouped by async resource type.nodejs_active_resources_total
- Total number of active resources. It is supposed to provide the combined result of theprocessHandles
andprocessRequests
metrics along with information about any other types of async resources that these metrics do not keep a track of (like timers).Support gzipped pushgateway requests
New Contributors
@thierrylamarre
made their first contribution in siimon/prom-client#477@RaisinTen
made their first contribution in siimon/prom-client#485@mdornseif
made their first contribution in siimon/prom-client#489@justinmchase
made their first contribution in siimon/prom-client#496@RomanYar
made their first contribution in siimon/prom-client#505@tuyennhv
made their first contribution in siimon/prom-client#503@vpalmisano
made their first contribution in siimon/prom-client#508Full Changelog: https://github.com/siimon/prom-client/compare/v14.0.1...v14.1.0
Changelog
Sourced from prom-client's changelog.
[14.1.0] - 2022-08-23
Changed
types: converted all the generic Metric types to be optional
The
done()
functions returned bygauge.startTimer()
andsummary.startTimer()
now return the timed duration. Histograms already had this behavior.types: fixed type for
registry.getMetricsAsArray()
Improve performance of
gague.inc()
andgauge.dec()
by callinghashObject()
once.Added
The
processResources
metric was added, which keeps a track of all sorts of active resources. It consists of the following gauges:
nodejs_active_resources
- Number of active resources that are currently keeping the event loop alive, grouped by async resource type.nodejs_active_resources_total
- Total number of active resources. It is supposed to provide the combined result of theprocessHandles
andprocessRequests
metrics along with information about any other types of async resources that these metrics do not keep a track of (like timers).Support gzipped pushgateway requests
Commits
-
0cf38e8
14.1.0 -
4abe55e
chore: update changelog for release -
9733ef9
Support gzipped pushgateway requests (#508) -
9e45dfc
chore: update changelog with 14.0.1 release -
e818812
perf: improve performance of gauge inc() dec() (#503) -
a33d294
feat(types): add default types to metrics types (#505) -
a6d4700
chore: test on node 18 (#509) -
721829c
chore(tests): async await instead of setTimeout (#496) -
98b7ad8
Preserve theprocessRequests
andprocessHandles
metrics -
8841de4
rm accidentally submitted .default-metrics.js.swp (#489) - Additional commits viewable in compare view