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
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.0.0.
Release notes
Sourced from prom-client's releases.
... (truncated)
Changelog
Sourced from prom-client's changelog.
Commits
e054f6c
15.0.0938e8af
chore: update changelog for release32690d0
fix: pushgateway reject with timeout (#574)638aa94
chore: drop node 14 (#591)0c5c051
fix: do not ignore error if request fails (#578)07e9a3c
Fixes description for setToCurrentTime to seconds instead of milliseconds (#585)611e228
chore: update dependencies (#573)54238a1
chore: drop node 19 (#572)992d5a2
Fix typescript definitions for using with Registry<OpenMetricsContentType> (#...1df34ed
perf: improve perf by refactoring code to be cleaner and more efficient (#559)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