Skip to content

Update dependency prom-client to v15

renovate-maintainer requested to merge renovate-prom-client-15.x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
prom-client ^14.0.0 -> ^15.0.0 age adoption passing confidence

Release Notes

siimon/prom-client (prom-client)

v15.1.3

Compare Source

Changed
  • Improve error message when number of registered labels mismatch with the number of labels provided

v15.1.2

Compare Source

Changed
  • Add Registry.PROMETHEUS_CONTENT_TYPE and Registry.OPENMETRICS_CONTENT_TYPE constants to the TypeScript types
  • Correctly read and set contentType top level export
Added
  • Enable bun.js by catching NotImplemented error (Fixes #​570)

v15.1.1

Compare Source

Changed
  • Improve the memory usage of histograms when the enableExemplars option is disabled
  • fix: Avoid updating exemplar values during subsequent metric changes (Fixes #​616)

v15.1.0

Compare Source

Changed
  • remove unnecessary loop from osMemoryHeapLinux
  • Improve performance of hashObject by using pre-sorted array of label names
  • Fix type of collectDefaultMetrics.metricsList
Added
  • Allow Pushgateway to now require job names for compatibility with Gravel Gateway.
  • Allow histogram.startTime() to be used with exemplars.

v15.0.0

Compare Source

Breaking
  • drop support for Node.js versions 10, 12, 14, 17 and 19
Changed
  • Refactor histogram internals and provide a fast path for rendering metrics to Prometheus strings when there are many labels shared across different values.
  • Disable custom content encoding for pushgateway delete requests in order to avoid failures from the server when using Content-Encoding: gzip header.
  • Refactor escapeString helper in lib/registry.js to improve performance and avoid an unnecessarily complex regex.
  • Cleanup code and refactor to be more efficient
  • Correct TS types for working with OpenMetrics
  • Updated Typescript and Readme docs for setToCurrentTime() to reflect units as seconds.
  • Do not ignore error if request to pushgateway fails
  • Make sure to reject the request to pushgateway if it times out
Added
  • Support for OpenMetrics and Exemplars

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports