Release v1.8.1
@@ -1,5 +1,5 @@
StatsD = require('lynx')
-statsd = new StatsD('localhost', 8125, {on_error:->})
+statsd = new StatsD(process.env["STATSD_HOST"] or "localhost", 8125, {on_error:->})
name = "unknown"
hostname = require('os').hostname()
@@ -1,6 +1,6 @@
{
"name": "metrics-sharelatex",
- "version": "1.8.0",
+ "version": "1.8.1",
"description": "A drop-in metrics and monitoring module for node.js apps",
"repository": {
"type": "git",