Graphite not graphing statsd requests

Asked by Seth

My setup:

Ubuntu 11.04, Nginx (1.010) w/ uwsgi, nodejs (0.6.2), graphite/whisper/carbon 0.9.9

I can run the example_client.py and get results graphed in the graphite dashboard. I installed statsd and begin a tcpdump on port 8125 to watch requests coming in. I start my app which sends requests to port 8125 and see the requests coming in. I go to check the graphite dashboard, however I do not see any new folders created and no metrics being added.

Has anyone run into anything similar to this? Is there anything that I can check to see what might be happening to get more insight.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Seth (seth-mcguinness) said :
#1

Seems that any requests outside of my localhost are not being captured. I took a look at my firewall and I do not have any blocking the 2003 or the 8125 udp ports. Thoughts?

Revision history for this message
chrismd (chrismd) said :
#2

Check the logs in /opt/graphite/storage/logs/carbon*/*.log. It sounds like statsd may not be connecting to carbon, if it is you'll see log messages indicating that.

Revision history for this message
Seth (seth-mcguinness) said :
#3

I checked all the logs in that directory (listener, query, console, creates) and the only one that referenced statsd was the creates which mentioned numStats.wsp. That seems to be the only metric being written when sending a statsd request, however, every value for it is 0. Did not see any error messages in the logs or anything saying it can't connect.

Thanks for the thought, any other ideas based on what I'm seeing?

Revision history for this message
chrismd (chrismd) said :
#4

In that case it sounds like statsd is connecting to graphite and sending metrics just fine, but statsd probably isn't receiving anything from your collection agents. I'd check the statsd logs (and also whatever collection agent you're using's logs).

Can you help with this problem?

Provide an answer of your own, or ask Seth for more information if necessary.

To post a message you must log in.