Skip to content

classy-org/docker-grafana-graphite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StatsD + Graphite + Grafana 2

This image creates a baseline installation of the StatsD/Graphite/Grafana stack.

This is forked from jlachowski/docker-grafana-graphite with some small modifications to retention settings and installation steps.

Additional information is for this package is available on its Docker hub page.

Using the Docker Index

The original image is published under jlachowski repository on the Docker Index and all you need as a prerequisite is having Docker installed on your machine. The container exposes the following ports:

  • 80: the Grafana web interface.
  • 2003: the Carbon port.
  • 8125: the StatsD port.
  • 8126: the StatsD administrative port.

To start a container with this image you just need to run the following command:

docker run -d -p 80:80 -p 2003:2003 -p 8125:8125/udp -p 8126:8126 --name jlachowski-grafana-dashboard jlachowski/grafana-graphite-statsd

Building this Image

A baseline image will be published to ECS for out-of-box use, but if you want to tinker with settings, simply build image:

docker build -t [tag] .

If you already have services running on your host that are using any of these ports, you may wish to map the container ports to whatever you want by changing left side number in the -p parameters. Find more details about mapping ports in the Docker documentation.

Using the Dashboards

Once your container is running all you need to do is:

  • open your browser pointing to the host/port you just published
  • login with the default username (admin) and password (admin)
  • configure a new datasource to point at the Graphite metric data (URL - http://localhost:8000)
  • then play with the dashboard at your wish...

About

Docker image with StatsD, Graphite, Grafana 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 85.9%
  • JavaScript 14.1%