Last active
August 4, 2017 20:06
-
-
Save mmb/81bc2493371f52fdfdeb to your computer and use it in GitHub Desktop.
graphite/statsd/grafana setup on new Amazon Linux instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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
@januszm well, it says how on line #2