Skip to content

Instantly share code, notes, and snippets.

@mmb
Last active August 4, 2017 20:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mmb/81bc2493371f52fdfdeb to your computer and use it in GitHub Desktop.
Save mmb/81bc2493371f52fdfdeb to your computer and use it in GitHub Desktop.
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
@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