Previous: Install Graphite under pyenv virtualenv on Ubuntu
Compared to Graphite, installing StatsD server is just a piece of cake.
1. Install Node.js. For better management on Node.js, you could consider using nvm.
2. Checkout the StatsD project on GitHub.
git clone https://github.com/etsy/statsd.git
3. Copy the exampleConfig.js and name it to whatever you like and edit it as follow.
ex. statsdConfig.js.
{ graphitePort: 2003 , graphiteHost: "<graphite host>" , port: 8125 , backends: [ "./backends/graphite", "./backends/console" ] // console is for debug , debug: true // For debug , graphite: { legacyNamespace: false } // Better group all collected metrics under stats }
Continue reading StatsD – Installation and integration with Graphite