public
Last active

Statsd error

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
buildstats@buildstats-desktop:~/statsd$ node stats.js config.json
 
/home/buildstats/statsd/config.js:2
"graphitePort": 2003,
^
SyntaxError: Unexpected token :
at Module._compile (node.js:458:37)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/home/buildstats/statsd/stats.js:4:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at Object.runMain (node.js:522:24)
gistfile2.js
JavaScript
1 2 3 4 5
{
"graphitePort": 2003,
"graphiteHost": "localhost",
"port": 8125
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.