Skip to content

Graphite

Andrei Montchik edited this page Jul 12, 2024 · 8 revisions

Links

  1. Install Docker
  2. Download the Graphite image to make sure it exists: sudo docker pull graphiteapp/graphite-statsd Technically it is not necessary because running a container will download an image, but better to separate two distinct tasks
  3. Confirm that the image was downloaded: sudo docker images

Run

  1. Startup the Graphite container:
sudo docker run -d\
 --name graphite\
 --restart=always\
 -p 80:80\
 -p 2003-2004:2003-2004\
 -p 2023-2024:2023-2024\
 -p 8125:8125/udp\
 -p 8126:8126\
 graphiteapp/graphite-statsd
  1. Confirm that it started up: sudo docker stats
  2. Run the metrics load: while true; do echo -n "example:$((RANDOM % 100))|c" | nc -w 1 -u 127.0.0.1 8125; done
  3. Check out the Graphite Web: http://192.168.1.136:80

Clone this wiki locally