Giter Club home page Giter Club logo

docker-graphite-grafana's Introduction

Graphite + Carbon + Grafana

An all-in-one image running graphite, carbon-cache and grafana. Version: 0.9.12.

This image contains a sensible default configuration of graphite, carbon-cache and grafana.

Ports

  • 80: graphite web interface
  • 2003: carbon-cache line receiver (the standard graphite protocol)
  • 2004: carbon-cache pickle receiver
  • 3000: grafana dashboard
  • 7002: carbon-cache query port (used by the web interface)

Data volumes

  • Graphite data is stored at /var/lib/graphite/storage/whisper within the container.
  • Graphite configuration files are stored in /var/lib/graphite/conf/.
  • Grafana database is stored at /usr/share/grafana/data.

If you wish to store your metrics outside the container (highly recommended) and save your Grafana dashboard configuration you can use docker's data volumes feature.

Note: It may take around a minute in the first time for grafana to load because of some model migrations and initalizations, please be patient :)

Running the image

Here is an example that stores the data at /var/lib/gmonitor on the host and connects grafana and carbon-cache ports to host:

docker run -v /var/lib/gmonitor/graphite/whisper:/var/lib/graphite/storage/whisper \
           -v /var/lib/gmonitor/graphite/conf:/var/lib/graphite/conf \
           -v /var/lib/gmonitor/grafana/data:/usr/share/grafana/data \
           -p 2003:2003 -p 3000:3000 \
           -d alexmercer/graphite-grafana

You can log into the administrative interface of Grafana with the username admin and password admin. These passwords can be changed through the web interface.

The first thing to do is adding graphite data source in grafana using it's interface. The graphite url is http://localhost:80

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

For more information, see the repository.

docker-graphite-grafana's People

Contributors

m30m avatar nickstenning avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.