express-prom-bundle
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "express-prom-bundle", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "express middleware with popular prometheus metrics in one bundle", | ||
@@ -19,3 +19,3 @@ "main": "src/index.js", | ||
"on-finished": "^2.3.0", | ||
"prom-client": "^6.1.2", | ||
"prom-client": "^6.2.0", | ||
"url-value-parser": "^1.0.0" | ||
@@ -22,0 +22,0 @@ }, |
@@ -18,2 +18,8 @@ "use strict"; | ||
const realName = this.makeRealName(name); | ||
const existing = this.promClient.register.getSingleMetric(realName); | ||
if (existing) { | ||
return existing; | ||
} | ||
applyParams[0] = realName; | ||
@@ -20,0 +26,0 @@ applyParams.unshift(null); // add some dummy context for apply |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14498
201
Updatedprom-client@^6.2.0