Skip to content

Commit

Permalink
Updated to use hot-shots instead of node-statsd.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-j-ackso committed Feb 19, 2019
1 parent ea5115b commit 0d09904
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/appmetrics-statsd.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var monitor = function (host, port, prefix, suffix, globalize, cacheDns, mock, g
var appmetrics = require('appmetrics');
var monitor = appmetrics.monitor();

var StatsD = require('node-statsd');
var StatsD = require('hot-shots');
var client = Object.create(StatsD.prototype);
StatsD.apply(client, arguments);

Expand Down Expand Up @@ -90,4 +90,4 @@ var monitor = function (host, port, prefix, suffix, globalize, cacheDns, mock, g
return client;
};

exports.StatsD = monitor;
exports.StatsD = monitor;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"dependencies": {
"appmetrics": "*",
"node-statsd": "*"
"hot-shots": "*"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 0d09904

Please sign in to comment.