Merge pull request #10 from sharelatex/csh-remote-statsd-sharelatex

Release v1.8.1
This commit is contained in:
Christopher Hoskin 2018-07-12 11:21:41 +01:00 committed by GitHub
commit 31e97f92d5
2 changed files with 2 additions and 2 deletions

View file

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

View file

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