jlachowski / docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatsD + Graphite + Grafana 2

This image contains a sensible default configuration of StatsD, Graphite and Grafana. This image is used as a base for dokku graphite-statsd plugin. There are two ways for using this image:

Using the Docker Index

This 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

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.

Building the image yourself

The Dockerfile and supporting configuration files are available in our Github repository. This comes specially handy if you want to change any of the StatsD, Graphite or Grafana settings, or simply if you want to know how tha image was built.

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

License:Apache License 2.0


Languages

Language:Nginx 66.1%Language:Python 29.1%Language:JavaScript 4.8%