Running graphite on Docker

Asked by bhas on 2020-05-05

Hello,
I am trying to follow the instructions on the Docker graphite page- https://hub.docker.com/r/graphiteapp/graphite-statsd

It seems to be running and I can send the fake example data and see it on the Graphite Dashboard.
However, thats all I can do.

If I send my own stats like this, I can see this field in the Dashboard-
echo "local.random.ticks 4 `date +%s`" | nc -u 127.0.0.1 2003

But how come there is no /opt/graphite/storage folder.
And very puzzling, maybe because I have not used Docker before, the paths are all relative.
It all seems to be under -
/var/lib/docker/overlay2/88c8c3cd2f2b280d42a5102b46af311de293dbb85ee602b3bf70675ca9dd0f1c/diff/opt/graphite/

The carbon.conf in /var/lib/docker/overlay2/88c8c3cd2f2b280d42a5102b46af311de293dbb85ee602b3bf70675ca9dd0f1c/diff/opt/graphite/conf/

  is identical to https://github.com/graphite-project/carbon/blob/master/conf/carbon.conf.example

What seems to be missing due to which there is no storage folder?

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
bhas
Solved:
2020-05-06
Last query:
2020-05-06
Last reply:
bhas (bpurk) said : #1

Well I asked too soon. I did eventually figure out how to send stats to statsd using python. Then I was able to see the graphs. Things are looking good.

bhas (bpurk) said : #2

Is there a way to turn off statsd and just send it to Carbon?