Comparing version 1.1.0 to 1.1.1
@@ -6,2 +6,6 @@ # Changelog | ||
## 1.1.1 | ||
* [MORAY-447](https://smartos.org/bugview/MORAY-447) strange latency data point | ||
in reported moray metrics | ||
## 1.1.0 | ||
@@ -8,0 +12,0 @@ * #5 Implement set() for Gauge collectors |
@@ -59,2 +59,3 @@ /* | ||
var smaller; | ||
var metric; | ||
@@ -113,8 +114,8 @@ // For log-linear bucketing, we will produce five linear steps per log jump. | ||
for (bucket in buckets) { | ||
// In the case of overlapping buckets, we don't want to | ||
// double the value of the bucket. | ||
if (buckets[bucket] !== | ||
counter.metricVec.buckets[smaller]) { | ||
pairCopy['le'] = buckets[bucket]; | ||
counter.add(count, pairCopy); // Set the initial value. | ||
pairCopy['le'] = buckets[bucket]; | ||
metric = counter.labels(pairCopy); | ||
if (metric.value === 0) { | ||
// We don't want to double the value of overlapping | ||
// buckets. | ||
counter.add(count, pairCopy); | ||
} | ||
@@ -121,0 +122,0 @@ } |
{ | ||
"name": "artedi", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "a metric client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/collector.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
43316
1068