Skip to content

dependabot npm(deps): bump prom-client from 14.0.1 to 14.1.0

Depen d'Abot requested to merge dependabot-npm_and_yarn-prom-client-14.1.0 into master

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 by gauge.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() and gauge.dec() by calling hashObject() 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 the processHandles 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

Full 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 by gauge.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() and gauge.dec() by calling hashObject() 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 the processHandles 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

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 the processRequests and processHandles metrics
  • 8841de4 rm accidentally submitted .default-metrics.js.swp (#489)
  • Additional commits viewable in compare view

Merge request reports

Loading