/docker-grafana-graphite-diamond

Docker image with StatsD, Graphite, Grafana 2, Diamond

Primary LanguageJavaScriptApache License 2.0Apache-2.0

StatsD + Graphite + Grafana + Diamond

This image contains default configuration of StatsD, Graphite and Grafana, and comes with Diamond to collect system metrics.

The container exposes the following ports:

  • 80: the Grafana web interface.
  • 8125: the StatsD port.
  • 8126: the StatsD administrative port.
  • 2003: graphite port for plaintext.
  • 2004: port to Carbon’s pickle receiver.

Using the Docker Index###

This image is published under Suvitruf's repository on the Docker Index and all you need as a prerequisite is having Docker installed on your machine.

Building the image yourself

To build container just run build script.

To start a container with this image you just need to run start script.

Sometimes you need to start init.sh script to dos2unix all bash scripts needed.

For now short server name passing as argument to docker container. You can change it in start script.

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) with enabled proxy option and replace the default Grafana test datasource for your graphs

As default you have one dashboard with some system metrics. You can add new if you want. System metrics

Collect more system metrics with Diamond

You can enable different Handlers and Collectors. By default enabled only: CPUCollector, DiskSpaceCollector, DiskUsageCollector, LoadAverageCollector, MemoryCollector, UptimeCollector.

Edit config file ./diamond/diamond.conf if you need more metrics.

P.S. this container based on kamon docker-grafana-graphite