v14.1.0
Changed
-
types: converted all the generic Metric types to be optional
-
The
done()
functions returned bygauge.startTimer()
and
summary.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
and
processRequests
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 #477
- @RaisinTen made their first contribution in #485
- @mdornseif made their first contribution in #489
- @justinmchase made their first contribution in #496
- @RomanYar made their first contribution in #505
- @tuyennhv made their first contribution in #503
- @vpalmisano made their first contribution in #508
Full Changelog: v14.0.1...v14.1.0