mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Allow remote statsd to be specified by environment variable
This commit is contained in:
parent
6b31a74abb
commit
06e8450694
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue