fix(deps): update dependency prom-client to v15 #347
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.2.0→15.1.3Release Notes
siimon/prom-client (prom-client)
v15.1.3Compare Source
Changed
v15.1.2Compare Source
Changed
Registry.PROMETHEUS_CONTENT_TYPEandRegistry.OPENMETRICS_CONTENT_TYPEconstants to the TypeScript typescontentTypetop level exportAdded
bun.jsby catchingNotImplementederror (Fixes #570)v15.1.1Compare Source
Changed
enableExemplarsoption is disabledv15.1.0Compare Source
Changed
osMemoryHeapLinuxhashObjectby using pre-sorted array of label namescollectDefaultMetrics.metricsListAdded
histogram.startTime()to be used with exemplars.v15.0.0Compare Source
Changed
osMemoryHeapLinuxhashObjectby using pre-sorted array of label namescollectDefaultMetrics.metricsListAdded
histogram.startTime()to be used with exemplars.v14.2.0Compare Source
Breaking
Changed
Prometheus strings when there are many labels shared across different values.
avoid failures from the server when using
Content-Encoding: gzipheader.escapeStringhelper inlib/registry.jsto improve performance andavoid an unnecessarily complex regex.
setToCurrentTime()to reflect units as seconds.Added
v14.1.1Compare Source
Changed
getMetricAsPrometheusStringmethod in theRegistryclass to useArray.prototype.joininstead of loop of string concatenations.
Array.prototype.map, and object spread instead of an explicitforloopexample/default-metrics.jssummarymetrics now has apruneAgedBucketsconfig parameterto remove entries without any new values in the last
maxAgeSeconds.Default is
false(old behavior)Added
getmethod to type definitions of metric classesv14.1.0Compare Source
Changed
rollupby making perf_hooks optional in gc.jsv14.0.1Compare Source
Changed
types: converted all the generic Metric types to be optional
The
done()functions returned bygauge.startTimer()andsummary.startTimer()now return the timed duration. Histograms already hadthis behavior.
types: fixed type for
registry.getMetricsAsArray()Improve performance of
gague.inc()andgauge.dec()by callinghashObject()once.Added
The
processResourcesmetric was added, which keeps a track of all sorts ofactive resources. It consists of the following gauges:
nodejs_active_resources- Number of active resources that are currentlykeeping the event loop alive, grouped by async resource type.
nodejs_active_resources_total- Total number of active resources.It is supposed to provide the combined result of the
processHandlesandprocessRequestsmetrics along with information about any other types ofasync resources that these metrics do not keep a track of (like timers).
Support gzipped pushgateway requests
v14.0.0Compare Source
Changed
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 PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.