docker-grafana-graphite icon indicating copy to clipboard operation
docker-grafana-graphite copied to clipboard

Cannot see any stats sent to statsd in graphite

Open synic opened this issue 9 years ago • 3 comments

I've started the docker container, and I've tried various methods to send data to statsd, including the following python script:


import statsd
c = statsd.StatsClient('localhost', 8125)
c.incr('local.test', 100)

or the following bash script:

do
  echo -n "example.statsd.counter.changed:$(((RANDOM % 10) + 1))|c" | nc -w 1 -u localhost 8125
done

I get no errors, but no indication that it's actually done anything, and I definitely don't see the example or local folders in the metrics.

What am I doing wrong?

synic avatar Sep 13 '16 03:09 synic

Same here. What do we do ?

unoexperto avatar Oct 29 '16 12:10 unoexperto

Looking at issue #92, have you guys tried sending stats to 127.0.0.1 as opposed to localhost?

mengchengfeng avatar Jan 05 '17 20:01 mengchengfeng

127.0.0.1 worked

vvass avatar Jan 06 '17 17:01 vvass