prom-client
Advanced tools
Comparing version 5.0.2 to 5.0.4
@@ -89,5 +89,6 @@ /** | ||
} | ||
if(value === 0) { | ||
return; | ||
} | ||
that.hashMap = createValue(that.hashMap, value || 1, labels, hash); | ||
@@ -94,0 +95,0 @@ }; |
@@ -10,6 +10,12 @@ 'use strict'; | ||
var isSet = false; | ||
if(process.platform !== 'linux') { | ||
return function() { | ||
}; | ||
} | ||
var fileDescriptorsGauge = new Gauge(PROCESS_MAX_FDS, 'Maximum number of open file descriptors.'); | ||
return function() { | ||
if(isSet || process.platform !== 'linux') { | ||
if(isSet) { | ||
return; | ||
@@ -16,0 +22,0 @@ } |
{ | ||
"name": "prom-client", | ||
"version": "5.0.2", | ||
"version": "5.0.4", | ||
"description": "Client for prometheus", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
55504
1191