kamon-io / docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2 and a Kamon Dashboard
Apache License 2.0
1.14k stars 495 forks source link

Proper way to send data to graphite #36

Open venkateshk opened 9 years ago

venkateshk commented 9 years ago

Hi, I started the container and the dashboard is running on http://192.168.99.100 (port 80).

I am trying to create a new dashboard and feed data to it but getting stuck as I am new to graphite and graphana. Can you please help.

This is what I did so far.

1) Created a new datasource with URL http://localhost:8000 (Type grahite). 2) Created a new dashboard with query metric carbon (is it the correct thing to do ?) 3) Tried posting some data using the below commands but not seeing any data points on the dashboard. echo "test.bash.stats 42 date +%s" | nc 192.168.99.100 8000 echo "test.bash.stats 42 date +%s" | nc 192.168.99.100 8125

Can you please help me with the proper way to setup dashboard and feed data to it.

Thanks in advance.

abarysiuk commented 9 years ago

I have found my metrics under 'stats', e.g. 'stats.counter.my_key'. Try 'echo "foo:1|c" | nc -u -w0 192.168.99.100 8125' and take a look at 'stats.counter.foo.count'.

alex88 commented 8 years ago

If anyone is having trouble feeding data to the dashboard, be sure to use 127.0.0.1 instead of localhost