[Snyk] Upgrade prom-client from 12.0.0 to 15.1.3 #7
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.
Snyk has created this PR to upgrade prom-client from 12.0.0 to 15.1.3.
ℹ️ 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.
The recommended version is 15 versions ahead of your current version.
The recommended version was released on 4 months ago.
Release notes
Package name: prom-client
What's Changed
New Contributors
Full Changelog: v15.1.2...v15.1.3
What's Changed
bun.js
by catchingNotImplemented
errorby @ owlcode in #624Registry.PROMETHEUS_CONTENT_TYPE
andRegistry.OPENMETRICS_CONTENT_TYPE
constants to the TypeScript types by @ SimenB in #626contentType
top level export by @ SimenB in #625New Contributors
Full Changelog: v15.1.1...v15.1.2
What's Changed
New Contributors
Full Changelog: v15.1.0...v15.1.1
Changed
osMemoryHeapLinux
hashObject
by using pre-sorted array of label namescollectDefaultMetrics.metricsList
Added
histogram.startTime()
to be used with exemplars.New Contributors
Full Changelog: v15.0.0...v15.1.0
Added
Breaking
Changed
Content-Encoding: gzip
header.escapeString
helper inlib/registry.js
to improve performance and avoid an unnecessarily complex regex.setToCurrentTime()
to reflect units as seconds.New Contributors
Full Changelog: v14.2.0...v15.0.0
What's Changed
Full Changelog: v15.0.0-0...v15.0.0-1
What's Changed
Breaking changes
New Contributors
Full Changelog: v14.2.0...v15.0.0-0
Changed
getMetricAsPrometheusString
method in theRegistry
class to useArray.prototype.join
instead of loop of string concatenations.
Array.prototype.map
, and object spread instead of an explicitfor
loopexample/default-metrics.js
summary
metrics now has apruneAgedBuckets
config parameterto remove entries without any new values in the last
maxAgeSeconds
.Default is
false
(old behavior)Added
get
method to type definitions of metric classesNew Contributors
Full Changelog: v14.1.1...v14.2.0
What's Changed
perf_hooks
accross nodejs versions by @ Fadoli in #515New Contributors
Full Changelog: v14.1.0...v14.1.1
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
processResources
metric 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
processHandles
andprocessRequests
metrics along with information about any other types ofasync resources that these metrics do not keep a track of (like timers).
Support gzipped pushgateway requests
New Contributors
Full Changelog: v14.0.1...v14.1.0
Important
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: