slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
888 stars 136 forks source link

Bump prom-client from 13.1.0 to 14.1.0 #205

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps prom-client from 13.1.0 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

v14.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/siimon/prom-client/compare/v14.0.0...v14.0.1

v14.0.0

Breaking

... (truncated)

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

[14.0.1] - 2021-11-02

Changed

  • changed: typedef for pushgateway to reflect js implementation.

[14.0.0] - 2021-09-18

Breaking

  • changed: linearBuckets does not propagate rounding errors anymore.

    Fewer bucket bounds will be affected by rounding errors. Histogram bucket labels may change. 6f1f3b2

  • changed: The push gateway methods pushAdd(), push() and delete() now return Promises instead of accepting a callback:

    // Old:
    gateway.pushAdd({ jobName: 'test' }, (err, resp, body) => {});
    // New:
    

... (truncated)

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


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like prom-client is up-to-date now, so this is no longer needed.