node-statsd-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "node-statsd-client", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Statsd client for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": ["statsd", "client"], |
@@ -6,3 +6,3 @@ # Node.js Statsd Client | ||
``` bask | ||
``` bash | ||
npm install node-statsd-client | ||
@@ -29,2 +29,5 @@ ``` | ||
client.gauge("gauge_stats", 4); | ||
// Set stat | ||
client.set("set_stats", 3); | ||
``` | ||
@@ -35,2 +38,5 @@ | ||
#### 1.0.4 (2017-10-18) | ||
* Added stats sets support (thanks to [Asuza](https://github.com/Asuza)) | ||
#### 1.0.3 (2015-03-26) | ||
@@ -56,2 +62,3 @@ * Added LICENSE (BSD) | ||
* [Asuza](https://github.com/Asuza) | ||
* [sreuter](https://github.com/sreuter) |
@@ -35,2 +35,6 @@ var dgram = require("dgram"), | ||
Client.prototype.set = function(bucket, value) { | ||
this.send(bucket, value + "|s"); | ||
}; | ||
Client.prototype.send = function(bucket, value) { | ||
@@ -37,0 +41,0 @@ |
3589
36
61