types: converted all the generic Metric types to be optional
The done() functions returned by gauge.startTimer() and
summary.startTimer() now return the timed duration. Histograms already had
this behavior.
types: fixed type for registry.getMetricsAsArray()
Improve performance of gague.inc() and gauge.dec() by calling hashObject() once.
Added
The processResources metric was added, which keeps a track of all sorts of
active resources. It consists of the following gauges:
nodejs_active_resources - Number of active resources that are currently
keeping 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 and
processRequests metrics along with information about any other types of
async resources that these metrics do not keep a track of (like timers).
types: converted all the generic Metric types to be optional
The done() functions returned by gauge.startTimer() and
summary.startTimer() now return the timed duration. Histograms already had
this behavior.
types: fixed type for registry.getMetricsAsArray()
Improve performance of gague.inc() and gauge.dec() by calling hashObject() once.
Added
The processResources metric was added, which keeps a track of all sorts of
active resources. It consists of the following gauges:
nodejs_active_resources - Number of active resources that are currently
keeping 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 and
processRequests metrics along with information about any other types of
async resources that these metrics do not keep a track of (like timers).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
Bumps prom-client from 14.0.1 to 14.1.0.
Release notes
Sourced from prom-client's releases.
Changelog
Sourced from prom-client's changelog.
Commits
0cf38e8
14.1.04abe55e
chore: update changelog for release9733ef9
Support gzipped pushgateway requests (#508)9e45dfc
chore: update changelog with 14.0.1 releasee818812
perf: improve performance of gauge inc() dec() (#503)a33d294
feat(types): add default types to metrics types (#505)a6d4700
chore: test on node 18 (#509)721829c
chore(tests): async await instead of setTimeout (#496)98b7ad8
Preserve theprocessRequests
andprocessHandles
metrics8841de4
rm accidentally submitted .default-metrics.js.swp (#489)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)