statful-client
Advanced tools
Comparing version 4.0.1 to 4.0.4
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "4.0.1", | ||
"version": "4.0.4", | ||
"engines": { | ||
@@ -16,0 +16,0 @@ "node": ">=0.8" |
@@ -13,3 +13,3 @@ 'use strict'; | ||
describe('When sending timer metrics', function () { | ||
var udpPort = Math.floor(Math.random() * 10000) + 1000; | ||
@@ -29,3 +29,3 @@ | ||
// When | ||
victim.time('my_metric', 1); | ||
victim.timer('my_metric', 1); | ||
@@ -46,3 +46,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {agg: ['last']}); | ||
victim.timer('my_metric', 1, {agg: ['last']}); | ||
@@ -63,3 +63,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {tags: {cluster: 'test'}}); | ||
victim.timer('my_metric', 1, {tags: {cluster: 'test'}}); | ||
@@ -79,3 +79,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {aggFreq: 100}); | ||
victim.timer('my_metric', 1, {aggFreq: 100}); | ||
@@ -108,3 +108,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1); | ||
victim.timer('my_metric', 1); | ||
@@ -137,3 +137,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {tags: {cluster: 'test'}}); | ||
victim.timer('my_metric', 1, {tags: {cluster: 'test'}}); | ||
@@ -166,3 +166,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1); | ||
victim.timer('my_metric', 1); | ||
@@ -196,3 +196,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1); | ||
victim.timer('my_metric', 1); | ||
@@ -225,3 +225,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {aggFreq: 100}); | ||
victim.timer('my_metric', 1, {aggFreq: 100}); | ||
@@ -249,3 +249,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1, {agg: ['sum']}); | ||
victim.timer('my_metric', 1, {agg: ['sum']}); | ||
@@ -274,3 +274,3 @@ // Then | ||
// When | ||
victim.time('my_metric', 1); | ||
victim.timer('my_metric', 1); | ||
@@ -285,2 +285,2 @@ // Then | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
63247
12
1540
4