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
891 stars 136 forks source link

Bump prom-client from 13.1.0 to 14.0.1 #158

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps prom-client from 13.1.0 to 14.0.1.

Release notes

Sourced from prom-client's releases.

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

  • 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:
    gateway
      .pushAdd({ jobName: 'test' })
      .then(({ resp, body }) => {})
      .catch(err => {});
    // or
    const { resp, body } = await gateway.pushAdd({ jobName: 'test' });
    

    f177b1f

  • changed: The default nodejs_eventloop_lag_* metrics are now reset every time they are observed. This prevents these metrics from "stabilizing" over a long period of time and becoming insensitive to small changes. For more info, see #370. 0f444cd

Changed

  • Add missing await/thens to examples. 074f339
  • Add missing type declaration for client.contentType. 3b66641
  • Modernize some label processing code. c9bf1d8

v13.2.0

Changed

  • Don't add event listener to process if cluster module is not used.
  • fix: set labels for default memory metrics on linux.
  • fix: fix DEP0152 deprecation warning in Node.js v16+.
  • fix: Set aggregation mode for newer event loop metrics. (Fixes #418)
  • Improve performance of/reduce memory allocations in Gauge.

Added

... (truncated)

Changelog

Sourced from prom-client's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

Breaking

Changed

  • 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()

  • changed: typedef for pushgateway to reflect js implementation.

    Pushgateway's typedef were missing promise return type. That was causing vscode to think that push/pushAdd and delete didn't promise resulting in incorrect behavior.

Added

[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:
    gateway
      .pushAdd({ jobName: 'test' })
      .then(({ resp, body }) => {})
      .catch(err => {});
    // or
    const { resp, body } = await gateway.pushAdd({ jobName: 'test' });
    

... (truncated)

Commits
  • d50936a 14.0.1
  • 1821651 Update pushgateway type def (#469)
  • 5c1c68e v14.0.0
  • 0337d5c Update changelog
  • 0f444cd Reset internal histogram of monitorEventLoopDelay after each collect() invoca...
  • 3b66641 Add type declaration for client.contentType
  • 074f339 docs: add missing awaits/thens to examples
  • c9bf1d8 src: resolve a TODO and use a loop intead of arr.reduce
  • f177b1f Promisify pushgateway methods
  • 6f1f3b2 Avoid propagating rounding errors in linearBuckets
  • 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)
coveralls commented 2 years ago

Coverage Status

Coverage decreased (-0.3%) to 89.051% when pulling 91be10120b01c71f1deb1349a6befa299c393519 on dependabot/npm_and_yarn/prom-client-14.0.1 into 0095cfd9d2426c87ef5dc6a9abb63ab170b24f1c on master.

dependabot[bot] commented 2 years ago

Superseded by #205.