Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
graphite/statsd/grafana setup on new Amazon Linux instance
# graphite/statsd/grafana setup on new Amazon Linux instance
# add http://graphite/ to grafana as a data source
sudo su
yum update --assumeyes
yum install --assumeyes docker
service docker start
docker \
run \
--name graphite \
--detach=true \
--publish 8125:8125/udp \
hopsoft/graphite-statsd
docker \
run \
--name grafana \
--detach=true \
--publish 80:3000 \
--link graphite:graphite \
grafana/grafana
# To turn off sending of idle stats in statsd:
# ssh to instance
# sudo su
# docker exec -it graphite bash
# Add "deleteIdleStats": true to /opt/statsd/config.js
# sv restart statsd
@januszm
Copy link

januszm commented Jun 25, 2017

How do you configure graphite data source for Grafana in this setup? I mean when you add new Data Source in Grafana, you have to specify Http settings.

@kaivi
Copy link

kaivi commented Jul 2, 2017

@januszm well, it says how on line #2

@januszm
Copy link

januszm commented Aug 4, 2017

Even with my eyes wide open I can't see a thing

  • Zatôichi

Obviously works fine, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment