Sign inSign up

gschmutz/graphite-grafana

By gschmutz

•Updated almost 11 years ago

Image
0

1.0K

gschmutz/graphite-grafana repository overview

⁠Graphite + Carbon + Statsd + Grafana + Google Auth Proxy

An all-in-one image running graphite and carbon-cache.

This image contains a sensible default configuration of graphite and carbon-cache. Starting this container will, by default, bind the the following host ports:

  • 80: the graphite web interface
  • 81: the grafana web interface
  • 90: the graphite web interface (google auth protected)
  • 91: the grafana web interface (google auth protected)
  • 2003: the carbon-cache line receiver (the standard graphite protocol)
  • 2004: the carbon-cache pickle receiver
  • 7002: the carbon-cache query port (used by the web interface)

You can log into the administrative interface of graphite-web (a Django application) with the username admin and password admin. These passwords can be changed through the web interface.

NB: Please be aware that by default docker will make the exposed ports accessible from anywhere if the host firewall is unconfigured.

⁠Data volumes

Graphite data is stored at /var/lib/graphite/storage/whisper within the container. If you wish to store your metrics outside the container (highly recommended) you can use docker's data volumes feature. For example, to store graphite's metric database at /data/graphite on the host, you could use:

docker run -v /data/graphite:/var/lib/graphite/storage/whisper \
           -d gschmutz/graphite-grafana
⁠Technical details

By default, this instance of carbon-cache uses the following retention periods resulting in whisper files of approximately 2.5MiB.

10s:8d,1m:31d,10m:1y,1h:5y

⁠Getting started

Fill in the blanks in supervisord.conf before building the image, otherwise Google auth will not work. You will need to register an app on google see: https://github.com/bitly/google_auth_proxy⁠ for more details

PR welcome to improve this config.

⁠Based off

https://github.com/SamSaffron/graphite_docker⁠ https://github.com/nickstenning/dockerfiles⁠

Adapted by Guido Schmutz

Tag summary

Content type

Image

Digest

sha256:58b41cecf…

Size

279.1 MB

Last updated

almost 11 years ago

docker pull gschmutz/graphite-grafana