PayU / prometheus-api-metrics

API and process monitoring with Prometheus for Node.js micro-service
Apache License 2.0
130 stars 44 forks source link

refactor: Upgrade prom-client from 13.1.0 to 13.2.0 #81

Closed snyk-bot closed 2 years ago

snyk-bot commented 2 years ago

Snyk has created this PR to upgrade prom-client from 13.1.0 to 13.2.0.

merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Release notes
Package name: prom-client
  • 13.2.0 - 2021-08-09

    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

    • feat: added zero() to Histogram for setting the metrics for a given label combination to zero
    • fix: allow Gauge.inc/dec(0) without defaulting to 1
  • 13.1.0 - 2021-01-25

    [13.1.0] - 2021-01-24

    Changed

    • fix: push client attempting to write Promise (fixes #390)
    • types: improve type checking of labels
    • fix: Summary#observe should throw when adding additional labels to labelset (fixes #262)

    Added

    • feat: added the ability to pass labels as an object to labels() and remove()
    • Added: More examples with commented output
from prom-client GitHub release notes
Commit messages
Package name: prom-client
  • f817dd3 v13.2.0
  • 5fb2355 Shorten some util code
  • 65cef4c Reduce memory allocations/improve perf of Counter
  • 66f50b6 Reduce memory allocations/improve perf of Gauge
  • 2335e00 docs: fix config reference for `collectDefaultMetrics`
  • 83cb173 In gauge.inc/dec, default to 1 only if no arg is passed
  • a972f0c Set aggregation method for newer event loop metrics
  • c31ccec Use entry.details.kind if exists fallback entry.kind
  • 436a674 added histogram example with observe method using labels
  • 9d5b7f8 remove process.platform mock
  • 4c8bbc7 fix: set labels for linux memory metrics
  • 216e2b3 Update Changelog
  • bfeabc2 Remove useless event listener when outside of cluster mode
  • c7b9a9d chore(ci): test on node v16 (#436)
  • 96f7495 Add function for setting a Histogram to zero for given labels
Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 3.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: