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
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.
[15.0.0] - 2023-10-09
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
You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps prom-client from 14.2.0 to 15.1.0.
Release notes
Sourced from prom-client's releases.
... (truncated)
Changelog
Sourced from prom-client's changelog.
Commits
5adf350
15.1.016b0292
chore: update changelog for release17f49db
chore: run CI on Node 21 (#602)50d49a6
chore: upgrade prettier to v3 (#601)1bc99bd
feat: update type declarations0a77ca1
feat: implement startTimerWithExemplar15767e3
test: add failing test casec171309
src: fix type of collectDefaultMetrics.metricsList2ffd316
pushgateway: adds configuration for omitting job name (for gravel gateway com...efdb283
Improve performance ofhashObject
(#594)You can trigger a rebase of this PR 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 show