I have looked all over for this but have not found anyone talking about how to setup and configure StatsD
and Graphite
to communicate on separate servers. I currently have everything running on one but I have attempted unsuccessfully to separate them.
Here is how I setup the StatsD exampleConfig.js
exampleconfig
{
graphitePort: 2003
, graphiteHost: "(graphite server IP)"
, port: 8125
}
The only other thing I can think to setup on the other box is the example-client.py
.
currently it says this:
CARBON_SERVER = '127.0.0.1'
CARBON_PORT = 2003
I would think it needs to stay local host to communicate with whisper or graphite on the same server. I have my firewall setup to listen for 2003
, and Using a packet dump the server does get the UDP from statsd. It just doesn't seem to get consumed by carbon and graphite.
What am I missing?
Also what is recommended for scaling the statsd graphite setup? I have statsd on its own right now and graphite + carbon + whisper on another server. Does statsd take the most power to run or is it the graphite box? I am wondering this because I will soon be sending millions of bits of data to the servers every day for testing.