Tutorial related to the installation and configuration of Statsd on an Ubuntu 16.04 virtual machine. Note that these instructions follow the “Install from Source” process from the documentation in order to facilitate the highest level of configurability.
Warning
Note that the resulting Statsd setup from these instructions is NOT for production use. These instructions are for setting up an initial test/dev setup of Statsd to understand how the application functions.
Prerequisites
Assumes the following are already installed/ready for use on a network-accessible Ubuntu instance:
- Graphite (including whisper, carbon-cache, and graphite-web)
Dependencies
Install the required dependencies:
Process
Installation/Configuration
Clone the project into the /opt directory:
Install the required packages:
Edit the configuration file for your environment:
Start the daemon:
Validation
To ensure that the statsd instance is correctly receiving metrics and forwarding to the Graphite instance, send a test metric to the statsd instance:
Credit
Contributions to some of the above were gleaned from: