- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
fix(deps): update dependency prom-client to v15 #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
          ⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: 
 The artifact failure details are included below: File name: package-lock.json | 
    
| 
           No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews.  | 
    
          Bug Fixes
 ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR: 
  | 
    
          👋 Hi there!The most important things to improve in the code-diff are: 
 
  | 
    
| 
          
 Package.json: {
  "dependencies": {
    "node-fetch": "^3.0.0",
    "p-iteration": "^1.1.8",
    "probot": "^12.2.8",
-    "prom-client": "^12.0.0",
+    "prom-client": "^15.0.0",
    "redis": "^4.6.7"
  },
  "devDependencies": { | 
    
          Pull Request ReportHey there! 👋 Here's a report for the changes made in this pull request: Changes
 Suggestions to Improve CodeNo suggestions provided. 🤔 BugsNo bugs found. 🐛 ImprovementsNo improvements suggested. 🚀 Refactoring for Better ReadabilityNo code snippets provided for refactoring. 📝 RatingOverall rating for the code: 7/10. Here's a brief explanation of the criteria: 
 That's it for the report! Let me know if you need any further assistance. 😄  | 
    
          Deploying with  
 | 
    
| Latest commit: | 
48b4289
 | 
| Status: | ✅ Deploy successful! | 
| Preview URL: | https://5ea8cdbb.automation-app-bot.pages.dev | 
| Branch Preview URL: | https://renovate-prom-client-15-x.automation-app-bot.pages.dev | 
| 
           Kudos, SonarCloud Quality Gate passed!     
 
  | 
    
          Please add Jira ticket id i.e. "JIRA-ID"Check Fail Adhere to the branch naming convention described here | 
    








This PR contains the following updates:
^12.0.0->^15.0.0Release Notes
siimon/prom-client (prom-client)
v15.0.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.2.0Compare 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.1Compare Source
Changed
rollupby making perf_hooks optional in gc.jsv14.1.0Compare 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.1Compare Source
Changed
v14.0.0Compare Source
Breaking
changed:
linearBucketsdoes not propagate rounding errors anymore.Fewer bucket bounds will be affected by rounding errors. Histogram bucket
labels may change.
6f1f3b2changed: The push gateway methods
pushAdd(),push()anddelete()nowreturn Promises instead of accepting a callback:
f177b1fchanged: The default
nodejs_eventloop_lag_*metrics are now reset every timethey are observed. This prevents these metrics from "stabilizing" over a long
period of time and becoming insensitive to small changes. For more info, see
#370.
0f444cdChanged
await/thens to examples.074f339client.contentType.3b66641c9bf1d8v13.2.0Compare Source
Changed
processif cluster module is not used.Added
zero()toHistogramfor setting the metrics for a given label combination to zeroGauge.inc/dec(0)without defaulting to 1v13.1.0Compare Source
Changed
Added
labels()andremove()v13.0.0Compare Source
Breaking
changed: The following functions are now async (return a promise):
registry.metrics()registry.getMetricsAsJSON()registry.getMetricsAsArray()registry.getSingleMetricAsString()If your metrics server has a line like
res.send(register.metrics()), youshould change it to
res.send(await register.metrics()).Additionally, all metric types now accept an optional
collectfunction,which is called when the metric's value should be collected and within which
you should set the metric's value. You should provide a
collectfunction forpoint-in-time metrics (e.g. current memory usage, as opposed to HTTP request
durations that are continuously logged in a histogram).
changed:
register.clusterMetrics()no longer accepts a callback; it onlyreturns a promise.
removed: v12.0.0 added the undocumented functions
registry.registerCollectorand
registry.collectors(). These have been removed. If you were using them,you should instead provide a
collectfunction as described above.Changed
registry.resetMetrics()(#238)registry.resetMetrics()registry.resetMetrics()registry.getMetricAsPrometheusStringutils.getPropertiesFromObjwithObject.valuescatchbindingsnumberin typescript instead ofvoidAdded
registry.registerCollector()andregistry.collectors()methods in TypeScript declarationexample/pushgateway.jsConfiguration
📅 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.