Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

artedi

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artedi - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGES.md

@@ -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

13

lib/histogram.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc