Skip to content

Instantly share code, notes, and snippets.

@vamsiikrishna
Forked from tristanbes/gist:3918310
Created January 16, 2014 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vamsiikrishna/8451876 to your computer and use it in GitHub Desktop.
Save vamsiikrishna/8451876 to your computer and use it in GitHub Desktop.
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
# Don't forget to go to the location you want to install node in (like cd /home/) before running these commands
git clone https://github.com/joyent/node.git
cd node
git checkout v0.8.12
./configure --openssl-libpath=/usr/lib/ssl
make
make test
sudo make install
node -v
npm -v
cd ..
git clone https://github.com/etsy/statsd
cd statsd
cp exampleConfig.js local.js
# Edit local.js and make it looks like:
{
graphitePort: 2003
, graphiteHost: "localhost"
, port: 8125
}
# Then you need to run stats.d
apt-get install screen
screen node stats.js local.js
# Then press Ctrl + a + d in order to let run stats.js in background mode thanks to screen.
@vamsiikrishna
Copy link
Author

App monitoring Stats.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment